mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
Show 'Verify this device' toast even if there are no encrypted rooms yet (#32891)
* Show 'Verify this device' toast even if there are no encrypted rooms yet * Close verify toast in more tests
This commit is contained in:
@@ -19,6 +19,7 @@ test.describe("Room Status Bar", () => {
|
||||
const roomId = await app.client.createRoom({
|
||||
name: "A room",
|
||||
});
|
||||
await app.closeVerifyToast();
|
||||
await app.closeNotificationToast();
|
||||
await app.viewRoomById(roomId);
|
||||
await use({ roomId });
|
||||
@@ -139,6 +140,7 @@ test.describe("Room Status Bar", () => {
|
||||
"should show an error when creating a local room fails",
|
||||
{ tag: "@screenshot" },
|
||||
async ({ page, app, user, bot }) => {
|
||||
await app.closeVerifyToast();
|
||||
await page
|
||||
.getByRole("navigation", { name: "Room list" })
|
||||
.getByRole("button", { name: "New conversation" })
|
||||
|
||||
Reference in New Issue
Block a user