summaryrefslogtreecommitdiff
path: root/internal/suites/verify_is_first_factor_page.go
blob: e75befc2532f42f9bd9dd9b2f0765704e15c8e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package suites

import (
	"testing"
	"time"

	"github.com/go-rod/rod"
	"github.com/stretchr/testify/require"
)

func (rs *RodSession) verifyIsFirstFactorPage(t *testing.T, page *rod.Page) {
	require.NoError(t, page.WaitStable(time.Millisecond*50))

	rs.WaitElementLocatedByID(t, page, "first-factor-stage")
}