🥚(e2e) fix e2e easter egg

The test e2e were not working on April 1st
because of the easter egg that changes
the document emoji to a fish.
This commit is contained in:
Anthony LC
2026-04-01 12:34:16 +02:00
parent 30ed563be4
commit 5a687799d5

View File

@@ -179,7 +179,8 @@ test.describe('Doc Header', () => {
await optionMenu.click();
await expect(removeEmojiMenuItem).toBeHidden();
await addEmojiMenuItem.click();
await expect(emojiPicker).toHaveText('📄');
// The 1 April the emoji is a fish
await expect(emojiPicker).toHaveText(/📄|🐟/);
// Change emoji
await emojiPicker.click({