File tree 1 file changed +1
-16
lines changed
1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 1
1
import {
2
- activeWindow ,
3
2
assert ,
4
3
Button ,
5
4
centerOf ,
@@ -88,7 +87,7 @@ describe("E2E drag & drop demo", () => {
88
87
} ) ;
89
88
90
89
describe ( "E2E mouse button demo" , ( ) => {
91
- it ( "should run without throwing" , async ( ) => {
90
+ it ( "should click all mouse buttons without throwing" , async ( ) => {
92
91
jest . setTimeout ( 60000 ) ;
93
92
screen . config . resourceDirectory = "./e2e/assets" ;
94
93
for ( const btn of [ Button . RIGHT , Button . MIDDLE , Button . LEFT ] ) {
@@ -98,17 +97,3 @@ describe("E2E mouse button demo", () => {
98
97
}
99
98
} ) ;
100
99
} ) ;
101
-
102
- describe ( "E2E window demo" , ( ) => {
103
- it ( "should list gnome-calculator" , async ( ) => {
104
- jest . setTimeout ( 30000 ) ;
105
- screen . config . resourceDirectory = "./e2e/assets" ;
106
- await run ( "uxterm" ) ;
107
- await sleep ( 1500 ) ;
108
- const foregroundWindow = await activeWindow ( ) ;
109
- const windowTitle = await foregroundWindow . title ;
110
- await close ( ) ;
111
-
112
- expect ( windowTitle ) . toBe ( "uxterm" )
113
- } ) ;
114
- } ) ;
You can’t perform that action at this time.
0 commit comments