Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 53
#5308 Fix the error when sending password-protected emails that contain emojis#5321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
d708e73063cae6703fde473f31bf83eb2ee38715e1271aca3b3306c604f8de1140bfc14157117c987f0c74b1caff06e358fa17ce56a21f9710fe721a4f456e690e23475250df0d7fec5c60047935bd5fe40106cf31106adFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -66,6 +66,24 @@ export const defineComposeTests = (testVariant: TestVariant, testWithBrowser: Te | ||
| }) | ||
| ); | ||
| test( | ||
| 'compose - strip emojis in a recipient email address', | ||
| testWithBrowser(async (t, browser) => { | ||
| const acct = 'flowcrypt.compatibility@gmail.com'; | ||
| await BrowserRecipe.setupCommonAcctWithAttester(t, browser, 'compatibility', { | ||
| google: { acctAliases: flowcryptCompatibilityAliasList }, | ||
| }); | ||
| const recipientEmail = 'NameWithEmoji ⭐ Test <test@email.com>'; | ||
| const msgPwd = 'super hard password for the message'; | ||
| const subject = 'Test Sending Message With Recipient Name Contains Emoji'; | ||
| const composePage = await ComposePageRecipe.openStandalone(t, browser, 'compatibility'); | ||
| await ComposePageRecipe.selectFromOption(composePage, acct); | ||
| await ComposePageRecipe.fillMsg(composePage, { to: recipientEmail }, subject); | ||
| await ComposePageRecipe.sendAndClose(composePage, { password: msgPwd }); | ||
martgil marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| // The actualt test for this is present in '/shared-tenant-fes/api/v1/message' of shared-tenant-fes mock endpoint. | ||
| }) | ||
| ); | ||
| test( | ||
| 'compose - check for sender [flowcrypt.compatibility@gmail.com] from a password-protected email', | ||
| testWithBrowser(async (t, browser) => { | ||
Uh oh!
There was an error while loading. Please reload this page.