Skip to content

Commit

Permalink
fixup! test(e2e): optional waiting method for page navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
dhhyi committed May 24, 2020
1 parent 0adc809 commit 0d1a2ab
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -35,7 +35,7 @@ export class ProductListModule {
}

gotoProductDetailPageBySku(sku: string, wait: () => unknown = waitLoadingEnd) {
this.productTile(sku).scrollIntoView().click();
this.productTile(sku).scrollIntoView().find('a').wait(500).click();
wait();
}

Expand Down

0 comments on commit 0d1a2ab

Please sign in to comment.