Skip to content

Commit

Permalink
Update button selector (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcatanese authored Sep 18, 2024
1 parent 52367fd commit 072b0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/giving/card-and-donation.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test('Card and donate', async ({ page }) => {
await utilities.fillComponentCardDetails(page, { cardNumber: '5555 3412 4444 1115'});

// Click "Pay" button and go to Giving component
const payButton = page.locator('.adyen-checkout__button__text >> visible=true');
const payButton = page.locator('text="Pay €100.00"');
await expect(payButton).toBeVisible();
await payButton.click();

Expand Down

0 comments on commit 072b0d5

Please sign in to comment.