diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 5286431..7bda4a9 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -1,9 +1,8 @@ name: Playwright Tests on: push: - pull_request: - + jobs: CucumberTests-Job: timeout-minutes: 60 @@ -22,16 +21,6 @@ jobs: - name: Cucumber-Tests continue-on-error: true run: npm run cucumber:luma - - name: Update TestRail Result - continue-on-error: true - run: trcli -y - -h https://testautomationportfolio.testrail.io - --project "magento-webapp" - -u capricorn.najeeb@gmail.com - -p Testrun123! - parse_junit - --title "magento-webapp_regression" - -f "./test-results/reports/junit-report.xml" - uses: actions/upload-artifact@v4 if: always() with: @@ -44,4 +33,19 @@ jobs: name: junit-report.xml path: test-results/reports/junit-results.xml retention-days: 30 - \ No newline at end of file + + Update-TestRail-Result: + needs: CucumberTests-Job + runs-on: ubuntu-latest + steps: + - name: Install TestRail CLI + run: pip install trcli + - name: Update TestRail Result + run: trcli -y + -h https://testautomationportfolio.testrail.io + --project "magento-webapp" + -u capricorn.najeeb@gmail.com + -p Testrun123! + parse_junit + --title "magento-webapp_regression" + -f "./test-results/reports/junit-report.xml" diff --git a/src/test/features/UserShoppingByWear.feature b/src/test/features/UserShoppingByWear.feature index 1932de6..7de8cbe 100644 --- a/src/test/features/UserShoppingByWear.feature +++ b/src/test/features/UserShoppingByWear.feature @@ -31,4 +31,4 @@ Feature:Verify that the user is able to purchase some item. Examples: | Section | Attire | EmailAddress | FirstName | LastName | Address | City | State | ZipCode | Country | PhoneNumber | - | Women | Bras & Tanks | randomemail@gmail.com | Ronald | McDonald | Any Street 9112 | New York City | New York | 92784 | United States | 873487682 | \ No newline at end of file + | Women | Bras & Tanks | randomemail@gmail.com | Ronald | McDonald | Any Street 9112 | New York City | New York | 92784 | United Tests | 873487682 | \ No newline at end of file