👷 e2e: Add deploysentinel & github log
This commit is contained in:
1 parent
ac9e2b19cb
commit
dce7a330d7
5 files changed
+1015
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -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/)
|
||||
Generated
+1003
File diff suppressed because it is too large.
Load diff
@@ -8,6 +8,7 @@
|
||||
"author": "Gina Häußge",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@deploysentinel/playwright": "^0.2.5",
|
||||
"@playwright/test": "^1.30.0"
|
||||
}
|
||||
}
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user