This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tests): properly select peer in networking tests
Instead of using the test ID `peer-dropdown-container` to select a peer we use the newly introduced `peer-dropdown-entry`. The former ID would select the container element and clicking it should not result in peers selection. (In practice this worked though because of how cypress translates clicks to coordinates.) We also inline the `Entry` component for the peer selector dropdown. Signed-off-by: Thomas Scholtes <thomas@monadic.xyz>
- Loading branch information
Thomas Scholtes
committed
Jun 7, 2021
1 parent
7d595d2
commit f880856
Showing
3 changed files
with
32 additions
and
51 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 was deleted.
Oops, something went wrong.