Repository navigation
fix: increase dashboard wait timeout to stabilize happy-path e2e test - #24022
Conversation
The happy-path e2e test fails intermittently at the login stage: the dashboard starting page loader (.main-page-loader) is still visible after the default 5s TS_COMMON_DASHBOARD_WAIT_TIMEOUT, because the dashboard page opens slower than expected. Increase the default TS_COMMON_DASHBOARD_WAIT_TIMEOUT from 5s to 10s. Also fix the lint error "Comments should not begin with an uppercase character" for the TS_AI_PROVIDER_API_KEY comment in BASE_TEST_CONSTANTS.ts (API key -> api key). Co-Authored-By: Claude Code <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
I noticed in some repos, CI E2E test 'happy-path' failed when waiting the 'starting page loader is disappeared'. Looks like the dashboard page opens slowly, and timeout in 5 sec is not enough.
E.g.:
What does this PR do?
The happy-path e2e test fails intermittently at the login stage in the same place: after login, the dashboard starting page loader (
.main-page-loader) is still visible when the default 5sTS_COMMON_DASHBOARD_WAIT_TIMEOUTexpires:The dashboard page just opens slower than 5 seconds on loaded CI machines.
Changes:
TS_COMMON_DASHBOARD_WAIT_TIMEOUTfrom5_000to10_000intests/e2e/constants/TIMEOUT_CONSTANTS.tsComments should not begin with an uppercase characterfor theTS_AI_PROVIDER_API_KEYcomment intests/e2e/constants/BASE_TEST_CONSTANTS.ts(API key->api key)Screenshot/screencast of this PR
N/A — configuration constants only.
What issues does this PR fix or reference?
devfile/devworkspace-operator#1734 (comment)
How to test this PR?
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or referenceandHow to test this PRcompletedReviewers
Reviewers, please comment how you tested the PR when approving it.
🤖 Generated with Claude Code
Summary by CodeRabbit