refactor(e2e): removed waitForTimeout from e2e paths
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
da00b231ba
commit
4a47c136a0
|
@ -38,7 +38,6 @@ describe('Item regularize path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should open the regularize dialog and check the warehouse matches the local user settings', async() => {
|
it('should open the regularize dialog and check the warehouse matches the local user settings', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.itemDescriptor.moreMenu);
|
await page.waitToClick(selectors.itemDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.itemDescriptor.moreMenuRegularizeButton);
|
await page.waitToClick(selectors.itemDescriptor.moreMenuRegularizeButton);
|
||||||
const result = await page.waitToGetProperty(selectors.itemDescriptor.regularizeWarehouse, 'value');
|
const result = await page.waitToGetProperty(selectors.itemDescriptor.regularizeWarehouse, 'value');
|
||||||
|
@ -108,7 +107,6 @@ describe('Item regularize path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should regularize the item once more', async() => {
|
it('should regularize the item once more', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.itemDescriptor.moreMenu);
|
await page.waitToClick(selectors.itemDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.itemDescriptor.moreMenuRegularizeButton);
|
await page.waitToClick(selectors.itemDescriptor.moreMenuRegularizeButton);
|
||||||
await page.write(selectors.itemDescriptor.regularizeQuantity, '100');
|
await page.write(selectors.itemDescriptor.regularizeQuantity, '100');
|
||||||
|
|
|
@ -196,7 +196,6 @@ describe('Ticket Edit sale path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should select the third sale and create a claim of it', async() => {
|
it('should select the third sale and create a claim of it', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketSales.thirdSaleCheckbox);
|
await page.waitToClick(selectors.ticketSales.thirdSaleCheckbox);
|
||||||
await page.waitToClick(selectors.ticketSales.moreMenu);
|
await page.waitToClick(selectors.ticketSales.moreMenu);
|
||||||
await page.waitToClick(selectors.ticketSales.moreMenuCreateClaim);
|
await page.waitToClick(selectors.ticketSales.moreMenuCreateClaim);
|
||||||
|
@ -355,7 +354,7 @@ describe('Ticket Edit sale path', () => {
|
||||||
|
|
||||||
it('should mark the first sale as reserved', async() => {
|
it('should mark the first sale as reserved', async() => {
|
||||||
await page.waitToClick(selectors.ticketSales.firstSaleCheckbox);
|
await page.waitToClick(selectors.ticketSales.firstSaleCheckbox);
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketSales.moreMenu);
|
await page.waitToClick(selectors.ticketSales.moreMenu);
|
||||||
await page.waitToClick(selectors.ticketSales.moreMenuReserve);
|
await page.waitToClick(selectors.ticketSales.moreMenuReserve);
|
||||||
await page.closePopup();
|
await page.closePopup();
|
||||||
|
@ -366,7 +365,6 @@ describe('Ticket Edit sale path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should unmark the first sale as reserved', async() => {
|
it('should unmark the first sale as reserved', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketSales.moreMenu);
|
await page.waitToClick(selectors.ticketSales.moreMenu);
|
||||||
await page.waitToClick(selectors.ticketSales.moreMenuUnmarkReseved);
|
await page.waitToClick(selectors.ticketSales.moreMenuUnmarkReseved);
|
||||||
await page.waitForClassPresent(selectors.ticketSales.firstSaleReservedIcon, 'ng-hide');
|
await page.waitForClassPresent(selectors.ticketSales.firstSaleReservedIcon, 'ng-hide');
|
||||||
|
|
|
@ -28,7 +28,6 @@ describe('Ticket descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should add the ticket to thursday turn using the descriptor more menu', async() => {
|
it('should add the ticket to thursday turn using the descriptor more menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenuAddToTurn);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenuAddToTurn);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.thursdayButton);
|
await page.waitToClick(selectors.ticketDescriptor.thursdayButton);
|
||||||
|
@ -64,7 +63,6 @@ describe('Ticket descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should add the ticket to saturday turn using the descriptor more menu', async() => {
|
it('should add the ticket to saturday turn using the descriptor more menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenuAddToTurn);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenuAddToTurn);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.saturdayButton);
|
await page.waitToClick(selectors.ticketDescriptor.saturdayButton);
|
||||||
|
|
|
@ -22,7 +22,6 @@ describe('Ticket descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it(`should update the shipped hour using the descriptor menu`, async() => {
|
it(`should update the shipped hour using the descriptor menu`, async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenuChangeShippedHour);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenuChangeShippedHour);
|
||||||
await page.pickTime(selectors.ticketDescriptor.changeShippedHour, '08:15');
|
await page.pickTime(selectors.ticketDescriptor.changeShippedHour, '08:15');
|
||||||
|
@ -41,7 +40,6 @@ describe('Ticket descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should delete the ticket using the descriptor menu', async() => {
|
it('should delete the ticket using the descriptor menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenuDeleteTicket);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenuDeleteTicket);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.acceptDialog);
|
await page.waitToClick(selectors.ticketDescriptor.acceptDialog);
|
||||||
|
@ -67,7 +65,6 @@ describe('Ticket descriptor path', () => {
|
||||||
|
|
||||||
describe('Restore ticket', () => {
|
describe('Restore ticket', () => {
|
||||||
it('should restore the ticket using the descriptor menu', async() => {
|
it('should restore the ticket using the descriptor menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenuRestoreTicket);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenuRestoreTicket);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.acceptDialog);
|
await page.waitToClick(selectors.ticketDescriptor.acceptDialog);
|
||||||
|
@ -85,7 +82,6 @@ describe('Ticket descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should open the add stowaway dialog', async() => {
|
it('should open the add stowaway dialog', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitForFunction(() => {
|
await page.waitForFunction(() => {
|
||||||
let element = document.querySelector('vn-ticket-descriptor-menu');
|
let element = document.querySelector('vn-ticket-descriptor-menu');
|
||||||
return element.$ctrl.canShowStowaway === true;
|
return element.$ctrl.canShowStowaway === true;
|
||||||
|
@ -118,7 +114,6 @@ describe('Ticket descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should delete the stowaway', async() => {
|
it('should delete the stowaway', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
||||||
await page.waitForContentLoaded();
|
await page.waitForContentLoaded();
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenuDeleteStowawayButton);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenuDeleteStowawayButton);
|
||||||
|
@ -150,7 +145,6 @@ describe('Ticket descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should invoice the ticket using the descriptor menu', async() => {
|
it('should invoice the ticket using the descriptor menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
||||||
await page.waitForContentLoaded();
|
await page.waitForContentLoaded();
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenuMakeInvoice);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenuMakeInvoice);
|
||||||
|
@ -182,7 +176,6 @@ describe('Ticket descriptor path', () => {
|
||||||
|
|
||||||
describe('SMS', () => {
|
describe('SMS', () => {
|
||||||
it('should send the payment SMS using the descriptor menu', async() => {
|
it('should send the payment SMS using the descriptor menu', async() => {
|
||||||
await page.waitForTimeout(2000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenuPaymentSMS);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenuPaymentSMS);
|
||||||
await page.waitForSelector(selectors.ticketDescriptor.SMStext);
|
await page.waitForSelector(selectors.ticketDescriptor.SMStext);
|
||||||
|
@ -194,7 +187,6 @@ describe('Ticket descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should send the import SMS using the descriptor menu', async() => {
|
it('should send the import SMS using the descriptor menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
||||||
await page.waitForContentLoaded();
|
await page.waitForContentLoaded();
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenuSendImportSms);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenuSendImportSms);
|
||||||
|
|
|
@ -62,7 +62,6 @@ describe('Ticket create path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should make the previously created ticket the stowaway of the current ticket', async() => {
|
it('should make the previously created ticket the stowaway of the current ticket', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenuAddStowaway);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenuAddStowaway);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.addStowawayDialogFirstTicket);
|
await page.waitToClick(selectors.ticketDescriptor.addStowawayDialogFirstTicket);
|
||||||
|
@ -72,7 +71,6 @@ describe('Ticket create path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should delete the current ticket', async() => {
|
it('should delete the current ticket', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.moreMenuDeleteTicket);
|
await page.waitToClick(selectors.ticketDescriptor.moreMenuDeleteTicket);
|
||||||
await page.waitToClick(selectors.ticketDescriptor.acceptDialog);
|
await page.waitToClick(selectors.ticketDescriptor.acceptDialog);
|
||||||
|
|
|
@ -17,7 +17,6 @@ describe('Ticket create from client path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should click the create simple ticket on the descriptor menu', async() => {
|
it('should click the create simple ticket on the descriptor menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.clientDescriptor.moreMenu);
|
await page.waitToClick(selectors.clientDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.clientDescriptor.simpleTicketButton);
|
await page.waitToClick(selectors.clientDescriptor.simpleTicketButton);
|
||||||
await page.waitForState('ticket.create');
|
await page.waitForState('ticket.create');
|
||||||
|
|
|
@ -18,7 +18,6 @@ describe('InvoiceIn descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should clone the invoiceIn using the descriptor more menu', async() => {
|
it('should clone the invoiceIn using the descriptor more menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.invoiceInDescriptor.moreMenu);
|
await page.waitToClick(selectors.invoiceInDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.invoiceInDescriptor.moreMenuCloneInvoiceIn);
|
await page.waitToClick(selectors.invoiceInDescriptor.moreMenuCloneInvoiceIn);
|
||||||
await page.waitToClick(selectors.invoiceInDescriptor.acceptButton);
|
await page.waitToClick(selectors.invoiceInDescriptor.acceptButton);
|
||||||
|
@ -32,7 +31,6 @@ describe('InvoiceIn descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should delete the cloned invoiceIn using the descriptor more menu', async() => {
|
it('should delete the cloned invoiceIn using the descriptor more menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.invoiceInDescriptor.moreMenu);
|
await page.waitToClick(selectors.invoiceInDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.invoiceInDescriptor.moreMenuDeleteInvoiceIn);
|
await page.waitToClick(selectors.invoiceInDescriptor.moreMenuDeleteInvoiceIn);
|
||||||
await page.waitToClick(selectors.invoiceInDescriptor.acceptButton);
|
await page.waitToClick(selectors.invoiceInDescriptor.acceptButton);
|
||||||
|
|
|
@ -38,7 +38,6 @@ describe('InvoiceOut descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should delete the invoiceOut using the descriptor more menu', async() => {
|
it('should delete the invoiceOut using the descriptor more menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.invoiceOutDescriptor.moreMenu);
|
await page.waitToClick(selectors.invoiceOutDescriptor.moreMenu);
|
||||||
await page.waitToClick(selectors.invoiceOutDescriptor.moreMenuDeleteInvoiceOut);
|
await page.waitToClick(selectors.invoiceOutDescriptor.moreMenuDeleteInvoiceOut);
|
||||||
await page.waitToClick(selectors.invoiceOutDescriptor.acceptDeleteButton);
|
await page.waitToClick(selectors.invoiceOutDescriptor.acceptDeleteButton);
|
||||||
|
|
|
@ -16,9 +16,7 @@ describe('InvoiceOut manual invoice path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should open the manual invoice form', async() => {
|
it('should open the manual invoice form', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.invoiceOutIndex.createInvoice);
|
await page.waitToClick(selectors.invoiceOutIndex.createInvoice);
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.invoiceOutIndex.createManualInvoice);
|
await page.waitToClick(selectors.invoiceOutIndex.createManualInvoice);
|
||||||
await page.waitForSelector(selectors.invoiceOutIndex.manualInvoiceForm);
|
await page.waitForSelector(selectors.invoiceOutIndex.manualInvoiceForm);
|
||||||
});
|
});
|
||||||
|
@ -46,7 +44,6 @@ describe('InvoiceOut manual invoice path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should now open the manual invoice form', async() => {
|
it('should now open the manual invoice form', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.invoiceOutIndex.createInvoice);
|
await page.waitToClick(selectors.invoiceOutIndex.createInvoice);
|
||||||
await page.waitToClick(selectors.invoiceOutIndex.createManualInvoice);
|
await page.waitToClick(selectors.invoiceOutIndex.createManualInvoice);
|
||||||
await page.waitForSelector(selectors.invoiceOutIndex.manualInvoiceForm);
|
await page.waitForSelector(selectors.invoiceOutIndex.manualInvoiceForm);
|
||||||
|
|
|
@ -34,7 +34,6 @@ describe('Travel descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should be redirected to the create entry view', async() => {
|
it('should be redirected to the create entry view', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.travelDescriptor.dotMenu);
|
await page.waitToClick(selectors.travelDescriptor.dotMenu);
|
||||||
await page.waitToClick(selectors.travelDescriptor.dotMenuAddEntry);
|
await page.waitToClick(selectors.travelDescriptor.dotMenuAddEntry);
|
||||||
await page.waitForState('entry.create');
|
await page.waitForState('entry.create');
|
||||||
|
@ -90,7 +89,6 @@ describe('Travel descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should be redirected to the create travel when using the clone option of the dot menu', async() => {
|
it('should be redirected to the create travel when using the clone option of the dot menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.travelDescriptor.dotMenu);
|
await page.waitToClick(selectors.travelDescriptor.dotMenu);
|
||||||
await page.waitToClick(selectors.travelDescriptor.dotMenuClone);
|
await page.waitToClick(selectors.travelDescriptor.dotMenuClone);
|
||||||
await page.respondToDialog('accept');
|
await page.respondToDialog('accept');
|
||||||
|
@ -116,7 +114,6 @@ describe('Travel descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should atempt to clone the travel and its entries using the descriptor menu but receive an error', async() => {
|
it('should atempt to clone the travel and its entries using the descriptor menu but receive an error', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.travelDescriptor.dotMenu);
|
await page.waitToClick(selectors.travelDescriptor.dotMenu);
|
||||||
await page.waitToClick(selectors.travelDescriptor.dotMenuCloneWithEntries);
|
await page.waitToClick(selectors.travelDescriptor.dotMenuCloneWithEntries);
|
||||||
await page.waitToClick(selectors.travelDescriptor.acceptClonation);
|
await page.waitToClick(selectors.travelDescriptor.acceptClonation);
|
||||||
|
|
|
@ -17,7 +17,6 @@ describe('Zone descriptor path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should eliminate the zone using the descriptor option', async() => {
|
it('should eliminate the zone using the descriptor option', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.zoneDescriptor.menu);
|
await page.waitToClick(selectors.zoneDescriptor.menu);
|
||||||
await page.waitToClick(selectors.zoneDescriptor.deleteZone);
|
await page.waitToClick(selectors.zoneDescriptor.deleteZone);
|
||||||
await page.respondToDialog('accept');
|
await page.respondToDialog('accept');
|
||||||
|
|
|
@ -91,7 +91,6 @@ describe('Account create and basic data path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should activate the account using the descriptor menu', async() => {
|
it('should activate the account using the descriptor menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.accountDescriptor.menuButton);
|
await page.waitToClick(selectors.accountDescriptor.menuButton);
|
||||||
await page.waitToClick(selectors.accountDescriptor.activateAccount);
|
await page.waitToClick(selectors.accountDescriptor.activateAccount);
|
||||||
await page.waitToClick(selectors.accountDescriptor.acceptButton);
|
await page.waitToClick(selectors.accountDescriptor.acceptButton);
|
||||||
|
@ -139,7 +138,6 @@ describe('Account create and basic data path', () => {
|
||||||
|
|
||||||
describe('Set password', () => {
|
describe('Set password', () => {
|
||||||
it('should set the password using the descriptor menu', async() => {
|
it('should set the password using the descriptor menu', async() => {
|
||||||
await page.waitForTimeout(1000); // initialization of functionality takes about 1000ms to work
|
|
||||||
await page.waitToClick(selectors.accountDescriptor.menuButton);
|
await page.waitToClick(selectors.accountDescriptor.menuButton);
|
||||||
await page.waitToClick(selectors.accountDescriptor.setPassword);
|
await page.waitToClick(selectors.accountDescriptor.setPassword);
|
||||||
await page.write(selectors.accountDescriptor.newPassword, 'quantum.crypt0graphy');
|
await page.write(selectors.accountDescriptor.newPassword, 'quantum.crypt0graphy');
|
||||||
|
|
Loading…
Reference in New Issue