fix
gitea/salix/2053_e2e_tiquet_request This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2020-02-27 10:58:58 +01:00
parent 05d038fa99
commit 262e0cd447
2 changed files with 3 additions and 3 deletions

View File

@ -70,13 +70,13 @@ describe('Client Add address path', () => {
});
it(`should confirm the new address exists and it's the default one`, async() => {
await page.waitFor(2000); // needs more than a single second to load the section
const result = await page.waitToGetProperty(selectors.clientAddresses.defaultAddress, 'innerText');
expect(result).toContain('320 Park Avenue New York');
});
it(`should click on the make default icon of the second address`, async() => {
await page.waitForContentLoaded();
it('should click on the make default icon of the second address', async() => {
await page.waitToClick(selectors.clientAddresses.secondMakeDefaultStar);
const result = await page.waitForLastSnackbar();

View File

@ -36,7 +36,7 @@ describe('Ticket purchase request path', () => {
});
it(`should edit the third request quantity as it's state is still new`, async() => {
await page.waitForContentLoaded();
await page.waitFor(2000); // looks like it needs more than a single second some times to load
await page.write(selectors.ticketRequests.thirdRequestQuantity, '9');
await page.keyboard.press('Enter');
const result = await page.waitForLastSnackbar();