fix(e2e): Fixed issues from nightly tests

This commit is contained in:
Ondrej Hajek
2026-02-17 08:27:32 +01:00
committed by Ondřej Hájek
parent 1754ede5c3
commit d59774ba3c
3 changed files with 2 additions and 4 deletions

View File

@@ -33,7 +33,6 @@ export class TradingPage {
readonly swapBestOfferButton: Locator;
readonly buyOffersPage: Locator;
readonly proceedToPayButton: Locator;
readonly findAccountButton: Locator;
readonly backToAccountButton = (type: 'Buy' | 'Sell' | 'Swap') =>
this.page.getByRole('button', { name: `Make another ${type}` });
@@ -66,7 +65,6 @@ export class TradingPage {
this.swapBestOfferButton = this.page.getByTestId('@trading/form/exchange-button');
this.buyOffersPage = this.page.getByTestId('@trading/buy-offers');
this.proceedToPayButton = this.page.getByRole('button', { name: 'Proceed to pay' });
this.findAccountButton = this.page.getByTestId('@find-account');
// Swap
this.sendAddressInput = this.page.getByTestId('outputs.0.address');

View File

@@ -34,7 +34,7 @@ test.describe(
await onboardingPage.disableNecessaryFirmwareChecks();
await page.locator('[data-testid="@analytics/toggle-switch"]').click();
await page.locator('[data-testid="@analytics/continue-button"]').click();
await page.locator('[data-testid="@onboarding/complete-onboarding"]').click();
await page.locator('[data-test="@onboarding/exit-app-button"]').click();
await expect(page.locator('[data-testid="@suite/loading"]')).toBeHidden();
});

View File

@@ -27,7 +27,7 @@ test.describe('Global receive and send', { tag: ['@T3T1', '@T3W1'] }, () => {
});
await test.step('Filter and select account', async () => {
await tradingPage.findAccountButton.click();
await tradingPage.receiveAccount.findAccountButton.click();
await page.getByText('All networks').click();
await page
.getByTestId('undefined/select-option/eth')