From 530939d133d458a906e204503291380184baf6de Mon Sep 17 00:00:00 2001 From: dated Date: Thu, 27 Aug 2020 10:59:29 +0200 Subject: [PATCH 1/2] ci: screenshots path --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f27134e27a..7d79f29843 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -98,4 +98,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: screenshots - path: /home/runner/work/desktop-wallet/desktop-wallet/screenshots/ + path: screenshots/**/*.png From aecf8d5eeb92030159b216d140410616b41ba081 Mon Sep 17 00:00:00 2001 From: dated Date: Thu, 27 Aug 2020 11:48:24 +0200 Subject: [PATCH 2/2] wip --- .testcaferc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.testcaferc.json b/.testcaferc.json index 6a04b2f888..2a4dd740b3 100644 --- a/.testcaferc.json +++ b/.testcaferc.json @@ -2,7 +2,8 @@ "browsers": "electron:", "src": "./src/domains/**/e2e/*.e2e.ts", "screenshots": { - "takeOnFails": true + "takeOnFails": true, + "path": "./screenshots" }, "selectorTimeout": 15000, "assertionTimeout": 15000