✨(frontend) update meta title for docs page
We update the meta title for the docs page with the title of the document. It will be easier for the user to identify the document in their browser tab, in their bookmarks and history.
This commit is contained in:
@@ -55,6 +55,10 @@ test.describe('Doc Create', () => {
|
||||
true,
|
||||
);
|
||||
|
||||
expect(await page.locator('title').textContent()).toMatch(
|
||||
/My new doc - Docs/,
|
||||
);
|
||||
|
||||
const header = page.locator('header').first();
|
||||
await header.locator('h2').getByText('Docs').click();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user