Migrate permalinks.spec.ts from Cypress to Playwright (#12004)

* Migrate permalinks.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Stabilise screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2023-12-12 09:56:55 +00:00 committed by GitHub
parent 5104d53ddf
commit 99cb985d53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 116 additions and 140 deletions

View file

@ -104,8 +104,8 @@ export class Client {
public async sendMessage(roomId: string, content: IContent | string): Promise<ISendEventResponse> {
if (typeof content === "string") {
content = {
body: content,
msgtype: "m.text",
body: content,
};
}