This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 1 file changed +5
-15
lines changed
playwright/e2e/release-announcement
1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 19
19
import { Page } from "@playwright/test" ;
20
20
21
21
import { test as base , expect } from "../../element-web-test" ;
22
- import { ElementAppPage } from "../../pages/ElementAppPage" ;
23
- import { Bot } from "../../pages/bot" ;
24
22
25
23
/**
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.
31
25
*/
32
26
export const test = base . extend < {
33
27
util : Helpers ;
34
28
} > ( {
35
- displayName : "Alice " ,
29
+ displayName : "Mae " ,
36
30
botCreateOpts : { displayName : "Other User" } ,
37
31
38
- util : async ( { page, app , bot } , use ) => {
39
- await use ( new Helpers ( page , app , bot ) ) ;
32
+ util : async ( { page } , use ) => {
33
+ await use ( new Helpers ( page ) ) ;
40
34
} ,
41
35
} ) ;
42
36
43
37
export class Helpers {
44
- constructor (
45
- private page : Page ,
46
- private app : ElementAppPage ,
47
- private bot : Bot ,
48
- ) { }
38
+ constructor ( private page : Page ) { }
49
39
50
40
/**
51
41
* Get the release announcement with the given name.
You can’t perform that action at this time.
0 commit comments