Skip to content

Commit d3e121e

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 d3e121e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,9 @@ test.describe('Doc Header', () => {
179179
await optionMenu.click();
180180
await expect(removeEmojiMenuItem).toBeHidden();
181181
await addEmojiMenuItem.click();
182-
await expect(emojiPicker).toHaveText('📄');
182+
// '📄' or `🐟`
183+
//await expect(emojiPicker).toHaveText(/^[📄🐟]/u);
184+
await expect(emojiPicker).toHaveText(/📄|🐟/);
183185

184186
// Change emoji
185187
await emojiPicker.click({

0 commit comments

Comments
 (0)