diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 291ee56d..5b1373e5 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -92,6 +92,8 @@ jobs: - name: Run E2E Tests run: xvfb-run --auto-servernum -- pnpm test:e2e-soft + env: + PLAYWRIGHT_JSON_OUTPUT_NAME: playwright-report/results.json - uses: actions/upload-artifact@v4 if: always() diff --git a/packages/e2e-tests/playwright.config.ts b/packages/e2e-tests/playwright.config.ts index d2dae8e7..1f4c9670 100644 --- a/packages/e2e-tests/playwright.config.ts +++ b/packages/e2e-tests/playwright.config.ts @@ -15,6 +15,7 @@ const config: PlaywrightTestConfig = defineConfig({ reporter: [ ['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, diff --git a/packages/e2e-tests/tests/hard/bridge/utils/wallets.ts b/packages/e2e-tests/tests/hard/bridge/utils/wallets.ts index 0b42a999..48b9e1cd 100644 --- a/packages/e2e-tests/tests/hard/bridge/utils/wallets.ts +++ b/packages/e2e-tests/tests/hard/bridge/utils/wallets.ts @@ -27,10 +27,8 @@ export const setupFuelWallet = async ({ context, extensionId, }: { page: Page; context: BrowserContext; extensionId: string }) => { - console.log('asd 11'); const fuelProvider = await Provider.create(PROVIDER_URL); const chainName = (await fuelProvider.fetchChain()).name; - console.log('asd 12'); const fuelWalletTestHelper = await FuelWalletTestHelper.walletSetup( context, @@ -38,21 +36,17 @@ export const setupFuelWallet = async ({ PROVIDER_URL, chainName, ); - console.log('asd 13'); await fuelWalletTestHelper.addAccount(); await fuelWalletTestHelper.addAccount(); await fuelWalletTestHelper.addAccount(); - console.log('asd 14'); await fuelWalletTestHelper.switchAccount('Account 1'); const account = mnemonicToAccount(ETH_MNEMONIC); - console.log('asd 15'); const fuelWallet = Wallet.fromMnemonic( FUEL_MNEMONIC, undefined, undefined, fuelProvider, ); - console.log('asd 16'); return { fuelWallet, fuelWalletTestHelper, account }; };