Skip to content

Commit

Permalink
Changes title for Giving (#42)
Browse files Browse the repository at this point in the history
* Changes title
  • Loading branch information
jlengrand authored Aug 25, 2023
1 parent a496058 commit 8057d8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/giving/card-and-donation-cancel.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { test, expect } = require('@playwright/test');
test('Card and Cancel', async ({ page }) => {
await page.goto('/');

await expect(page).toHaveTitle(/Checkout Demo - Select type/);
await expect(page).toHaveTitle(/Adyen Giving Demo - Select type/);

// Select "Card"
await page.getByRole('link', { name: 'Card', exact: true }).click();
Expand Down Expand Up @@ -43,4 +43,4 @@ test('Card and Cancel', async ({ page }) => {
await page.getByText('Not now').click();

await expect(page.locator('text="Donate"')).toBeHidden();
});
});
4 changes: 2 additions & 2 deletions tests/giving/card-and-donation.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { test, expect } = require('@playwright/test');
test('Card and donate', async ({ page }) => {
await page.goto('/');

await expect(page).toHaveTitle(/Checkout Demo - Select type/);
await expect(page).toHaveTitle(/Adyen Giving Demo - Select type/);

// Select "Card"
await page.getByRole('link', { name: 'Card', exact: true }).click();
Expand Down Expand Up @@ -44,4 +44,4 @@ test('Card and donate', async ({ page }) => {
await page.getByText('Donate').click();

await expect(page.locator('text="Thank you for your donation!"')).toBeVisible();
});
});

0 comments on commit 8057d8b

Please sign in to comment.