Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/28880/head
Michael Telatynski 2025-01-06 16:05:47 +00:00
parent 08bb07e680
commit f6ea850027
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
3 changed files with 10 additions and 10 deletions

View File

@ -12,15 +12,6 @@ import { logIntoElement } from "./utils";
test.describe("Complete security", () => { test.describe("Complete security", () => {
test.use({ test.use({
displayName: "Jeff", displayName: "Jeff",
config: {
// The only thing that we really *need* (otherwise Element refuses to load) is a default homeserver.
// We point that to a guaranteed-invalid domain.
default_server_config: {
"m.homeserver": {
base_url: "https://server.invalid",
},
},
},
}); });
test("should go straight to the welcome screen if we have no signed device", async ({ test("should go straight to the welcome screen if we have no signed device", async ({

View File

@ -33,7 +33,7 @@ test.describe("Email Registration", async () => {
}), }),
}); });
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ homeserver, page }) => {
await page.goto("/#/register"); await page.goto("/#/register");
}); });

View File

@ -11,6 +11,15 @@ import { test, expect } from "../../element-web-test";
test.describe("Registration", () => { test.describe("Registration", () => {
test.use({ test.use({
startHomeserverOpts: "consent", startHomeserverOpts: "consent",
config: {
// The only thing that we really *need* (otherwise Element refuses to load) is a default homeserver.
// We point that to a guaranteed-invalid domain.
default_server_config: {
"m.homeserver": {
base_url: "https://server.invalid",
},
},
},
}); });
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {