Skip to content

Commit fff4c35

Browse files
authored
Merge pull request #6 from Lemoncode/feature/#5-e2e-specs
Feature/#5 e2e specs
2 parents 2fa2c0f + 3833e91 commit fff4c35

40 files changed

+908
-100
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55

66
jobs:
7-
ci:
7+
unit-tests:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout Repository
@@ -20,3 +20,22 @@ jobs:
2020

2121
- name: Tests
2222
run: npm test
23+
e2e-tests:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout Repository
27+
uses: actions/checkout@v3
28+
29+
- name: Add NPM registry
30+
uses: actions/setup-node@v3
31+
with:
32+
node-version: 18.x
33+
34+
- name: Install
35+
run: npm ci
36+
37+
- name: Install playwright browsers
38+
run: npx playwright install --with-deps
39+
40+
- name: Tests
41+
run: npm run test:e2e

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ yarn-error.log*
3434
.turbo
3535

3636
stats.html
37+
test-results/
38+
playwright-report/
39+
playwright/.cache/

0 commit comments

Comments
 (0)