Skip to content
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

front: handle uncaught exceptions for e2e tests #10004

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

Maymanaf
Copy link
Contributor

@Maymanaf Maymanaf commented Dec 10, 2024

Closes #8883

NOT READY FOR REVEIW

@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Dec 10, 2024
@Maymanaf Maymanaf force-pushed the aba/e2e-log-uncaught-exceptions branch from 6413f57 to f8b5feb Compare December 10, 2024 10:36
@Maymanaf Maymanaf changed the title front: log uncaught exceptions for e2e tests front: handle uncaught exceptions for e2e tests Dec 10, 2024
emersion
emersion previously approved these changes Dec 10, 2024
@Maymanaf Maymanaf marked this pull request as ready for review December 12, 2024 12:40
@Maymanaf Maymanaf requested a review from a team as a code owner December 12, 2024 12:40
@Maymanaf Maymanaf force-pushed the aba/e2e-log-uncaught-exceptions branch from f8b5feb to e433449 Compare January 9, 2025 11:25
@Maymanaf Maymanaf force-pushed the aba/e2e-log-uncaught-exceptions branch from e433449 to df9640b Compare February 5, 2025 08:27
@Maymanaf Maymanaf force-pushed the aba/e2e-log-uncaught-exceptions branch 3 times, most recently from d8d5afc to 12fd024 Compare February 19, 2025 17:30
@Maymanaf Maymanaf closed this Mar 3, 2025
@Maymanaf Maymanaf deleted the aba/e2e-log-uncaught-exceptions branch March 3, 2025 11:51
@Maymanaf Maymanaf restored the aba/e2e-log-uncaught-exceptions branch March 3, 2025 11:52
@Maymanaf Maymanaf reopened this Mar 3, 2025
@Maymanaf Maymanaf force-pushed the aba/e2e-log-uncaught-exceptions branch 2 times, most recently from 35d1cf4 to 1bfe55b Compare March 6, 2025 09:33
@Maymanaf Maymanaf requested a review from a team as a code owner March 6, 2025 09:33
@emersion emersion dismissed their stale review March 6, 2025 09:39

Outdated

@emersion emersion self-requested a review March 6, 2025 09:39
@Maymanaf Maymanaf force-pushed the aba/e2e-log-uncaught-exceptions branch from 02bea96 to 892e22e Compare March 6, 2025 16:23
@Maymanaf Maymanaf requested a review from Yohh March 6, 2025 16:23
@emersion emersion removed their request for review March 7, 2025 13:50
@@ -117,6 +120,7 @@ class ViaSection extends STDCMPage {
await this.getViaType(viaNumber).selectOption(SERVICE_STOP);
await expect(this.getViaStopTime(viaNumber)).toHaveValue(serviceStop.default);
await this.getViaStopTime(viaNumber).fill(serviceStop.input);
await this.page.waitForTimeout(EXPLICIT_UI_STABILITY_TIMEOUT); // Wait for the animation to complete
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we replace this with scrollIntoViewIfNeeded(), which waits for the element to be stable? Or listen for the animationend event?

@Maymanaf Maymanaf force-pushed the aba/e2e-log-uncaught-exceptions branch 2 times, most recently from 0c24fc7 to 8450dca Compare March 7, 2025 22:04
@Maymanaf Maymanaf force-pushed the aba/e2e-log-uncaught-exceptions branch from 8450dca to 9733d49 Compare March 7, 2025 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:front Work on Standard OSRD Interface modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

front: log and make E2E tests fail on uncaught exceptions
3 participants