Skip to content

Commit

Permalink
remove tags and yml tags
Browse files Browse the repository at this point in the history
  • Loading branch information
erikacolette29 committed Oct 1, 2024
1 parent b8ab653 commit a3db0fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 23 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
countries: [MODALS]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -29,22 +24,12 @@ jobs:
run: |
./.github/scripts/runServerV2.sh
- name: Run Playwright Modals
run: npx playwright test tests/playwright/tests/sdk/modals --grep @${{matrix.countries}} --output=playwright-report-${{matrix.countries}}

- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-modal-${{matrix.countries}}
path: playwright-report/
retention-days: 1

# - name: Run Playwright Messages
# run: npx playwright test tests/playwright/tests/sdk/messages --grep @${{matrix.countries}} --output=playwright-report-${{matrix.countries}}
- name: Run Playwright Tests
run: npx playwright test tests/playwright/tests/sdk/messages

- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-message-${{matrix.countries}}
name: playwright-report
path: playwright-report/
retention-days: 1
retention-days: 1
8 changes: 4 additions & 4 deletions tests/playwright/tests/sdk/modals/multi.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { modalTest } from '../../../pages/modals_fixture';

modalTest.describe('@MODALS Long Term Modals', () => {
modalTest.describe('Long Term Modals', () => {
modalTest('US LONG TERM MULTI & LT Q', async ({ navigatePage, loadModal, modalAxeCoreScan }) => {
await navigatePage({ account: 'DEV_US_MULTI', amount: 1501, offer: 'PAY_LATER_LONG_TERM' });
const modalIframe = await loadModal();
Expand Down Expand Up @@ -37,7 +37,7 @@ modalTest.describe('@MODALS Long Term Modals', () => {
});
});

modalTest.describe('@MODALS Short Term Modals', () => {
modalTest.describe('Short Term Modals', () => {
modalTest('US SHORT TERM MULTI & ST Q', async ({ navigatePage, loadModal, modalAxeCoreScan }) => {
await navigatePage({ account: 'DEV_US_MULTI', amount: 200, offer: 'PAY_LATER_SHORT_TERM' });
const modalIframe = await loadModal();
Expand Down Expand Up @@ -75,15 +75,15 @@ modalTest.describe('@MODALS Short Term Modals', () => {
});
});

modalTest.describe('@MODALS US/DE Product List Modals', () => {
modalTest.describe('US/DE Product List Modals', () => {
modalTest('US, DE PRODUCT LIST', async ({ navigatePage, loadModal, modalAxeCoreScan }) => {
await navigatePage({ account: 'DEV_US_MULTI', amount: 200, offer: '' });
const modalIframe = await loadModal();
await modalAxeCoreScan(modalIframe);
});
});

modalTest.describe('@MODALS US/GB Checkout', () => {
modalTest.describe('US/GB Checkout', () => {
modalTest('GB SHORT TERM CHECKOUT Q', async ({ navigatePage, loadModal, modalAxeCoreScan }) => {
await navigatePage({ account: 'DEV_GB_SHORT_TERM_CHECKOUT', amount: 200, offer: 'PAY_LATER_SHORT_TERM' });
const modalIframe = await loadModal();
Expand Down

0 comments on commit a3db0fd

Please sign in to comment.