-
Notifications
You must be signed in to change notification settings - Fork 116
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
test: [TOL-1361] Rich Text editor component tests #1565
Conversation
Marking pull request as stale since there was no activity for 30 days |
|
||
// Skipping this test because of weird Plate behavior. Will describe it in a follow up PR. | ||
// eslint-disable-next-line mocha/no-skipped-tests | ||
it.skip('does not delete table header cells when selecting the whole table', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plate behavior with Cmd+A and Backspace inside of tables is not very consistent and this test fails due to this. Will be addressed in a follow up PR.
it('it raises the non-first list item entirely', () => { | ||
// FIX: Broken, skipping for now | ||
// eslint-disable-next-line mocha/no-skipped-tests | ||
it.skip('it raises the non-first list item entirely', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not clear what exactly this test should check, and what is expected result, but it's not working.
// FIX: Add embed dialog mock to emulate entity selection/cancel embed | ||
// Removed here: https://github.com/contentful/field-editors/pull/1565 | ||
// eslint-disable-next-line mocha/no-skipped-tests | ||
it.skip('cancels without adding the entry block', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skipping these cancel tracking tests, because we don't have an entry selection dialog mocked. Probably worth addressing in the next PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work so far. Let a few comments.
cypress/component/rich-text/RichTextEditor.EmbeddedResourceBlocks.spec.ts
Show resolved
Hide resolved
This reverts commit 040940c.
Moving Rich Text e2e test suites to component tests.
All e2e cleanups and test adjustments would be done in a follow up PRs.