Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>t3chguy/playwright-homeservers
parent
7d8f00f404
commit
e4cff3fba0
|
|
@ -102,6 +102,7 @@ test.describe("Key backup reset from elsewhere", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
test.describe("Backups", () => {
|
test.describe("Backups", () => {
|
||||||
|
test.skip(isDendrite, "Dendrite lacks support for MSC3967 so requires additional auth here");
|
||||||
test.use({
|
test.use({
|
||||||
displayName: "Hanako",
|
displayName: "Hanako",
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,10 @@ Please see LICENSE files in the repository root for full details.
|
||||||
|
|
||||||
import { test, expect } from "../../element-web-test";
|
import { test, expect } from "../../element-web-test";
|
||||||
import { createRoom, enableKeyBackup, logIntoElement, sendMessageInCurrentRoom } from "./utils";
|
import { createRoom, enableKeyBackup, logIntoElement, sendMessageInCurrentRoom } from "./utils";
|
||||||
|
import { isDendrite } from "../../plugins/homeserver/dendrite";
|
||||||
|
|
||||||
test.describe("Logout tests", () => {
|
test.describe("Logout tests", () => {
|
||||||
|
test.skip(isDendrite, "Dendrite lacks support for MSC3967 so requires additional auth here");
|
||||||
test.beforeEach(async ({ page, homeserver, credentials }) => {
|
test.beforeEach(async ({ page, homeserver, credentials }) => {
|
||||||
await logIntoElement(page, credentials);
|
await logIntoElement(page, credentials);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,7 @@ test.describe("Login", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
test.describe("Password login", () => {
|
test.describe("Password login", () => {
|
||||||
|
test.skip(isDendrite, "Dendrite lacks support for MSC3967 so requires additional auth here");
|
||||||
test.use(consentHomeserver);
|
test.use(consentHomeserver);
|
||||||
|
|
||||||
let creds: Credentials;
|
let creds: Credentials;
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import { consentHomeserver } from "../../plugins/homeserver/synapse/consentHomes
|
||||||
import { isDendrite } from "../../plugins/homeserver/dendrite";
|
import { isDendrite } from "../../plugins/homeserver/dendrite";
|
||||||
|
|
||||||
test.describe("Registration", () => {
|
test.describe("Registration", () => {
|
||||||
|
test.skip(isDendrite, "Dendrite lacks support for MSC3967 so requires additional auth here");
|
||||||
test.use(consentHomeserver);
|
test.use(consentHomeserver);
|
||||||
test.use({
|
test.use({
|
||||||
config: {
|
config: {
|
||||||
|
|
@ -32,8 +33,6 @@ test.describe("Registration", () => {
|
||||||
"registers an account and lands on the home screen",
|
"registers an account and lands on the home screen",
|
||||||
{ tag: "@screenshot" },
|
{ tag: "@screenshot" },
|
||||||
async ({ homeserver, page, checkA11y, crypto }) => {
|
async ({ homeserver, page, checkA11y, crypto }) => {
|
||||||
test.skip(isDendrite, "Dendrite lacks support for MSC3967 so requires additional auth here");
|
|
||||||
|
|
||||||
await page.getByRole("button", { name: "Edit", exact: true }).click();
|
await page.getByRole("button", { name: "Edit", exact: true }).click();
|
||||||
await expect(page.getByRole("button", { name: "Continue", exact: true })).toBeVisible();
|
await expect(page.getByRole("button", { name: "Continue", exact: true })).toBeVisible();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue