diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-27 15:06:09 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-27 15:06:09 -0600 |
| commit | f6fb753b95284a34021ea6fa62981f8dc846a33d (patch) | |
| tree | 04f152bc53629c7dd3f3e57918e7776e1bf17199 | |
| parent | f4678f4c08f7439363b4d7f842de0a3dd4520352 (diff) | |
chore: switch to firefox
| -rw-r--r-- | .gitlab-ci.yml | 2 | ||||
| -rw-r--r-- | test/e2e_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 544b5b4..857ee0e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ test: image: debian:bookworm script: - apt-get update -y - - apt-get install -y build-essential chromium curl libffi-dev zlib1g-dev libyaml-dev + - apt-get install -y build-essential chromium firefox-esr curl libffi-dev zlib1g-dev libyaml-dev - curl https://mise.run | sh - ~/.local/bin/mise install - echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc diff --git a/test/e2e_test.go b/test/e2e_test.go index 218b395..3a02bd2 100644 --- a/test/e2e_test.go +++ b/test/e2e_test.go @@ -23,7 +23,7 @@ func TestAuthx(t *testing.T) { _ = playwright.Install() pw := x.Must(playwright.Run()) - browser := x.Must(pw.Chromium.Launch(playwright.BrowserTypeLaunchOptions{ + browser := x.Must(pw.Firefox.Launch(playwright.BrowserTypeLaunchOptions{ Headless: playwright.Bool(env.Fetch("HEADLESS", "true") == "true"), SlowMo: playwright.Float(1000), })) |
