Bug/Test #1631 claim.action - Bloquear botones

This commit is contained in:
Bernat 2019-08-13 07:45:12 +02:00
parent 0bc2f9394f
commit ff17ead2ca
1 changed files with 3 additions and 1 deletions

View File

@ -7,12 +7,13 @@ describe('Claim action path', () => {
beforeAll(() => {
nightmare
.loginAndModule('administrative', 'claim')
.accessToSearchResult(4)
.accessToSearchResult(2)
.accessToSection('claim.card.action');
});
it('should import the claim', async() => {
const result = await nightmare
.wait(1000)
.waitToClick(selectors.claimAction.importClaimButton)
.waitForLastSnackbar();
@ -21,6 +22,7 @@ describe('Claim action path', () => {
it('should import the second importable ticket', async() => {
const result = await nightmare
.wait(1000)
.waitToClick(selectors.claimAction.importTicketButton)
.waitToClick(selectors.claimAction.secondImportableTicket)
.waitForLastSnackbar();