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

BGDIINF_SB-3186: Added cypress cloud project ID for test parallelization #522

Merged
merged 8 commits into from
Dec 21, 2023

Commits on Dec 21, 2023

  1. Configuration menu
    Copy the full SHA
    b303a1d View commit details
    Browse the repository at this point in the history
  2. Avoid Vite deprecated warning and make cypress cloud working

    When adding the cypress projectId, a vite deprecation warning appears when
    running cypress. The warning lead to this page
    https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated
    
    And strangely the infobox.cy tests failed just by adding the projectId.
    
    Moving to ESM syntax seems to solve the warning issue and cypress tests failure.
    ltshb committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    35e17e9 View commit details
    Browse the repository at this point in the history
  3. Fixed eslint ESM

    ESM syntax in eslint is not supported and its file needs to have the *.cjs
    extension when `type: module` is set in package.json
    ltshb committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    b79fad1 View commit details
    Browse the repository at this point in the history
  4. BGDIINF_SB-3186: Removed cypress junit reporter

    This reporter is not compatible with ESM and is of no use now that we have
    cypress cloud.
    ltshb committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    103bc00 View commit details
    Browse the repository at this point in the history
  5. BGDIINF_SB-3186: Added cypress cloud key

    This key is needed in order to record cypress test on the cloud from your
    local machine. This can be useful for debugging test that failed on the cloud
    but not locally.
    ltshb committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    9b7c191 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    791554e View commit details
    Browse the repository at this point in the history
  7. BGDIINF_SB-3186: Fix timeslider e2e test on cypress cloud

    Somehow the realSwipe event of the cypress plugin doesn't work on cypress cloud.
    
    Using the .trigger() as in https://github.com/cypress-io/cypress-example-recipes/blob/master/examples/testing-dom__drag-drop/cypress/e2e/drag_n_drop_spec.cy.js works with cypress cloud as well
    as local.
    ltshb committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    9a339ba View commit details
    Browse the repository at this point in the history
  8. BGDIINF_SB-3186: Avoid flaky tests on cypress cloud

    Some tests that rely on clicking on the map requires that the map has been
    fully rendered otherwise the test will failed. Somehow when using cypress cloud
    it seems that the openlayer rendering is a bit delayed and some tests are therefore
    failing.
    ltshb committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    f31741e View commit details
    Browse the repository at this point in the history