diff --git a/packages/e2e-tests/playwright.config.ts b/packages/e2e-tests/playwright.config.ts index 1f4c9670..2ac8169d 100644 --- a/packages/e2e-tests/playwright.config.ts +++ b/packages/e2e-tests/playwright.config.ts @@ -12,11 +12,13 @@ const config: PlaywrightTestConfig = defineConfig({ expect: { timeout: 5000, }, - reporter: [ - ['list', { printSteps: true }], - ['html', { outputFolder: join(__dirname, './playwright-html/hard/') }], - ['github'], - ], + reporter: process.env.CI + ? [['list', { printSteps: true }]] + : [ + ['list', { printSteps: true }], + ['html', { outputFolder: join(__dirname, './playwright-html/hard/') }], + ['github'], + ], // Fail the build on CI if left test.only in the source code forbidOnly: !!process.env.CI, retries: 0, diff --git a/packages/e2e-tests/tests/hard/bridge/Bridge.test.ts b/packages/e2e-tests/tests/hard/bridge/Bridge.test.ts index 50dd918e..e05afa1e 100644 --- a/packages/e2e-tests/tests/hard/bridge/Bridge.test.ts +++ b/packages/e2e-tests/tests/hard/bridge/Bridge.test.ts @@ -142,6 +142,7 @@ test.describe('Bridge', () => { }); await test.step('Fill data and click on deposit', async () => { + console.log('asd 71'); await hasDropdownSymbol(page, 'ETH'); const depositInput = page.locator('.fuel-InputAmountField input'); await depositInput.fill(DEPOSIT_AMOUNT); @@ -150,12 +151,14 @@ test.describe('Bridge', () => { }); await test.step('Approve transaction on Metamask', async () => { + console.log('asd 72'); // Timeout needed until https://github.com/Synthetixio/synpress/issues/795 is fixed await page.waitForTimeout(2000); await metamask.confirmTransaction(); }); await test.step('Check if deposit is completed', async () => { + console.log('asd 73'); await page.locator(':nth-match(:text("Done"), 1)').waitFor(); await page.locator(':nth-match(:text("Done"), 3)').waitFor(); @@ -180,6 +183,7 @@ test.describe('Bridge', () => { }); await test.step('Check deposit tx in the Tx list', async () => { + console.log('asd 74'); await closeTransactionPopup(page); const postDepositBalanceFuel = await fuelWallet.getBalance(baseAssetId);