Skip to content

Commit

Permalink
feat(slb-489): prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dspachos committed Oct 31, 2024
1 parent ba70b1e commit 9ca4d54
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions tests/e2e/specs/drupal/homepage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,19 @@ test.describe('the homepage', () => {
).toBeVisible();
});

test.fixme('redirects to german if german is the preferred language', async ({
browser,
}) => {
const context = await browser.newContext({ locale: 'de-DE' });
const page = await context.newPage();
await page.goto(websiteUrl('/'));
const content = page.getByRole('main');
await expect(
content.getByText('Architektur', { exact: true }),
).toBeVisible();
await context.close();
});
test.fixme(
'redirects to german if german is the preferred language',
async ({ browser }) => {
const context = await browser.newContext({ locale: 'de-DE' });
const page = await context.newPage();
await page.goto(websiteUrl('/'));
const content = page.getByRole('main');
await expect(
content.getByText('Architektur', { exact: true }),
).toBeVisible();
await context.close();
},
);

test('it displays an image', async ({ page }) => {
await page.goto(websiteUrl('/en'));
Expand Down

0 comments on commit 9ca4d54

Please sign in to comment.