Skip to content

Commit d541d05

Browse files
committed
🥚(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.
1 parent 756cf82 commit d541d05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/frontend/apps/e2e/__tests__/app-impress/doc-header.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ test.describe('Doc Header', () => {
179179
await optionMenu.click();
180180
await expect(removeEmojiMenuItem).toBeHidden();
181181
await addEmojiMenuItem.click();
182-
await expect(emojiPicker).toHaveText('📄');
182+
// The 1 April the emoji is a fish
183+
await expect(emojiPicker).toHaveText(/📄|🐟/);
183184

184185
// Change emoji
185186
await emojiPicker.click({

0 commit comments

Comments
 (0)