element-portable/cypress/e2e
Suguru Hirahara 05ef1d5560
Update sliding-sync.spec.ts - use Cypress Testing Library (#10618)
* Update sliding-sync.spec.ts - use Cypress Testing Library

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use findByRole() - group, treeitem

The elements with ARIA "treeitem" role resides in ones with ARIA "group" role such as Favourites, People, and Invites. The elements with the "treeitem" role correspond to rooms on the room list.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use the library more - 'should render the Rooms list in reverse chronological order by default and allowing sorting A-Z'

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use cy.findAllByRole("treeitem")

Note the Test room is excluded from being counted thanks to within().

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Rename the rooms to avoid confusion

Since it has been unclear "Join" etc. is a verb or a room name, the room
names are changed as below:

- Join -> Room to Join
- Reject -> Room to Reject (the invite)
- Rescind -> Room to Rescind (the invite)

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Specify ARIA label for the room sublist headers

Have different ARIA labels specified for "mx_RoomSublist" and "mx_RoomSublist_headerContainer" to clarify the structure.

Change the test to check the new ARIA label.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* lint

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Fix a race condition

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Revert "Specify ARIA label for the room sublist headers"

This reverts commit 193a47de4c0fac4139d7c689fa020d6f0acc6819.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Fix realHover() target

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-04-21 09:32:26 +00:00
..
audio-player Update audio-player.spec.ts to reflect the latest status (#10537) 2023-04-10 10:53:23 +00:00
composer Update composer.spec.ts to use findBy* type queries (#10538) 2023-04-11 06:07:25 +00:00
create-room Update create-room.spec.ts - deprecate custom commands (#10542) 2023-04-11 06:09:38 +00:00
crypto Add Cypress tests for the "complete security" phase (#10668) 2023-04-20 11:04:51 +00:00
editing Update editing.spec.ts (#10543) 2023-04-11 08:22:45 +00:00
integration-manager Update send_event.spec.ts - use Cypress Testing Library (#10613) 2023-04-17 08:32:32 +00:00
lazy-loading Update lazy-loading.spec.ts - use Cypress Testing Library (#10591) 2023-04-17 16:01:09 +00:00
location Update location.spec.ts - use Cypress Testing Library (#10612) 2023-04-17 08:24:09 +00:00
login Update login.spec.ts - use Cypress Testing Library (#10597) 2023-04-14 11:40:43 +00:00
one-to-one-chat Update one-to-one-chat.spec.ts - use Cypress Testing Library (#10572) 2023-04-12 13:11:28 +00:00
permalinks Implement permalink end-2-end test (#10434) 2023-03-29 13:52:57 +02:00
polls Update polls.spec.ts - use Cypress Testing Library (#10609) 2023-04-17 18:19:08 +00:00
register Update register.spec.ts - use Cypress Testing Library (#10566) 2023-04-11 17:37:05 +00:00
regression-tests Update pills-click-in-app.spec.ts - use Cypress Testing Library (#10582) 2023-04-16 22:50:57 +00:00
right-panel Update file-panel.spec.ts - use Cypress Testing Library (#10574) 2023-04-17 11:07:27 +00:00
room Update room.spec.ts - use Cypress Testing Library (#10608) 2023-04-17 07:35:14 +00:00
room-directory Update room-directory.spec.ts - use Cypress Testing Library (#10596) 2023-04-17 09:54:35 +00:00
settings Add E2E test - general-user-settings-tab.spec.ts (#10658) 2023-04-20 13:18:19 +00:00
sliding-sync Update sliding-sync.spec.ts - use Cypress Testing Library (#10618) 2023-04-21 09:32:26 +00:00
spaces Update spaces.spec.ts - use Cypress Testing Library (#10620) 2023-04-20 21:36:44 +00:00
spotlight Update spotlight.spec.ts - use Cypress Testing Library (#10621) 2023-04-17 14:06:20 +00:00
threads Add arrow key controls to emoji and reaction pickers (#10637) 2023-04-20 14:56:21 +00:00
timeline Update tests to ensure file size unit has been fixed (#10568) 2023-04-12 10:21:13 +00:00
toasts Add dendrite support to cypress tests (#9884) 2023-01-10 16:29:56 -07:00
update Add dendrite support to cypress tests (#9884) 2023-01-10 16:29:56 -07:00
user-menu Update user-menu.spec.ts - use Cypress Testing Library (#10578) 2023-04-12 12:56:34 +00:00
user-onboarding Add dendrite support to cypress tests (#9884) 2023-01-10 16:29:56 -07:00
user-view Update user-view.spec.ts - use Cypress Testing Library (#10577) 2023-04-12 15:55:10 +00:00
widgets Update events.spec.ts - use Cypress Testing Library (#10590) 2023-04-20 09:33:31 +00:00