wizard
This commit is contained in:
@@ -77,18 +77,17 @@ def test_folder_deletion_and_resync_flow(playwright: playwright.sync_api.Playwri
|
||||
page.click("button[type='submit']")
|
||||
|
||||
# Wait for connection test to complete
|
||||
page.wait_for_selector("button:has-text('Configure Folder Types')")
|
||||
page.wait_for_selector("h3:has-text('Configure IMAP Folders')")
|
||||
|
||||
# Step 5: Sync folders and verify they exist
|
||||
# Click the "Configure Folder Types" button
|
||||
page.click("button:has-text('Configure Folder Types')")
|
||||
|
||||
# Step 5: Click "Save and Continue" on the final modal
|
||||
page.click("button:has-text('Save and Continue')")
|
||||
|
||||
# Wait for modal to close and navigation to complete
|
||||
page.wait_for_load_state("networkidle")
|
||||
|
||||
# Wait for modal to close and navigation to complete
|
||||
page.wait_for_load_state("networkidle")
|
||||
|
||||
# Wait for modal to appear and folders to sync
|
||||
page.wait_for_selector("#folders-list", timeout=10000)
|
||||
|
||||
|
||||
@@ -77,11 +77,7 @@ def test_full_user_flow(playwright: playwright.sync_api.Playwright):
|
||||
page.click("button[type='submit']")
|
||||
|
||||
# Wait for connection test to complete
|
||||
page.wait_for_selector("button:has-text('Configure Folder Types')")
|
||||
|
||||
# Step 4: Sync folders
|
||||
# Click the "Configure Folder Types" button
|
||||
page.click("button:has-text('Configure Folder Types')")
|
||||
page.wait_for_selector("h3:has-text('Configure IMAP Folders')")
|
||||
|
||||
# Step 5: Click "Save and Continue" on the final modal
|
||||
page.click("button:has-text('Save and Continue')")
|
||||
|
||||
Reference in New Issue
Block a user