From ea95a7acbfa37f2ab1aede7c2f622ee218c403f8 Mon Sep 17 00:00:00 2001 From: TestDino Inc Date: Mon, 6 Oct 2025 12:11:10 +0530 Subject: [PATCH 1/3] Updated the yml file replace the token in stage --- pages/ProductDetailsPage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/ProductDetailsPage.js b/pages/ProductDetailsPage.js index 748b3ef..759e63d 100644 --- a/pages/ProductDetailsPage.js +++ b/pages/ProductDetailsPage.js @@ -82,6 +82,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(); From 1b74e5e630381349985564034727f36d94cc7901 Mon Sep 17 00:00:00 2001 From: TestDino Inc Date: Mon, 6 Oct 2025 12:26:26 +0530 Subject: [PATCH 2/3] Updated the yml file replace the token in stage --- pages/ProductDetailsPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/ProductDetailsPage.js b/pages/ProductDetailsPage.js index 759e63d..d9b4198 100644 --- a/pages/ProductDetailsPage.js +++ b/pages/ProductDetailsPage.js @@ -10,6 +10,7 @@ class ProductDetailsPage extends BasePage{ super(page); this.page = page; } + locators = { plusIconToAddQuantity: '[aria-label="plus"]', @@ -82,7 +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(); From 2fbb770be93092858580ca7f3745ed394e325bef Mon Sep 17 00:00:00 2001 From: TestDino Inc Date: Mon, 6 Oct 2025 12:49:25 +0530 Subject: [PATCH 3/3] Updated the yml file replace the token in stage --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 511b063..4d2aea0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 \ No newline at end of file