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

import (
	"fmt"
	"testing"

	"github.com/go-rod/rod"
)

func (rs *RodSession) verifyIsHome(t *testing.T, page *rod.Page) {
	page.MustElementR("h1", "Access the secret")
	rs.verifyURLIs(t, page, fmt.Sprintf("%s/", HomeBaseURL))
}