mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-01 00:23:57 +00:00
screenshots fix
This commit is contained in:
2
.github/workflows/run-tests-pro.yaml
vendored
2
.github/workflows/run-tests-pro.yaml
vendored
@@ -61,7 +61,7 @@ jobs:
|
|||||||
- name: Copy screenshots
|
- name: Copy screenshots
|
||||||
run: |
|
run: |
|
||||||
mkdir screenshots
|
mkdir screenshots
|
||||||
cp ../dbgate-merged/e2e-tests/cypress/screenshots/*.png screenshots/
|
cp ../dbgate-merged/e2e-tests/cypress/screenshots/**/*.png screenshots/
|
||||||
- name: Upload E2E screenshots
|
- name: Upload E2E screenshots
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ const { exec } = require('child_process');
|
|||||||
|
|
||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
e2e: {
|
e2e: {
|
||||||
|
trashAssetsBeforeRuns: false,
|
||||||
|
|
||||||
setupNodeEvents(on, config) {
|
setupNodeEvents(on, config) {
|
||||||
// implement node event listeners here
|
// implement node event listeners here
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
- name: Copy screenshots
|
- name: Copy screenshots
|
||||||
run: |
|
run: |
|
||||||
mkdir screenshots
|
mkdir screenshots
|
||||||
cp ../dbgate-merged/e2e-tests/cypress/screenshots/*.png screenshots/
|
cp ../dbgate-merged/e2e-tests/cypress/screenshots/**/*.png screenshots/
|
||||||
|
|
||||||
- name: Upload E2E screenshots
|
- name: Upload E2E screenshots
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user