Skip to content

Commit

Permalink
Instal deps for playwight
Browse files Browse the repository at this point in the history
  • Loading branch information
Piszmog committed Apr 16, 2024
1 parent 2961d5e commit 7677718
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ func TestMain(m *testing.M) {
// - launch browser depends on BROWSER env
// - init web-first assertions, alias as `expect`
func beforeAll() {
var err error
err := playwright.Install()
if err != nil {
log.Fatalf("could not install Playwright: %v", err)
}

pw, err = playwright.Run()
if err != nil {
log.Fatalf("could not start Playwright: %v", err)
Expand Down

0 comments on commit 7677718

Please sign in to comment.