Skip to content

Commit

Permalink
Fix new ci
Browse files Browse the repository at this point in the history
  • Loading branch information
R0ntheo committed Sep 19, 2024
1 parent c846c9f commit ff7a697
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pro/cypress/e2e/migrations/01_login.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ describe('Login Test with HTTP Request', () => {
let login = '';
let password = 'user@AZERTY123'

before(async () => {
await cy.request({
before(() => {
cy.visit('/connexion')
cy.request({
method: 'GET',
url: 'http://localhost:5001/sandboxes/pro_01_create_pro_user/create_pro_user_with_venue_bank_account_and_userofferer',
}).then((response) => {
Expand All @@ -14,8 +15,6 @@ describe('Login Test with HTTP Request', () => {

it('Should fill out the login form', () => {
expect(true).to.equal(true)
cy.log(login)
cy.log(password)
cy.login({ email: login, password: password, redirectUrl: "/parcours-inscription" })
cy.findAllByTestId('spinner').should('not.exist')
cy.findByText('Finalisez votre inscription')
Expand Down

0 comments on commit ff7a697

Please sign in to comment.