Skip to content

Commit

Permalink
NTR - Rename test execution and adjust acdc test
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisGarding committed Jun 26, 2023
1 parent 3391260 commit c2456e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
npm install
npx playwright install --with-deps chromium
- name: Run tests
- name: Execute E2E tests
run: |
cd /shopware/custom/plugins/SwagPaymentPayPalUnified/Tests/E2E
npm run e2e:run
Expand Down
1 change: 1 addition & 0 deletions Tests/E2E/test/pay_with_acdc.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ test.describe('Pay with credit card', () => {

const cancelButton = await cancelForm.locator('input[type="submit"]');
await cancelButton.scrollIntoViewIfNeeded();
await page.waitForTimeout(1000);
await cancelButton.click();

const contingencyHandlerWrapper = await page.locator('div[id~="payments-sdk-contingency-handler"]');
Expand Down

0 comments on commit c2456e0

Please sign in to comment.