From 846937a93dd5eeecbda0951b6f6e3b176defc9d5 Mon Sep 17 00:00:00 2001 From: Martin Vere Cihlar Date: Thu, 12 Dec 2024 09:22:41 +0100 Subject: [PATCH] fix(e2e): Resolve two notification problem --- .../e2e/support/pageActions/settingsActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/suite-desktop-core/e2e/support/pageActions/settingsActions.ts b/packages/suite-desktop-core/e2e/support/pageActions/settingsActions.ts index 4433dff25c9..efce871b7e1 100644 --- a/packages/suite-desktop-core/e2e/support/pageActions/settingsActions.ts +++ b/packages/suite-desktop-core/e2e/support/pageActions/settingsActions.ts @@ -100,7 +100,7 @@ export class SettingsActions { this.homescreenGalleryButton = this.window.getByTestId( '@settings/device/homescreen-gallery', ); - this.notificationSuccessToast = this.window.getByTestId('@toast/settings-applied'); + this.notificationSuccessToast = this.window.getByTestId('@toast/settings-applied').first(); this.coinBackendSelector = this.window.getByTestId('@settings/advance/select-type/input'); this.coinAddressInput = this.window.getByTestId('@settings/advance/url'); this.coinAdvanceSettingSaveButton = this.window.getByTestId(