Skip to content

Conversation

@leonardomendix
Copy link
Collaborator

Description

Since we updated Cypress, there's one strange error when trying to visit the test project home page, the error happens in the next test where the command visit will fail when it tries to redirect to another page. To fix that it was changed the visit command to access the index.html instead of only the baseUrl. I didn't find the root cause but it seems only happens in the slider and rich text test projects where we have this cy.visit("/") followed by another visit command.

Extras: Updated cypress and mendix versions file.

Pull request checklist

  • All new and existing tests passed
  • I run lint command locally and it doesn’t give errors
  • PR title properly formatted [XX-000]: description
  • Added record to packages' CHANGELOG.md
  • Bumped package version in package.json and package.xml
  • Added a link to related project PRs (atlas, pluggable-widgets-tools, testProject, etc.) (optional)
  • Created docs PR to mendix/docs and added a link (optional)

Pull request type

  • No code changes (changes to documentation, CI, metadata, etc)
  • Dependency changes (any modification to dependencies in package.json)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Test related change (New E2E test, test automation, etc.)

What should be covered while testing?

Automation should pass.

@leonardomendix leonardomendix merged commit 79b33ae into main Jan 4, 2023
@leonardomendix leonardomendix deleted the test/fix-rich-text-and-slider-e2e branch January 4, 2023 09:16
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.

4 participants