@@ -24,17 +24,17 @@ fixture `Default scripts area at Workbench`
24
24
//Go to Workbench page
25
25
await t . click ( myRedisDatabasePage . workbenchButton ) ;
26
26
} )
27
- test . only ( 'Verify that user can resize(maximize)/(minimize) the enablement area (the one with default scripts)' , async t => {
27
+ test ( 'Verify that user can resize(maximize)/(minimize) the enablement area (the one with default scripts)' , async t => {
28
28
const offsetX = 100 ;
29
29
const areaWidthBefore = await workbenchPage . preselectsAreaContainer . clientWidth ;
30
30
//Minimize the area with default scripts
31
31
await t . drag ( workbenchPage . resizeButtonForPreselectsArea , - offsetX , 0 , { speed : 0.1 } ) ;
32
32
await t . expect ( await workbenchPage . preselectsAreaContainer . clientWidth ) . lt ( areaWidthBefore , 'Default scripts area is smaller after resize' ) ;
33
33
//Maximize the area with default scripts
34
34
const areaWidthAfter = await workbenchPage . preselectsAreaContainer . clientWidth ;
35
- await t . doubleClick ( workbenchPage . preselectsAreaContainer ) ;
35
+ await t . click ( workbenchPage . preselectsAreaContainer ) ;
36
36
await t . drag ( workbenchPage . resizeButtonForPreselectsArea , offsetX , 0 , { speed : 0.1 } ) ;
37
- await t . expect ( await workbenchPage . preselectsAreaContainer . clientWidth ) . gt ( areaWidthAfter , 'Default scripts area is bigger after resize' ) ;
37
+ await t . expect ( await workbenchPage . preselectsAreaContainer . clientWidth ) . gte ( areaWidthAfter , 'Default scripts area is bigger after resize' ) ;
38
38
} ) ;
39
39
test ( 'Verify that user can expand/collapse the enablement area' , async t => {
40
40
//Collapse the area with default scripts
0 commit comments