e2e tests (#17)
* Setup playwright for e2e tests Fixes #12 * Chromium * First working test, clean up * Merge actions * New headless mode * Clean up, bugfix * Bug fixes, cleaner sendMessage code * Rebase * Rebase * Load tokens and open public page * Test CI * Working test * Lint * Try to address flakyness * Clean up test * Comment * No export * More clean up * More clean up * Adds authorized pop up test * Adds comment * Add snapshots * New linux screenshots
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -24,6 +24,14 @@ jobs:
|
||||
|
||||
- run: yarn test
|
||||
|
||||
- name: Run playwright e2e tests
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GLOBAL_PAT}}
|
||||
KITTYCAD_TOKEN: ${{secrets.KITTYCAD_TOKEN}}
|
||||
run: |
|
||||
yarn playwright install chromium --with-deps
|
||||
yarn playwright test
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: build
|
||||
|
||||
Reference in New Issue
Block a user