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

Save editor hidden status to Playroom url #369

Merged
merged 4 commits into from
Oct 10, 2024

Conversation

felixhabib
Copy link
Contributor

See changeset

Last feature I want to get in before cutting a release

@felixhabib felixhabib requested a review from a team as a code owner October 8, 2024 04:50
Copy link

changeset-bot bot commented Oct 8, 2024

🦋 Changeset detected

Latest commit: b3de758

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
playroom Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment on lines 41 to 49
// Todo - write a test that checks the CodeMirror element is not visible
/*
The CodeMirror element is not visible, but it is in the DOM
This test fails because the element doesn't meet Cypress's requirements for being hidden
https://docs.cypress.io/guides/core-concepts/interacting-with-elements#An-element-is-considered-hidden-if
*/
// cy.get('.CodeMirror-code').should('be.hidden');
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is proving very difficult to test. I don't think it is worth holding up the release unless there is an easy fix

cypress/e2e/urlHandling.cy.ts Show resolved Hide resolved
// Todo - write a test that checks the CodeMirror element is not visible
/*
The CodeMirror element is not visible, but it is in the DOM
This test fails because the element doesn't meet Cypress's requirements for being hidden
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be worth clarifying that we don't know what's causing it to fail the hidden requirement either.

@felixhabib felixhabib enabled auto-merge (squash) October 10, 2024 04:48
@felixhabib felixhabib merged commit 7aaa6d0 into master Oct 10, 2024
6 checks passed
@felixhabib felixhabib deleted the save-editorHidden-status branch October 10, 2024 04:52
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