File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 1
1
import {
2
2
assert ,
3
- Button ,
4
3
centerOf ,
5
4
down ,
6
5
Key ,
@@ -42,10 +41,6 @@ const close = async () => {
42
41
await mouse . leftClick ( ) ;
43
42
} ;
44
43
45
- afterEach ( async ( ) => {
46
- await keyboard . type ( Key . LeftControl , Key . LeftAlt , Key . D ) ;
47
- } ) ;
48
-
49
44
describe ( "E2E screen test" , ( ) => {
50
45
it ( "should throw on invalid images" , async ( ) => {
51
46
jest . setTimeout ( 30000 ) ;
@@ -90,15 +85,3 @@ describe("E2E drag & drop demo", () => {
90
85
expect ( Math . abs ( dest . height - expected . height ) ) . toBeLessThanOrEqual ( maxDiff ) ;
91
86
} ) ;
92
87
} ) ;
93
-
94
- describe ( "E2E mouse button demo" , ( ) => {
95
- it ( "should click all mouse buttons without throwing" , async ( ) => {
96
- jest . setTimeout ( 60000 ) ;
97
- screen . config . resourceDirectory = "./e2e/assets" ;
98
- for ( const btn of [ Button . RIGHT , Button . MIDDLE , Button . LEFT ] ) {
99
- await mouse . pressButton ( btn ) ;
100
- await sleep ( 10 ) ;
101
- await mouse . releaseButton ( btn ) ;
102
- }
103
- } ) ;
104
- } ) ;
You can’t perform that action at this time.
0 commit comments