Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Caroster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Public
Caroster
Merge requests
!352
test:
Add UI tests with Playwright
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
test:
Add UI tests with Playwright
add-playwright
into
main
Overview
0
Commits
4
Pipelines
0
Changes
15
Open
Tim Izzo
requested to merge
add-playwright
into
main
8 months ago
Overview
0
Commits
4
Pipelines
0
Changes
15
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
501f6111
4 commits,
8 months ago
15 files
+
346
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
15
Search (e.g. *.vue) (Ctrl+P)
.github/workflows/playwright.yml
0 → 100644
+
41
−
0
Options
name
:
Playwright Tests
on
:
push
:
branches
:
[
main
,
master
]
pull_request
:
branches
:
[
main
,
master
]
jobs
:
test
:
timeout-minutes
:
60
runs-on
:
ubuntu-latest
services
:
strapi
:
image
:
octree/caroster
ports
:
-
1337:1337
env
:
NODE_ENV
:
test
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/setup-node@v3
with
:
node-version
:
18
-
name
:
Install dependencies
run
:
yarn
working-directory
:
frontend
-
name
:
Install Playwright Browsers
run
:
yarn playwright install --with-deps
working-directory
:
frontend
-
name
:
Wait for Strapi to be ready
uses
:
jakejarvis/wait-action@master
with
:
time
:
'
30s'
-
name
:
Run Playwright tests
run
:
yarn playwright test
working-directory
:
frontend
-
uses
:
actions/upload-artifact@v3
if
:
always()
with
:
name
:
playwright-report
path
:
frontend/playwright-report/
retention-days
:
30
Loading