Skip to content

Commit

Permalink
Update fulfillment.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Adameddy26 authored Jun 17, 2024
1 parent b43a638 commit 004b31e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/fulfillment.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ test('Fulfillment', async () => {
if (newTab) {
await newTab.waitForLoadState('load', { timeout: 10000 });
await newTab.close();
console.log('f');
} else {
console.error("New tab did not open");
}
Expand Down Expand Up @@ -234,7 +235,9 @@ test('Fulfillment', async () => {

// Function to click the pack/ship button
async function packShipButton() {
console.log('i');
if (await page.isVisible('.md.button.button-solid.ion-activatable.ion-focusable')) {
console.log('j');
await page.click('.md.button.button-solid.ion-activatable.ion-focusable');
console.log('pack/ship button clicked');
await page.waitForTimeout(3000);
Expand Down

0 comments on commit 004b31e

Please sign in to comment.