Skip to content

Commit

Permalink
Remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
skitterm committed Dec 8, 2023
1 parent 0e59768 commit fcc6fd9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions cypress/e2e/spec.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ describe('template spec', () => {
cy.title().should('equal', 'Mealdrop - find your next meal')
})

it('creates an order', () => {
cy.visit('http://localhost:3000/restaurants/2')
// it('creates an order', () => {
// cy.visit('http://localhost:3000/restaurants/2')

cy.wait(1000)
// @ts-expect-error
cy.takeChromaticArchive()
// cy.wait(1000)
// // @ts-expect-error
// cy.takeChromaticArchive()

cy.contains('h4', 'Fries').click()
// cy.contains('h4', 'Fries').click()

cy.get('[data-testid="modal"]').should('be.visible')
// @ts-expect-error
cy.takeChromaticArchive()
// cy.get('[data-testid="modal"]').should('be.visible')
// // @ts-expect-error
// cy.takeChromaticArchive()

cy.contains('button', /add for €2\.50/).click()
// cy.contains('button', /add for €2\.50/).click()

cy.contains('[data-testid="header"] span', '€2.50').should('be.visible')
})
// cy.contains('[data-testid="header"] span', '€2.50').should('be.visible')
// })
})

0 comments on commit fcc6fd9

Please sign in to comment.