Make apps/web/playwright comply with strict mode (#34403)

* Make apps/web/playwright comply with strict mode

Otherwise it sometimes fails to compile matrix-js-sdk as strict mode & noImplicitAny both impact how overloads are asserted

* Iterate
This commit is contained in:
Michael Telatynski
2026-07-30 09:07:03 +00:00
committed by GitHub
parent 4a18eac927
commit 42253a7ae5
84 changed files with 413 additions and 388 deletions
@@ -18,7 +18,7 @@ test.describe("Presence tests", () => {
// This is failing on CI (https://github.com/element-hq/element-web/issues/27270)
// but not locally, so debugging this is going to be tricky. Let's disable it for now.
test.skip("renders unreachable presence state correctly", async ({ page, app, user, bot: bob }) => {
await app.client.createRoom({ name: "My Room", invite: [bob.credentials.userId] });
await app.client.createRoom({ name: "My Room", invite: [bob.credentials!.userId] });
await app.viewRoomByName("My Room");
await bob.evaluate(async (client) => {
@@ -36,7 +36,7 @@ test.describe("Presence tests", () => {
events: [
{
type: "m.presence",
sender: bob.credentials.userId,
sender: bob.credentials!.userId,
content: {
presence: "io.element.unreachable",
currently_active: false,