🚚(frontend) rename feature summary to table of content

We rename the feature summary to table of content
to better reflect the feature purpose.
This commit is contained in:
Anthony LC
2024-09-17 14:53:31 +02:00
committed by Anthony LC
parent ed39c01608
commit 5bd78b8068
12 changed files with 41 additions and 33 deletions

View File

@@ -6,9 +6,14 @@ test.beforeEach(async ({ page }) => {
await page.goto('/');
});
test.describe('Doc Summary', () => {
test('it checks the doc summary', async ({ page, browserName }) => {
const [randomDoc] = await createDoc(page, 'doc-summary', browserName, 1);
test.describe('Doc Table Content', () => {
test('it checks the doc table content', async ({ page, browserName }) => {
const [randomDoc] = await createDoc(
page,
'doc-table-content',
browserName,
1,
);
await expect(page.locator('h2').getByText(randomDoc)).toBeVisible();