Skip to content

Instantly share code, notes, and snippets.

@blacksonic

blacksonic/e2e.spec.js

Last active Jul 22, 2020
Embed
What would you like to do?
Svelte Testing Crash Course - part 16
describe('New todo', () => {
it('it should change info', () => {
cy.visit('/');
cy.contains('.info', 'Click to modify');
cy.get('button').click();
cy.contains('.info', 'Modified by click');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.