web: fix tag tests

This commit is contained in:
Abdullah Atta
2023-11-28 13:55:34 +05:00
parent 4ff051130b
commit 6186e22006
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
});
}
}

View File

@@ -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>