diff --git a/tests/test_dashboard.py b/tests/test_dashboard.py index 8931ed28..0ce296c0 100644 --- a/tests/test_dashboard.py +++ b/tests/test_dashboard.py @@ -95,7 +95,7 @@ def test_text_page(page: Page): # Movie sentiment example page.locator("label").filter(has_text="Use an example").locator("div").nth(1).click() page.get_by_text("Movie sentiment").click() - expect(page.get_by_text("Select a method to continue")).to_be_visible() + expect(page.get_by_text("Select a method to continue")).to_be_visible(timeout=50_000) page.locator('label').filter(has_text='RISE').locator('span').click() page.locator('label').filter(has_text='LIME').locator('span').click() @@ -148,13 +148,13 @@ def test_image_page(page: Page): page.locator("label").filter(has_text="Use an example").locator("div").nth(1).click() page.get_by_text("Hand-written digit recognition").click() - expect(page.get_by_text('Select a method to continue')).to_be_visible() + expect(page.get_by_text('Select a method to continue')).to_be_visible(timeout=100_000) page.locator('label').filter(has_text='RISE').locator('span').click() page.locator('label').filter(has_text='KernelSHAP').locator('span').click() page.locator('label').filter(has_text='LIME').locator('span').click() page.get_by_test_id("stNumberInput-StepUp").click() - page.get_by_text('Running...').wait_for(state='detached', timeout=45_000) + page.get_by_text('Running...').wait_for(state='detached', timeout=50_000) for selector in ( page.get_by_role('heading', name='RISE').get_by_text('RISE'), @@ -188,7 +188,7 @@ def test_timeseries_page(page: Page): expect(page).to_have_title('Time_series') - expect(page.get_by_text("Select which input type to")).to_be_visible() + expect(page.get_by_text("Select which input type to")).to_be_visible(timeout=100_000) page.locator("label").filter(has_text="Use an example").locator("div").nth(1).click() expect(page.get_by_text("Select an example in the left")).to_be_visible() @@ -197,7 +197,7 @@ def test_timeseries_page(page: Page): # Test weather example page.locator("label").filter(has_text="Weather").locator("div").nth(1).click() - expect(page.get_by_text("Select a method to continue")).to_be_visible() + expect(page.get_by_text("Select a method to continue")).to_be_visible(timeout=100_000) page.locator('label').filter(has_text='LIME').locator('span').click() page.locator('label').filter(has_text='RISE').locator('span').click() @@ -220,7 +220,7 @@ def test_timeseries_page(page: Page): # Test FRB example page.locator("label").filter(has_text="FRB").locator("div").nth(1).click() - expect(page.get_by_text("Select a method to continue")).to_be_visible() + expect(page.get_by_text("Select a method to continue")).to_be_visible(timeout=100_000) page.locator('label').filter(has_text='RISE').locator('span').click() @@ -254,7 +254,7 @@ def test_tabular_page(page: Page): expect(page).to_have_title('Tabular') - expect(page.get_by_text("Select which input type to")).to_be_visible(timeout=20_000) + expect(page.get_by_text("Select which input type to")).to_be_visible(timeout=100_000) page.locator("label").filter(has_text="Use an example").locator("div").nth(1).click()