-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3044 from NationalSecurityAgency/t#1604/fixes_and…
…_additions T#1604/fixes and additions
- Loading branch information
Showing
14 changed files
with
215 additions
and
13 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -205,6 +205,30 @@ describe('Users Tests', () => { | |
[{ colIndex: 1, value: '[email protected]' }, { colIndex: 4, value: dateFormatter(m.clone().add(3, 'day')) }], | ||
[{ colIndex: 1, value: '[email protected]' }, { colIndex: 4, value: dateFormatter(m.clone().add(2, 'day')) }], | ||
], 5); | ||
|
||
cy.get('[data-p-index="0"] [data-pc-name="rowcheckbox"]').click() | ||
|
||
cy.get('[data-cy="archiveUsersTableBtn"]').should('be.enabled'); | ||
cy.get('[data-cy="archiveUsersTableBtn"]').click() | ||
|
||
cy.wait('@archivedUsers'); | ||
cy.get('[data-cy="archiveUsersTableBtn"]').should('be.disabled'); | ||
|
||
// navigate to back archived users | ||
cy.get('[data-cy="userArchiveBtn"]').should('be.enabled'); | ||
cy.get('[data-cy="userArchiveBtn"]').click() | ||
cy.wait('@getArchivedUsers') | ||
|
||
cy.validateTable(archivedUsersTableSelector, [ | ||
[{ colIndex: 0, value: '[email protected]' }], | ||
], 5); | ||
|
||
|
||
cy.get(`${archivedUsersTableSelector} [data-cy="usersTable_viewDetailsLink"]`).first().click(); | ||
cy.get('[data-cy="subPageHeader"]').contains("User's Display"); | ||
cy.contains("ID: [email protected]"); | ||
cy.get('[data-cy="skillsDisplayHome"] [data-cy="subjectTileBtn"]') | ||
cy.get('[data-cy="archivedUserTag"]').should('be.visible'); | ||
}); | ||
|
||
it('different page sizes', () => { | ||
|
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
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
Oops, something went wrong.