parent
08bb07e680
commit
f6ea850027
|
@ -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 ({
|
||||||
|
|
|
@ -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");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -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 }) => {
|
||||||
|
|
Loading…
Reference in New Issue