authelia/internal/suites/verify_body_contains.go

9 lines
232 B
Go

package suites
import "context"
func verifyBodyContains(ctx context.Context, s *SeleniumSuite, pattern string) {
bodyElement := WaitElementLocatedByTagName(ctx, s, "body")
WaitElementTextContains(ctx, s, bodyElement, pattern)
}