💚 corrige les tests E2E

pull/530/head
Johan Girod 2019-06-12 17:30:49 +02:00
parent 63409e3304
commit 9ed66aa577
No known key found for this signature in database
GPG Key ID: 9E27B57DA2E8AE12
1 changed files with 1 additions and 4 deletions

View File

@ -1,10 +1,7 @@
describe('Status guide', function() {
const fr = Cypress.env('language') === 'fr'
beforeEach(() => {
cy.visit('/')
cy.contains(
fr ? 'Créer mon entreprise' : 'Create my company in France'
).click()
cy.visit(fr ? '/entreprise' : '/company')
cy.get('a.ui__.button.plain').click()
})