🥚(e2e) fix e2e easter egg
Some checks failed
Helmfile lint / helmfile-lint (push) Has been cancelled
Release Chart / release (push) Has been cancelled

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
No known key found for this signature in database

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({