From 64f1e181a594cd9c4e2b8b127a803c62a8b0590e Mon Sep 17 00:00:00 2001 From: danielasubotic <48174709+danielasubotic@users.noreply.github.com> Date: Sun, 15 Dec 2024 22:52:19 +0100 Subject: [PATCH] test: add remove user from project --- .../system-admin/remove-user-from-project.cy.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 apps/dsp-app/cypress/e2e/system-admin/remove-user-from-project.cy.ts diff --git a/apps/dsp-app/cypress/e2e/system-admin/remove-user-from-project.cy.ts b/apps/dsp-app/cypress/e2e/system-admin/remove-user-from-project.cy.ts new file mode 100644 index 0000000000..88f6d053e3 --- /dev/null +++ b/apps/dsp-app/cypress/e2e/system-admin/remove-user-from-project.cy.ts @@ -0,0 +1,14 @@ +describe('link a resource', () => { + it('passes', () => { + // Visit the main page + cy.visit('http://localhost:4200/'); + /* ==== Generated with Cypress Studio ==== */ + cy.get(':nth-child(3) > .ng-tns-c617788805-4 > [data-cy="navigate-to-project-button"] > [data-cy="tile"] > .project-tile-content > .title > .title-text').click(); + cy.get('.mat-mdc-list-item-title > div').click(); + cy.get('#collaboration > .mdc-tab__content > .mdc-tab__text-label').click(); + cy.get(':nth-child(1) > .table-action > .mat-mdc-menu-trigger > .mat-mdc-button-touch-target').click(); + cy.get(':nth-child(4) > .mat-mdc-menu-item-text').click(); + cy.get('[data-cy="confirmation-button"] > .mdc-button__label').click(); + /* ==== End Cypress Studio ==== */ + }) +})