fix: Correctly allow sharees to test credential when opening the modal (#6111)

* fix: Prevent incorrect error message when sharee opens a credential

* test: Add testing for automated credential testing

* chore: Remove unnecessary comments
This commit is contained in:
Omar Ajoue
2023-04-28 12:02:28 +02:00
committed by GitHub
parent 206b6b90b8
commit 2e73f4abd0
5 changed files with 22 additions and 8 deletions

View File

@@ -164,4 +164,12 @@ describe('Sharing', () => {
workflowsPage.getters.workflowCard('Workflow W2').click();
workflowPage.actions.executeWorkflow();
});
it('should automatically test C2 when opened by U2 sharee', () => {
cy.signin(users[0]);
cy.visit(credentialsPage.url);
credentialsPage.getters.credentialCard('Credential C2').click();
credentialsModal.getters.testSuccessTag().should('be.visible');
});
});