✨(frontend) doc page when deleted
Whe the doc is deleted, the doc page is a bit different, we have to adapt the doc header to add some information and actions that are relevant for a deleted doc.
This commit is contained in:
@@ -96,7 +96,7 @@ test.describe('Doc Header', () => {
|
||||
page.getByRole('heading', { name: 'Delete a doc' }),
|
||||
).toBeVisible();
|
||||
|
||||
await expect(page.getByText(`This document and any sub-`)).toBeVisible();
|
||||
await expect(page.getByText(`This document will be`)).toBeVisible();
|
||||
|
||||
await page
|
||||
.getByRole('button', {
|
||||
|
||||
Reference in New Issue
Block a user