mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
15 lines
338 B
Go
15 lines
338 B
Go
package suites
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func (wds *WebDriverSession) verifyNotificationDisplayed(ctx context.Context, t *testing.T, message string) {
|
|
el := wds.WaitElementLocatedByClassName(ctx, t, "notification")
|
|
assert.NotNil(t, el)
|
|
wds.WaitElementTextContains(ctx, t, el, message)
|
|
}
|