🎨(frontend) standalone component DocTagPublic
We want to rerender the public tag when we update the visibility of a document. The problem is that the public tag is not a standalone component, so to have it rerender we needed to rerender the whole document, it is not visually nice. We created a standalone component for the public tag, so when we update the visibility of a document, only the public tag will be rerender.
This commit is contained in:
@@ -67,6 +67,12 @@ export const createDoc = async (
|
||||
await page.locator('.c__modal__backdrop').click({
|
||||
position: { x: 0, y: 0 },
|
||||
});
|
||||
|
||||
await expect(
|
||||
page
|
||||
.getByLabel('It is the card information about the document.')
|
||||
.getByText('Public'),
|
||||
).toBeVisible();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user