-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix: dupliated contact search result * feat: added ui test * fix: pr review
- Loading branch information
Showing
3 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -190,11 +190,13 @@ export const defineComposeTests = (testVariant: TestVariant, testWithBrowser: Te | |
await composePage1.type('@input-to', 'human'); // test guessing of contacts | ||
await composePage1.waitAll(['@container-contacts', '@action-select-contact-name(Human at FlowCrypt)']); | ||
await composePage1.waitAll(['@container-contacts', '@action-select-contact-email([email protected])']); | ||
await composePage1.ensureElementsCount('@action-select-contact-email([email protected])', 1); | ||
// works on subsequent search | ||
const composePage2 = await ComposePageRecipe.openStandalone(t, browser, 'compose'); | ||
await composePage2.type('@input-to', 'human'); // test guessing of contacts | ||
await composePage2.waitAll(['@container-contacts', '@action-select-contact-name(Human at FlowCrypt)']); | ||
await composePage2.waitAll(['@container-contacts', '@action-select-contact-email([email protected])']); | ||
await composePage1.ensureElementsCount('@action-select-contact-email([email protected])', 1); | ||
}) | ||
); | ||
|
||
|