Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Sep 20, 2024
1 parent fb8e369 commit ce769da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/e2e/tests/given-schema/contents.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
*/

import { ContentPage, ContentsPage } from '../pages';
import { escapeRegex, getRandomId } from '../utils';
import { getRandomId } from '../utils';
import { expect, test } from './_fixture';

test.beforeEach(async ({ appName, schemaName, contentsPage }) => {
await contentsPage.goto(appName, schemaName);
await contentsPage.increasePageSize();
});

test('has header', async ({ page, schemaName }) => {
const header = page.getByRole('heading', { name: escapeRegex(schemaName) });
test('has header', async ({ page }) => {
const header = page.getByRole('heading', { name: 'Contents' });

expect(header).toBeVisible();
});
Expand Down

0 comments on commit ce769da

Please sign in to comment.