From 94cd55f0cdd71ca7e86512bf5d2ae0be47a95a30 Mon Sep 17 00:00:00 2001 From: Jakub Ondracek Date: Wed, 15 May 2024 16:13:20 +0200 Subject: [PATCH] test: adding manual screenshots --- .github/workflows/test-suite-desktop-e2e.yml | 10 ++++++---- .../e2e/support/pageActions/dashboardActions.ts | 4 ++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-suite-desktop-e2e.yml b/.github/workflows/test-suite-desktop-e2e.yml index f18e7539369a..d588c81e6bcf 100644 --- a/.github/workflows/test-suite-desktop-e2e.yml +++ b/.github/workflows/test-suite-desktop-e2e.yml @@ -26,14 +26,16 @@ jobs: fail-fast: false matrix: include: - - TEST_FILE: "spawn-bridge" - CONTAINERS: "trezor-user-env-unix" + # - TEST_FILE: "spawn-bridge" + # CONTAINERS: "trezor-user-env-unix" - TEST_FILE: "suite-guide" CONTAINERS: "trezor-user-env-unix" - TEST_FILE: "wallet-discovery" CONTAINERS: "trezor-user-env-unix" - - TEST_FILE: "electrum" - CONTAINERS: "trezor-user-env-unix electrum-regtest" + - TEST_FILE: "eap-modal" + CONTAINERS: "trezor-user-env-unix" + # - TEST_FILE: "electrum" + # CONTAINERS: "trezor-user-env-unix electrum-regtest" # commented out. coinjoin test is not adapted to current state of this feature # - TEST_FILE: ["coinjoin"] # CONTAINERS: "trezor-user-env-unix coinjoin-backend" diff --git a/packages/suite-desktop-core/e2e/support/pageActions/dashboardActions.ts b/packages/suite-desktop-core/e2e/support/pageActions/dashboardActions.ts index 94b7000780d2..8d3a89c83d1b 100644 --- a/packages/suite-desktop-core/e2e/support/pageActions/dashboardActions.ts +++ b/packages/suite-desktop-core/e2e/support/pageActions/dashboardActions.ts @@ -6,6 +6,10 @@ import { waitForDataTestSelector } from '../common'; class DashboardActions { async passThroughInitialRun(window: Page) { + await window.screenshot({ + path: './test-results/zacatek-initial-runu.png', + fullPage: true, + }); await waitForDataTestSelector(window, '@welcome/title'); await window.getByTestId('@analytics/continue-button').click(); await window.getByTestId('@onboarding/exit-app-button').click();