From 76777188b4f0f28d2b3ad7388948742374a25d17 Mon Sep 17 00:00:00 2001 From: Randell Date: Mon, 15 Apr 2024 21:34:07 -0600 Subject: [PATCH] Instal deps for playwight --- e2e/e2e_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/e2e/e2e_test.go b/e2e/e2e_test.go index eacd422..8db1808 100644 --- a/e2e/e2e_test.go +++ b/e2e/e2e_test.go @@ -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)