Skip to content

Commit 97b1256

Browse files
committed
Merge branch 'develop' into feat/ff-invitation-page#1477
2 parents 8cec239 + cd6f1e5 commit 97b1256

70 files changed

Lines changed: 2011 additions & 10146 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

frontend_tests/cypress/e2e/auth/advisorSignup.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ describe('Signup advisor @demande-compte-conseiller', () => {
66
'[name=organization_position]': 'Tester',
77
'[name=email]': 'signup4@success.test',
88
'[name=phone_no]': '0102030405',
9-
'[name=password1]': 'derpderp',
10-
'[name=password2]': 'derpderp',
9+
'[name=password1]': 'Coco2000',
10+
'[name=password2]': 'Coco2000',
1111
};
1212

1313
it('signup a new advisor', function () {

frontend_tests/cypress/e2e/auth/loginWithUi.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ describe('The Login Page', () => {
1919
.should('have.value', username);
2020

2121
cy.get('#id_password')
22-
.type('derpderp', { force: true })
23-
.should('have.value', 'derpderp');
22+
.type('Coco2000', { force: true })
23+
.should('have.value', 'Coco2000');
2424

2525
cy.get('[type=submit]').click({ force: true });
2626

frontend_tests/cypress/e2e/auth/signupWithUi.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ describe('The Signup Page', () => {
66
'[name=organization_position]': 'Tester',
77
'[name=email]': 'signup3@success.test',
88
'[name=phone_no]': '0102030405',
9-
'[name=password1]': 'derpderp',
10-
'[name=password2]': 'derpderp',
9+
'[name=password1]': 'Coco2000',
10+
'[name=password2]': 'Coco2000',
1111
};
1212

1313
it('signup a new user', function () {

frontend_tests/cypress/e2e/project/multiportail/canViewProjectShareBetweenPortal.cy.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ describe('Project share between portal', () => {
1818
.should('include.text', 'example2');
1919
});
2020

21-
it('display share by and with portal on list advisor dashboard', () => {
22-
cy.login('staff'); // TODO replace by staffOnSite and check behaviour
23-
cy.visit('/projects/advisor');
24-
cy.get('[data-cy="list-project-shared-by-origin"]')
25-
.should('be.visible')
26-
.should('include.text', 'example2');
27-
});
28-
2921
it('display current portal EDL first', () => {
3022
cy.login('collectivité1');
3123
cy.visit('/project/23/connaissance');

frontend_tests/cypress/e2e/project/staff/canApproveAProject.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe('I can go to the dashboard and see the pending projects, and approve on
99
.closest("[data-test-id='project-card']")
1010
.find('[data-test-id="accept-project"]')
1111
.contains('Accepter')
12-
.click();
12+
.click({ force: true });
1313

1414
cy.url().should('include', '/project/');
1515
cy.contains('Friche numéro 4');

frontend_tests/cypress/e2e/project/tasks/canPublishTaskWithRessource.cy.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
describe('I can attach miscellanious ressource to task @page-projet-recommandations-creation', () => {
22
it('publishes a task with resource comment / no comment', () => {
33
cy.login('conseiller1');
4-
cy.visit(`/projects/action/?project_id=25`);
4+
cy.visit('/project/1');
5+
cy.visit('/project/25');
6+
7+
cy.visit(`/projects/action/?resource_id=2`);
8+
cy.get('[data-cy="reco-pusher-selected-project"]').contains(
9+
'commune de test - Projet avec une reco qui a une resource qui a des contacts'
10+
);
511

612
cy.get('[data-cy="radio-push-reco-single-resource"]').should('be.checked');
713

0 commit comments

Comments
 (0)