go-browser-tests
Installation
SKILL.md
Rules
Location
- Directory:
test/e2e/browser/ - Package:
package browser_test - Build Tags: DO NOT USE
Test Structure
func TestFrontend_Login(t *testing.T) {
if testing.Short() {
t.Skip("Skipping browser tests in short mode")
}
// given
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()