Skip to content

Commit

Permalink
try to fix paypal test
Browse files Browse the repository at this point in the history
  • Loading branch information
novikov82 committed Nov 1, 2024
1 parent 1f2fd5b commit e0da831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playwright/payment.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ test('PayPal: failed test payment', async ({ page }) => {
await frameLocatorNested.locator('input[name="email"]').click();
await frameLocatorNested.locator('input[name="email"]').fill("[email protected]");

const payNow = await frameLocatorNested.getByRole('button', { name: 'Pay Now' });
const payNow = await frameLocatorNested.locator('#submit-button');

await payNow.click();

Expand Down

0 comments on commit e0da831

Please sign in to comment.