mirror of https://github.com/authelia/authelia.git
15 lines
301 B
Go
15 lines
301 B
Go
package suites
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/go-rod/rod"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func (rs *RodSession) verifyNotificationDisplayed(t *testing.T, page *rod.Page, message string) {
|
|
el, err := page.ElementR(".notification", message)
|
|
assert.NoError(t, err)
|
|
assert.NotNil(t, el)
|
|
}
|