Skip to content

Commit 571240b

Browse files
should fail with timeout
1 parent 660077c commit 571240b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ jobs:
8484
docker exec -w /data/extensions/magento2 magento npx playwright install
8585
8686
- name: Run tests
87-
run: docker exec -w /data/extensions/magento2 magento npx playwright test --project=chromium
87+
run: docker exec --env PW_TEST_HTML_REPORT_OPEN=never -w /data/extensions/magento2 magento npx playwright test --project=chromium --reporter=line

tests/e2e/pages/order-confirmation-page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ export class OrderConfirmationPage {
1414
// Methods
1515
async waitForProcessingAndReturnToStore() {
1616
await this.paymentBeingProcessedText().isVisible();
17-
await expect(this.orderConfirmedText()).toBeVisible({timeout: 60000});
17+
await expect(this.orderConfirmedText()).toBeVisible({timeout: 1});
1818
}
1919
}

tests/e2e/pages/payment-confirmation-page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class PaymentConfirmationPage {
1414

1515
// Methods
1616
async waitForProcessingAndContinue() {
17-
await expect(this.paymentProcessingText().or(this.paymentConfirmedText())).toBeVisible({timeout: 10000})
17+
await expect(this.paymentProcessingText().or(this.paymentConfirmedText())).toBeVisible({timeout: 15000})
1818
await expect(this.continueButton()).toBeVisible();
1919
await this.continueButton().click();
2020
}

0 commit comments

Comments
 (0)