mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-22 08:02:25 +01:00
* - update gitignore - add cypress configuration and example test * add integration tests to ci workflow * add note about running integration tests * Update docs/general/contributing.md Co-authored-by: Tim Buckley <timothypbuckley@gmail.com> * Update .gitignore Co-authored-by: Tim Buckley <timothypbuckley@gmail.com> * Update cypress.json Co-authored-by: Tim Buckley <timothypbuckley@gmail.com> * add baseUrl, remove goTo command Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
11 lines
253 B
TypeScript
11 lines
253 B
TypeScript
describe('On richtext example', () => {
|
|
it('inserts text when typed', () => {
|
|
cy.visit('examples/richtext')
|
|
|
|
cy.findByRole('textbox')
|
|
.type('{movetostart}')
|
|
.type('Hello World')
|
|
.should('contain.text', 'Hello World')
|
|
})
|
|
})
|