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

Clean up Cypress E2E tests #580

Merged
merged 4 commits into from
Feb 6, 2023
Merged

Clean up Cypress E2E tests #580

merged 4 commits into from
Feb 6, 2023

Commits on Feb 2, 2023

  1. Fix cypress

    pablo-mayrgundter committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    23d4638 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. Use test ID to identify Open IFC button

    There is an open issue within the cypress-real-events library which
    states that the `.realHover()` function is no longer compatible with
    Google Chrome after version 100[1].
    
    So we instead proceed with refactoring that test to use test IDs to
    match the desired HTML element.
    
    The way this failure shows up during testing is the first use of the
    function in question works, but any subsequent usage by other test
    cases within the same run will not work.
    
    However, if you retry the test run, it will give a "false positive"
    as long as you run within the same Cypress + Google Chrome process.
    
    False positive is in quotes because if you run it again within the
    same process pair, it works but if you execute on a different test
    runner, you will get a failure.
    
    An example of this consistent failure would be executing this test
    suite in GitHub Actions where each run is handled by a new test
    runner with a completely different process space.
    
    1: dmtrKovalenko/cypress-real-events#247
    oo-bldrs committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    50ce6ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a63203 View commit details
    Browse the repository at this point in the history
  3. Fix whitespace

    oo-bldrs committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    f95e5ba View commit details
    Browse the repository at this point in the history