Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 379a163

Browse files
committed
Clean util file
1 parent 0309486 commit 379a163

File tree

1 file changed

+4
-14
lines changed
  • playwright/e2e/release-announcement

1 file changed

+4
-14
lines changed

playwright/e2e/release-announcement/index.ts

+4-14
Original file line numberDiff line numberDiff line change
@@ -19,33 +19,23 @@
1919
import { Page } from "@playwright/test";
2020

2121
import { test as base, expect } from "../../element-web-test";
22-
import { ElementAppPage } from "../../pages/ElementAppPage";
23-
import { Bot } from "../../pages/bot";
2422

2523
/**
26-
* Set up for a read receipt test:
27-
* - Create a user with the supplied name
28-
* - As that user, create two rooms with the supplied names
29-
* - Create a bot with the supplied name
30-
* - Invite the bot to both rooms and ensure that it has joined
24+
* Set up for release announcement tests.
3125
*/
3226
export const test = base.extend<{
3327
util: Helpers;
3428
}>({
35-
displayName: "Alice",
29+
displayName: "Mae",
3630
botCreateOpts: { displayName: "Other User" },
3731

3832
util: async ({ page, app, bot }, use) => {
39-
await use(new Helpers(page, app, bot));
33+
await use(new Helpers(page));
4034
},
4135
});
4236

4337
export class Helpers {
44-
constructor(
45-
private page: Page,
46-
private app: ElementAppPage,
47-
private bot: Bot,
48-
) {}
38+
constructor(private page: Page) {}
4939

5040
/**
5141
* Get the release announcement with the given name.

0 commit comments

Comments
 (0)