-
Notifications
You must be signed in to change notification settings - Fork 715
test: reports test stabilisation for env #9446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Failed to generate code suggestions for PR |
Greptile OverviewGreptile SummaryImproved the
This change makes the test more resilient to timing issues in deployed environments while also potentially reducing test execution time when the dialog opens quickly on the first click. Confidence Score: 4/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Test as Test Case
participant DP as DashboardPage
participant Page as Browser Page
participant UI as Dashboard UI
Test->>DP: createDashboard()
DP->>Page: waitForSelector('[data-test="dashboard-add"]')
DP->>UI: click addDashboardButton
DP->>UI: check isVisible() on dashboardNameInput
alt Name field visible
DP->>UI: fill dashboard name
else Name field NOT visible
DP->>Page: waitForTimeout(1000)
DP->>UI: click addDashboardButton (retry)
DP->>Page: waitForTimeout(2000)
DP->>UI: check isVisible() again
alt Still not visible
DP-->>Test: throw Error
else Now visible
DP->>UI: fill dashboard name
end
end
DP->>UI: click submit button
DP->>UI: continue with panel setup...
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 file reviewed, no comments
390e3d1 to
1001142
Compare
c14f88f to
660afaf
Compare
No description provided.