You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
356 B
15 lines
356 B
describe('Starterkit Sample', () => { |
|
|
|
//Done |
|
it('The title exist', () => { |
|
cy.visit('http://localhost:3000') |
|
cy.get('h1').contains('Hello my friend !!!') |
|
}) |
|
|
|
// Error |
|
it('The title does not exist', () => { |
|
cy.visit('http://localhost:3000') |
|
cy.get('h1').contains('WTF !!!').should('not.exist') |
|
}) |
|
|
|
}) |