From df52bbe9e3df4a2ca3b617ec060eb3ad838c7e4e Mon Sep 17 00:00:00 2001 From: Dariusz Majcherczyk Date: Mon, 13 Feb 2023 11:43:05 +0100 Subject: [PATCH] chore: fixed copy prompt alert for chrome --- apps/trading-e2e/src/integration/market-info.cy.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/trading-e2e/src/integration/market-info.cy.ts b/apps/trading-e2e/src/integration/market-info.cy.ts index eed729f2c..87d6ae272 100644 --- a/apps/trading-e2e/src/integration/market-info.cy.ts +++ b/apps/trading-e2e/src/integration/market-info.cy.ts @@ -72,6 +72,9 @@ describe('market info is displayed', { tags: '@smoke' }, () => { it('settlement asset displayed', () => { cy.getByTestId(marketTitle).contains('Settlement asset').click(); + cy.window().then(win => { + cy.stub(win, 'prompt').returns('DISABLED WINDOW PROMPT'); + }); validateMarketDataRow(0, 'ID', 'asset-id'); validateMarketDataRow(1, 'Type', 'ERC20'); validateMarketDataRow(2, 'Name', 'Euro');