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

fix: intermittent xpress e2e failures #825

Merged
merged 6 commits into from
Oct 18, 2024

Conversation

simonfernandes
Copy link
Contributor

@simonfernandes simonfernandes commented Oct 18, 2024

Description

This PR addresses intermittent failures in Xpress end-to-end tests by adding a wait condition for instrument list loading.

Motivation and Context

The change is required to stabilize the end-to-end tests by ensuring that instrument list loading is complete before proceeding, thus preventing intermittent failures due to race conditions.

Changes

  • Added a wait condition for instrument list loading in 'Xpress tests' in xpress.cy.ts file.
  • The wait condition verifies that the instrument list is visible and contains more than zero items before proceeding with the tests.

These changes aim to ensure the reliability of our end-to-end tests, providing more confidence in the stability and the quality of the overall application.

How Has This Been Tested?

Fixes Jira Issue

https://jira.esss.lu.se/browse/

Depends On

Tests included/Docs Updated?

  • I have added tests to cover my changes.
  • All relevant doc has been updated

@simonfernandes simonfernandes requested a review from a team as a code owner October 18, 2024 11:09
@simonfernandes simonfernandes requested review from bashanlam and removed request for a team October 18, 2024 11:09
@simonfernandes simonfernandes removed the request for review from bashanlam October 18, 2024 11:40
@simonfernandes simonfernandes requested review from a team, Bhaswati1148 and bolmsten and removed request for a team October 18, 2024 12:29
@janosbabik janosbabik requested review from janosbabik and removed request for bolmsten October 18, 2024 13:23
@simonfernandes simonfernandes requested a review from ACLay October 18, 2024 13:53
@simonfernandes simonfernandes enabled auto-merge (squash) October 18, 2024 15:15
@simonfernandes simonfernandes merged commit 0fd4735 into develop Oct 18, 2024
19 checks passed
@simonfernandes simonfernandes deleted the fix-intermittent-xpress-e2e-failures branch October 18, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants