Skip to content

Instantly share code, notes, and snippets.

@sonicoder86
Last active July 22, 2020 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sonicoder86/7ca68e387079f6b46e11c60253b68acf to your computer and use it in GitHub Desktop.
Save sonicoder86/7ca68e387079f6b46e11c60253b68acf to your computer and use it in GitHub Desktop.
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