File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 11import {
2- activeWindow ,
32 assert ,
43 Button ,
54 centerOf ,
@@ -88,7 +87,7 @@ describe("E2E drag & drop demo", () => {
8887} ) ;
8988
9089describe ( "E2E mouse button demo" , ( ) => {
91- it ( "should run without throwing" , async ( ) => {
90+ it ( "should click all mouse buttons without throwing" , async ( ) => {
9291 jest . setTimeout ( 60000 ) ;
9392 screen . config . resourceDirectory = "./e2e/assets" ;
9493 for ( const btn of [ Button . RIGHT , Button . MIDDLE , Button . LEFT ] ) {
@@ -98,17 +97,3 @@ describe("E2E mouse button demo", () => {
9897 }
9998 } ) ;
10099} ) ;
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