Iterate landmarks around the app in order to improve a11y (#26776)

This commit is contained in:
Michael Telatynski 2023-12-20 15:32:23 +00:00 committed by GitHub
parent da90425289
commit 0d86bab0dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -377,7 +377,7 @@ describe("loading:", function () {
it("does not show a login view", async function () {
await awaitRoomView(matrixChat);
await screen.findByLabelText("Spaces");
await screen.getByRole("tree", { name: "Spaces" });
expect(screen.queryAllByText("Sign in")).toHaveLength(0);
});
});