fix(e2e): add waitForSidebar helper and networkidle waits for reliability #50
Reference in New Issue
Block a user
Delete Branch "gandalf/fix-e2e-pri-657"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a
waitForSidebarhelper function with explicit sidebar visibility wait andnetworkidlestate to ensure pages are fully loaded before assertions.Problem
E2E tests were flaky due to timing issues during page transitions. Elements were not consistently found because the
networkidlestate wasn't being waited for after navigation.Changes
waitForSidebarhelper that waits for sidebar visibility AND network idlepage.waitForLoadState('networkidle')after navigation interactionsTesting
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.