chore: fixed copy prompt alert for chrome

This commit is contained in:
Dariusz Majcherczyk
2023-02-13 11:43:05 +01:00
parent a25e2ad101
commit df52bbe9e3
@@ -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');