From 0951d08906a52d08f883c16df5cada251bfac0b6 Mon Sep 17 00:00:00 2001 From: SilviaAmAm Date: Wed, 3 Apr 2024 16:37:38 +0200 Subject: [PATCH] :construction: Trying to understand what the problem is with the file upload --- src/openforms/tests/e2e/test_file_upload.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/openforms/tests/e2e/test_file_upload.py b/src/openforms/tests/e2e/test_file_upload.py index 9d9d44624c..79d9f7a4bd 100644 --- a/src/openforms/tests/e2e/test_file_upload.py +++ b/src/openforms/tests/e2e/test_file_upload.py @@ -68,6 +68,13 @@ def setUpTestData(): await expect(uploaded_file).to_be_visible() await page.get_by_role("button", name="Volgende").click() + + # Debugging to understand what is going on in flaky test + error_page_header = page.get_by_text("Oeps!") + await expect(error_page_header).not_to_be_visible() + summary_page_header = page.get_by_text("Controleer en bevestig") + await expect(summary_page_header).to_be_visible() + await page.get_by_role("button", name="Verzenden").click() await expect( page.get_by_text("Een moment geduld", exact=False)