mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
0f7da4fd90
This change fixes an issue that was incorrectly marking the primary load balancer target for the front end in dev mode as down.
15 lines
287 B
Go
15 lines
287 B
Go
package suites
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/go-rod/rod"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func (rs *RodSession) verifyBodyContains(t *testing.T, page *rod.Page, pattern string) {
|
|
body, err := page.ElementR("body", pattern)
|
|
assert.NoError(t, err)
|
|
assert.NotNil(t, body)
|
|
}
|