Replace selenium-webdriver with playwright (#34867)

This commit is contained in:
Matt Jankowski 2025-06-10 12:33:46 -04:00 committed by GitHub
parent b8cc9b3290
commit 629bb74451
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 45 additions and 43 deletions

View file

@ -332,6 +332,21 @@ jobs:
- name: Load database schema
run: './bin/rails db:create db:schema:load db:seed'
- name: Cache Playwright Chromium browser
id: playwright-cache
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-browsers-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install Playwright Chromium browser (with deps)
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: yarn run playwright install --with-deps chromium
- name: Install Playwright Chromium browser deps
if: steps.playwright-cache.outputs.cache-hit == 'true'
run: yarn run playwright install-deps chromium
- run: bin/rspec spec/system --tag streaming --tag js
- name: Archive logs