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 Prosemirror tests which pass in CI, but fail locally #376

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

davidfurey
Copy link
Member

There are some element movement tests in ElementWrapper which are a bit flaky - they fail locally but pass in CI.

The helper function getElementType in editor.ts seems to fail to find the elementWrapperTestId for an element, which means its returns unknown and fails the test.

Fixed by bumping Cypress version

Mainly because some tests were failing locally but not in CI
@davidfurey davidfurey requested a review from a team as a code owner March 27, 2024 10:59
@davidfurey
Copy link
Member Author

Unfortunately bumping to the newest Cypress version breaks some other tests. This is due to a regression in Cypress. I've opened a PR to fix.

This PR is blocked until the Cypress PR is merged and released

@Fweddi
Copy link
Contributor

Fweddi commented Apr 2, 2024

The Cypress PR has been merged and is awaiting release. We will probably see a release in the next two weeks (based on the average cadence of the release schedule).

@Fweddi
Copy link
Contributor

Fweddi commented Apr 3, 2024

The Cypress PR has been merged and is awaiting release. We will probably see a release in the next two weeks (based on the average cadence of the release schedule).

What do you know, it's now out: https://github.com/cypress-io/cypress/releases/tag/v13.7.2

@Fweddi
Copy link
Contributor

Fweddi commented Apr 3, 2024

Tests now passing locally 👍

@Fweddi Fweddi merged commit 1749661 into main Apr 3, 2024
3 checks passed
@Fweddi Fweddi deleted the update-cypress branch April 3, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants