-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08b2cfc
commit 69ad1bf
Showing
5 changed files
with
28 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,7 +116,7 @@ describe('Test invitation accept for existing user', () => { | |
cy.wait('@createInvitationRedeemRequest'); | ||
cy.get('#title').should('contain.text', 'Invitation'); | ||
cy.get('.flex-row > .text-3xl', { timeout: 7000 }).should('contain.text', '[email protected]'); | ||
cy.get('p-toast').should('contain.text', 'Redeem successful'); | ||
cy.get('p-toast').should('contain.text', 'Invitation accepted'); | ||
}); | ||
|
||
it('should accept but display message if some targets failed', () => { | ||
|
@@ -236,7 +236,7 @@ describe('Test invitation accept for existing user', () => { | |
cy.wait('@getInvitation'); | ||
cy.get('#title').should('contain.text', 'Invitation'); | ||
cy.get('.flex-row > .text-3xl').should('contain.text', '[email protected]'); | ||
cy.get('p-toast').should('contain.text', 'Redeem successful'); | ||
cy.get('p-toast').should('contain.text', 'Invitation accepted'); | ||
|
||
cy.get('app-navbar-item').contains('Organizations').click(); | ||
cy.get(':nth-child(2) > .flex-row > .text-3xl').should('contain.text', 'vshn'); | ||
|
@@ -286,7 +286,7 @@ describe('Test invitation accept for existing user', () => { | |
|
||
cy.get('app-navbar-item').contains('Organizations').click(); | ||
cy.get(':nth-child(2) > .flex-row > .text-3xl').should('contain.text', 'nxt'); | ||
cy.get('p-toast', { timeout: 10000 }).should('contain.text', 'Redeem successful'); | ||
cy.get('p-toast', { timeout: 10000 }).should('contain.text', 'Invitation accepted'); | ||
}); | ||
}); | ||
|
||
|
@@ -332,7 +332,7 @@ describe('Test invitation accept for new user', () => { | |
cy.wait('@getInvitation'); | ||
cy.get('#title').should('contain.text', 'Invitation'); | ||
cy.get('.flex-row > .text-3xl', { timeout: 7000 }).should('contain.text', '[email protected]'); | ||
cy.get('p-toast').should('contain.text', 'Redeem successful'); | ||
cy.get('p-toast').should('contain.text', 'Invitation accepted'); | ||
}); | ||
|
||
it('should accept but display message if some targets failed', () => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters