small spec fixes
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c254604572
commit
acf8c117b0
|
@ -58,7 +58,7 @@ describe('Ticket descriptor path', () => {
|
||||||
it(`should search for the deleted ticket and check it's date`, async() => {
|
it(`should search for the deleted ticket and check it's date`, async() => {
|
||||||
await page.write(selectors.ticketsIndex.topbarSearch, '18');
|
await page.write(selectors.ticketsIndex.topbarSearch, '18');
|
||||||
await page.waitToClick(selectors.ticketsIndex.searchButton);
|
await page.waitToClick(selectors.ticketsIndex.searchButton);
|
||||||
await page.expectURL('/summary');
|
await page.waitForState('ticket.card.summary');
|
||||||
const result = await page.waitToGetProperty(selectors.ticketsIndex.searchResultDate, 'innerText');
|
const result = await page.waitToGetProperty(selectors.ticketsIndex.searchResultDate, 'innerText');
|
||||||
|
|
||||||
expect(result).toContain(2000);
|
expect(result).toContain(2000);
|
||||||
|
|
|
@ -31,7 +31,7 @@ describe('Zone basic data path', () => {
|
||||||
await page.clearInput(selectors.zoneBasicData.travelingDays);
|
await page.clearInput(selectors.zoneBasicData.travelingDays);
|
||||||
await page.write(selectors.zoneBasicData.travelingDays, '1');
|
await page.write(selectors.zoneBasicData.travelingDays, '1');
|
||||||
await page.clearInput(selectors.zoneBasicData.closing);
|
await page.clearInput(selectors.zoneBasicData.closing);
|
||||||
await page.type(selectors.zoneBasicData.closing, '09:00PM');
|
await page.pickTime(selectors.zoneBasicData.closing, '21:00');
|
||||||
await page.clearInput(selectors.zoneBasicData.price);
|
await page.clearInput(selectors.zoneBasicData.price);
|
||||||
await page.write(selectors.zoneBasicData.price, '999');
|
await page.write(selectors.zoneBasicData.price, '999');
|
||||||
await page.clearInput(selectors.zoneBasicData.bonus);
|
await page.clearInput(selectors.zoneBasicData.bonus);
|
||||||
|
|
Loading…
Reference in New Issue