Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ jobs:
retention-days: 14

- name: Send TestDino report
env:
NODE_ENV: staging
# env:
# NODE_ENV: staging
run: |
npx --yes tdpw ./playwright-report \
--token="trx_staging_9d6d5df0ceb85dff581f9d1c502bafb44aaee625e4030f7fb765187e017f01d0" \
--token="${{ secrets.TESTDINO_TOKEN }}" \
--upload-html \
--upload-traces \
--verbose
2 changes: 2 additions & 0 deletions pages/ProductDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class ProductDetailsPage extends BasePage{
super(page);
this.page = page;
}


locators = {
plusIconToAddQuantity: '[aria-label="plus"]',
Expand Down Expand Up @@ -82,6 +83,7 @@ class ProductDetailsPage extends BasePage{
await expect(this.getProductAdditionalInfoTab()).toBeVisible();
}


async clickAddToCartButton() {
await this.getAddToCartButton().click();
await expect(this.page.getByText('Added to the cart')).toBeVisible();
Expand Down
Loading