This commit is contained in:
Bryce
2025-08-09 20:36:18 -07:00
parent 707a8a3095
commit af637f29b4
9 changed files with 167 additions and 209 deletions

View File

@@ -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)

View File

@@ -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')")