diff --git a/packages/insomnia-smoke-test/playwright/pages/preferences/data-tab.ts b/packages/insomnia-smoke-test/playwright/pages/preferences/data-tab.ts index d800c9ca00..8ad498c9c5 100644 --- a/packages/insomnia-smoke-test/playwright/pages/preferences/data-tab.ts +++ b/packages/insomnia-smoke-test/playwright/pages/preferences/data-tab.ts @@ -31,7 +31,7 @@ export class PreferencesDataTab extends BasePage { * Clicks the "Export project" button. */ async exportProjectData(dirPath: string, format: 'yaml' | 'har'): Promise { - await this.page.getByTestId('export-project-button').click(); + await this.page.getByTestId('export-project-button').click({ timeout: 90_000 }); if (format === 'yaml') { await mockOpenDialogForDirectory(this.app, dirPath); } else if (format === 'har') { @@ -45,7 +45,7 @@ export class PreferencesDataTab extends BasePage { */ async exportAllData(dirPath: string): Promise { await mockOpenDialogForDirectory(this.app, dirPath); - await this.page.getByRole('button', { name: /Export all data/ }).click(); + await this.page.getByRole('button', { name: /Export all data/ }).click({ timeout: 90_000 }); await this.waitForExportCompleteAlert(); } diff --git a/packages/insomnia-smoke-test/tests/smoke/export.test.ts b/packages/insomnia-smoke-test/tests/smoke/export.test.ts index daa40d1836..403ec90a27 100644 --- a/packages/insomnia-smoke-test/tests/smoke/export.test.ts +++ b/packages/insomnia-smoke-test/tests/smoke/export.test.ts @@ -13,7 +13,7 @@ import { } from '../../playwright/utils'; test.describe('Export', () => { - test.slow(); + test.slow(process.platform === 'darwin' || process.platform === 'win32', 'Slow app start on these platforms'); const FIXTURE_FILES = [ 'export/Collection-A-wrk_829522b5e8dc4f37b7529db150315cd4.yaml',