Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Unit test CreateRoomDialog#11121

Merged
kerryarchibald merged 4 commits into
developfrom
kerry/test-createroom
Jun 21, 2023
Merged

Unit test CreateRoomDialog#11121
kerryarchibald merged 4 commits into
developfrom
kerry/test-createroom

Conversation

@kerryarchibald
Copy link
Copy Markdown
Contributor

@kerryarchibald kerryarchibald commented Jun 21, 2023

Add test coverage before making changes in #11120

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

@kerryarchibald kerryarchibald added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Jun 21, 2023
@kerryarchibald kerryarchibald marked this pull request as ready for review June 21, 2023 05:52
@kerryarchibald kerryarchibald requested a review from a team as a code owner June 21, 2023 05:52
Copy link
Copy Markdown
Contributor

@germain-gg germain-gg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise, LGTM!

getRoomIdForAlias: jest.fn().mockRejectedValue({ errcode: "M_NOT_FOUND" }),
});

const getE2eeEnableToggle = () => screen.getByTestId("enableE2ee");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use getByLabelText here instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! Thanks for the early morning review :-)

@kerryarchibald kerryarchibald enabled auto-merge June 21, 2023 07:35
@kerryarchibald kerryarchibald added this pull request to the merge queue Jun 21, 2023
Merged via the queue into develop with commit a4cf2af Jun 21, 2023
@kerryarchibald kerryarchibald deleted the kerry/test-createroom branch June 21, 2023 08:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

T-Task Refactoring, enabling or disabling functionality, other engineering tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants