👷 e2e: Add deploysentinel & github log

This commit is contained in:
Gina Häußge committed 2023-02-01 11:20:51 +01:00
1 parent ac9e2b19cb
commit dce7a330d7
5 files changed
+1015 -2

No files matched your search

+4 -1
View File
@@ -165,7 +165,10 @@ jobs:
- name: 🚀 Run Playwright
working-directory: ./tests/playwright
run: |
OCTOPRINT_SERVER_BASE=${{ github.workspace }}/e2econfig npx playwright test
npx playwright test
env:
OCTOPRINT_SERVER_BASE: ${{ github.workspace }}/e2econfig
DEPLOYSENTINEL_API_KEY: ${{ secrets.DEPLOYSENTINEL_APIKEY }}
- name: ⬆ Upload report
uses: actions/upload-artifact@v3
+1
View File
@@ -73,3 +73,4 @@ repos:
rev: v2.1.0
hooks:
- id: codespell
exclude: ^(src/octoprint/vendor/|tests/static/js/lib|tests/util/_files|tests/playwright|scripts/)
+1003
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -8,6 +8,7 @@
"author": "Gina Häußge",
"license": "MIT",
"devDependencies": {
"@deploysentinel/playwright": "^0.2.5",
"@playwright/test": "^1.30.0"
}
}
+6 -1
View File
@@ -14,7 +14,12 @@ const config = {
max: 30_000,
threshold: 50_000
},
reporter: "html",
reporter: [
["list"],
["html"],
...(process.env.CI ? [["@deploysentinel/playwright"]] : []),
...(process.env.CI ? [["github"]] : [])
],
use: {
actionTimeout: 0,
baseURL: process.env.PLAYWRIGHT_BASEURL || "http://localhost:5000",