mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 20:17:09 +00:00
ci(browser): pin stable Chrome for the driver tests
setup-chrome's default latest pulled a dev Chromium (150) whose remote debugging socket never came up under chromedp, while plain --dump-dom worked. Pin the stable channel, which the driver is tested against.
This commit is contained in:
1 parent
96097fb6ea
commit
1ecfc97266
1 file changed
+5
@@ -95,8 +95,13 @@ jobs:
|
|||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
|
# Pin stable: the action's default (latest) pulls a dev Chromium whose
|
||||||
|
# remote-debugging socket is flaky under the driver, even though the
|
||||||
|
# browser otherwise launches headless.
|
||||||
- name: Set up Chrome
|
- name: Set up Chrome
|
||||||
uses: browser-actions/setup-chrome@v1
|
uses: browser-actions/setup-chrome@v1
|
||||||
|
with:
|
||||||
|
chrome-version: stable
|
||||||
|
|
||||||
# Ubuntu 24.04 (current ubuntu-latest) restricts unprivileged user
|
# Ubuntu 24.04 (current ubuntu-latest) restricts unprivileged user
|
||||||
# namespaces via AppArmor, which stops headless Chrome from starting even
|
# namespaces via AppArmor, which stops headless Chrome from starting even
|
||||||
|
|||||||
Reference in new issue
Block a user