From 111dbd8a9936c31f0fa24ab806e1e9cd5596ccf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojtek=20K=C5=82os?= <114915819+wklos-iohk@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:13:36 +0100 Subject: [PATCH] test(extension): fix unstable tests (#1568) --- packages/e2e-tests/src/data/EducationalArticles.ts | 3 ++- packages/e2e-tests/src/features/AddNewWalletRestore.feature | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/e2e-tests/src/data/EducationalArticles.ts b/packages/e2e-tests/src/data/EducationalArticles.ts index ff0bf74139..ef06391c8b 100644 --- a/packages/e2e-tests/src/data/EducationalArticles.ts +++ b/packages/e2e-tests/src/data/EducationalArticles.ts @@ -1,3 +1,4 @@ +// noinspection JSNonASCIINames export const faqArticles: Record> = { 'How many stake pools can I delegate stake to, using the multi-staking or multi-delegation feature?': { question: 'how-many-stake-pools-can-i-delegate-stake-to-using-the-multi-staking-or-multi-delegation-feature', @@ -43,7 +44,7 @@ export const faqArticles: Record> = { question: 'what-type-of-governance-actions-are-supported-by-lace', title: 'What type of governance actions are supported by Lace?' }, - 'Best practices for using the "copy to clipboard" and "paste from clipboard" recovery phrase features': { + 'Best practices for using the “copy to clipboard” and “paste from clipboard” recovery phrase features': { question: 'best-practices-for-using-the-copy-to-clipboard-paste-from-clipboard-recovery-phrase-features', title: 'Best practices for using the “copy to clipboard” and “paste from clipboard” recovery phrase features' } diff --git a/packages/e2e-tests/src/features/AddNewWalletRestore.feature b/packages/e2e-tests/src/features/AddNewWalletRestore.feature index 13112842f6..cda2af64ed 100644 --- a/packages/e2e-tests/src/features/AddNewWalletRestore.feature +++ b/packages/e2e-tests/src/features/AddNewWalletRestore.feature @@ -123,8 +123,8 @@ Feature: Add new wallet - Restore wallet When I enter wallet name: "ValidName", password: "N_8J@bne87A" and password confirmation: "N_8J@bne87A" Then "Enter wallet" button is enabled When I click "Enter wallet" button - Then I see LW homepage And I wait for main loader to disappear + Then I see LW homepage And "ValidName" is displayed as a wallet name on the menu button When I click the menu button Then Wallet number 2 with "ValidName" name is displayed on the user menu