1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Migrate one-to-one-chat.spec.ts from Cypress to Playwright (#11953)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2023-11-28 11:02:50 +00:00
committed by GitHub
parent dbae856141
commit 1c72bb9e6f
5 changed files with 57 additions and 74 deletions

View File

@@ -58,9 +58,7 @@ export const test = base.extend<
startHomeserverOpts: StartHomeserverOpts | string;
homeserver: HomeserverInstance;
oAuthServer: { port: number };
user: Credentials & {
displayName: string;
};
user: Credentials;
displayName?: string;
app: ElementAppPage;
mailhog?: { api: mailhog.API; instance: Instance };
@@ -144,10 +142,7 @@ export const test = base.extend<
await page.waitForSelector(".mx_MatrixChat", { timeout: 30000 });
await use({
...credentials,
displayName,
});
await use(credentials);
},
axe: async ({ page }, use) => {