mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
web: fix tag tests
This commit is contained in:
@@ -200,7 +200,7 @@ test(`sort tags`, async ({ page }, info) => {
|
||||
});
|
||||
if (!sortResult) return;
|
||||
|
||||
expect(await tags.isEmpty()).toBeFalsy();
|
||||
await expect(tags.items).toHaveCount(titles.length);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ function Tag(props: TagProps) {
|
||||
item={item}
|
||||
isCompact
|
||||
title={
|
||||
<Text as="span" variant="body">
|
||||
<Text as="span" variant="body" data-test-id={`title`}>
|
||||
<Text as="span" sx={{ color: "accent" }}>
|
||||
{"#"}
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user