Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.e2e
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cypress/included:13.2.0
FROM cypress/included:15.4.0

# Copy and install node modules needed for frontend
WORKDIR /e2e
Expand Down
1 change: 0 additions & 1 deletion apps/e2e/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ module.exports = defineConfig({
scrollBehavior: 'center',
defaultCommandTimeout: 30000,
chromeWebSecurity: false,
experimentalStudio: true,
env: {
SVC_ACC_TOKEN:
'eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyIjp7ImlkIjowLCJ1c2VyX3RpdGxlIjoiTXIuIiwiZmlyc3RuYW1lIjoiU2VydmljZSBBY2NvdW50IiwibWlkZGxlbmFtZSI6IiIsImxhc3RuYW1lIjoiIiwidXNlcm5hbWUiOiJzZXJ2aWNlIiwicHJlZmVycmVkbmFtZSI6IiIsIm9yY2lkIjoiIiwicmVmcmVzaFRva2VuIjoiIiwiZ2VuZGVyIjoibWFsZSIsIm5hdGlvbmFsaXR5IjoxLCJiaXJ0aGRhdGUiOiIyMDAwLTA0LTAxVDIyOjAwOjAwLjAwMFoiLCJvcmdhbmlzYXRpb24iOjEsImRlcGFydG1lbnQiOiIiLCJwb3NpdGlvbiI6IiIsImVtYWlsIjoic2VydmljZUB1c2Vyb2ZmaWNlLmVzcy5ldSIsImVtYWlsVmVyaWZpZWQiOnRydWUsInRlbGVwaG9uZSI6IiIsInRlbGVwaG9uZV9hbHQiOiIiLCJwbGFjZWhvbGRlciI6ZmFsc2UsImNyZWF0ZWQiOiIyMDIwLTA4LTEwVDE2OjQwOjAyLjk1NloiLCJ1cGRhdGVkIjoiMjAyMC0wOC0xMFQxNjo0MDowMy4yNjhaIn0sInJvbGVzIjpbeyJpZCI6Miwic2hvcnRDb2RlIjoidXNlcl9vZmZpY2VyIiwidGl0bGUiOiJVc2VyIE9mZmljZXIifV0sImN1cnJlbnRSb2xlIjp7ImlkIjoyLCJzaG9ydENvZGUiOiJ1c2VyX29mZmljZXIiLCJ0aXRsZSI6IlVzZXIgT2ZmaWNlciJ9LCJpYXQiOjE1OTcwNzc3NjEsImV4dGVybmFsVG9rZW4iOiJ0b2tlbiJ9._j-UggHj1oG1mfjIjtg8nvTJSLb0_vdsR05rEDdi6Yo',
Expand Down
8 changes: 6 additions & 2 deletions apps/e2e/cypress/e2e/settings.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,9 @@ context('Settings tests', () => {

cy.contains(workflowName).parent().find('[aria-label="Edit"]').click();

cy.get("[aria-label='Edge from DRAFT to FEASIBILITY_REVIEW']").click();
cy.get("[aria-label='Edge from DRAFT to FEASIBILITY_REVIEW']")
.should('exist')
.click({ force: true });

cy.get('[data-cy="status-events-and-actions-modal"]').should('exist');

Expand All @@ -798,7 +800,9 @@ context('Settings tests', () => {

cy.closeModal();

cy.get("[aria-label='Edge from DRAFT to FEASIBILITY_REVIEW']").click();
cy.get("[aria-label='Edge from DRAFT to FEASIBILITY_REVIEW']")
.should('exist')
.click({ force: true });

cy.get('[data-cy="status-events-and-actions-modal"]').should('exist');

Expand Down
30 changes: 23 additions & 7 deletions apps/e2e/cypress/e2e/statusActions.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ context('Status actions tests', () => {

cy.finishedLoading();

cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`).click();
cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`)
.should('exist')
.click({ force: true });

cy.get('[data-cy="status-events-and-actions-modal"]').should('exist');
cy.get('[data-cy="status-events-and-actions-modal"]')
Expand Down Expand Up @@ -167,7 +169,9 @@ context('Status actions tests', () => {
`[data-cy="edge-label-actions-list-DRAFT-FEASIBILITY_REVIEW"]`
).contains('Email action');

cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`).click();
cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`)
.should('exist')
.click({ force: true });

cy.get('[data-cy="status-events-and-actions-modal"]')
.contains('Status actions')
Expand Down Expand Up @@ -251,7 +255,9 @@ context('Status actions tests', () => {

cy.finishedLoading();

cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`).click();
cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`)
.should('exist')
.click({ force: true });

cy.get('[data-cy="status-events-and-actions-modal"]')
.contains('Status actions')
Expand Down Expand Up @@ -322,7 +328,11 @@ context('Status actions tests', () => {

cy.finishedLoading();

cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`).click();
cy.get(
'ul[data-cy="edge-label-actions-list-DRAFT-FEASIBILITY_REVIEW"] > li'
)
.should('exist')
.click({ force: true });

cy.get('[data-cy="status-events-and-actions-modal"]')
.contains('Status actions')
Expand Down Expand Up @@ -415,7 +425,9 @@ context('Status actions tests', () => {

cy.closeModal();

cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`).click();
cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`)
.should('exist')
.click({ force: true });

cy.get('[data-cy="status-events-and-actions-modal"]')
.contains('Status actions')
Expand Down Expand Up @@ -474,7 +486,9 @@ context('Status actions tests', () => {

cy.finishedLoading();

cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`).click();
cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`)
.should('exist')
.click({ force: true });

cy.get('[data-cy="status-events-and-actions-modal"]')
.contains('Status actions')
Expand Down Expand Up @@ -509,7 +523,9 @@ context('Status actions tests', () => {
'[data-cy="edge-label-actions-list-DRAFT-FEASIBILITY_REVIEW"]'
).contains('Proposal download action');

cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`).click();
cy.get(`[aria-label="Edge from DRAFT to FEASIBILITY_REVIEW"]`)
.should('exist')
.click({ force: true });

cy.get('[data-cy="status-events-and-actions-modal"]')
.contains('Status actions')
Expand Down
Loading