e2e fixes

pull/1792/head
zomars 2022-02-10 11:51:25 -07:00 committed by Omar López
parent c711c80b8d
commit 5d6f94fce7
4 changed files with 8 additions and 1 deletions

View File

@ -87,7 +87,7 @@ jobs:
- name: Install playwright deps - name: Install playwright deps
if: steps.playwright-cache.outputs.cache-hit != 'true' if: steps.playwright-cache.outputs.cache-hit != 'true'
run: yarn playwright install --with-deps run: yarn playwright install --with-deps
- run: yarn playwright test - run: yarn playwright test -c apps/web/playwright.config.ts
- name: Upload videos - name: Upload videos
if: ${{ always() }} if: ${{ always() }}

5
.gitignore vendored
View File

@ -10,6 +10,11 @@ node_modules
# testing # testing
coverage coverage
playwright/videos
playwright/screenshots
playwright/artifacts
playwright/results
playwright/reports/*
# next.js # next.js
.next/ .next/

View File

@ -15,6 +15,7 @@
"format": "prettier --write \"**/*.{ts,tsx,md}\"", "format": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint": "turbo run lint", "lint": "turbo run lint",
"prepare": "husky install", "prepare": "husky install",
"start": "turbo run start",
"test": "turbo run test", "test": "turbo run test",
"type-check": "turbo run type-check" "type-check": "turbo run type-check"
}, },

View File

@ -25,6 +25,7 @@
"lint": { "lint": {
"outputs": [] "outputs": []
}, },
"start": {},
"test": { "test": {
"dependsOn": ["@calcom/calendso#build", "@calcom/calendso#db-seed"] "dependsOn": ["@calcom/calendso#build", "@calcom/calendso#db-seed"]
}, },