finishes 13 and 14
This commit is contained in:
8
cypress/support/commands.js
Normal file
8
cypress/support/commands.js
Normal file
@@ -0,0 +1,8 @@
|
||||
Cypress.Commands.add('login', () => {
|
||||
cy.visit('/login-jonathan')
|
||||
cy.url().should('include', '/')
|
||||
})
|
||||
|
||||
Cypress.Commands.add('resetDatabase', () => {
|
||||
cy.exec('herd php artisan migrate:fresh --seed --force', { timeout: 30000 })
|
||||
})
|
||||
1
cypress/support/e2e.js
Normal file
1
cypress/support/e2e.js
Normal file
@@ -0,0 +1 @@
|
||||
import './commands'
|
||||
Reference in New Issue
Block a user