mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 20:41:50 +08:00
fix: favorite button will not work (#1228)
This commit is contained in:
@@ -48,5 +48,12 @@ test.describe('Local first favorite items ui', () => {
|
||||
expect(
|
||||
page.getByRole('cell', { name: 'this is a new page to favorite' })
|
||||
).not.toBeUndefined();
|
||||
|
||||
await page.getByRole('cell').getByRole('button').nth(0).click();
|
||||
expect(
|
||||
await page
|
||||
.getByText('Click Add to Favorites and the page will appear here.')
|
||||
.isVisible()
|
||||
).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user