Skip to content

Commit

Permalink
Merge pull request #650 from Satellite-im/luis/manage-members
Browse files Browse the repository at this point in the history
test(update): close manage members modal manually after bug fix
  • Loading branch information
luisecm authored Mar 4, 2024
2 parents 641fd2b + 6245a3b commit 54eeb9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions tests/specs/reusable-accounts/10-group-chats-edit.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ export default async function groupChatEditTests() {
await manageMembers.typeOnSearchUserInput("ChatUserB");
await manageMembers.clickOnFirstRemoveButton();

//await manageMembers.validateNothingHereIsDisplayed();
//await chatsTopbar.exitManageMembers();
await manageMembers.validateNothingHereIsDisplayed();
await chatsTopbar.exitManageMembers();

await chatsSidebar.validateNoModalIsOpen();
await chatsTopbar.validateTopbarExists();
Expand Down Expand Up @@ -161,9 +161,8 @@ export default async function groupChatEditTests() {
await manageMembers.typeOnSearchUserInput("ChatUserB");
await manageMembers.clickOnFirstAddButton();

//await manageMembers.validateNothingHereIsDisplayed();

//await chatsTopbar.exitManageMembers();
await manageMembers.validateNothingHereIsDisplayed();
await chatsTopbar.exitManageMembers();

await chatsSidebar.validateNoModalIsOpen();
await chatsTopbar.validateTopbarExists();
Expand Down
4 changes: 2 additions & 2 deletions tests/specs/reusable-accounts/11-group-chats-sidebar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ export default async function groupChatSidebarTests() {
await manageMembers.typeOnSearchUserInput("ChatUserB");
await manageMembers.clickOnFirstAddButton();

//await manageMembers.validateNothingHereIsDisplayed();
await manageMembers.validateNothingHereIsDisplayed();

// Close Manage Members and validate topbar contents has correct number of participants
// await chatsTopbar.exitManageMembers();
await chatsTopbar.exitManageMembers();

await chatsSidebar.validateNoModalIsOpen();
await chatsTopbar.validateTopbarExists();
Expand Down

0 comments on commit 54eeb9a

Please sign in to comment.