initial
This commit is contained in:
16
e2e/home_test.go
Normal file
16
e2e/home_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
//go:build e2e
|
||||
|
||||
package e2e_test
|
||||
|
||||
import (
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestHome(t *testing.T) {
|
||||
beforeEach(t)
|
||||
_, err := page.Goto(getFullPath(""))
|
||||
require.NoError(t, err)
|
||||
|
||||
require.NoError(t, expect.Locator(page.GetByText("Welcome!")).ToBeVisible())
|
||||
}
|
Reference in New Issue
Block a user