File tree Expand file tree Collapse file tree
e2e/testcafe-devextreme/tests/scheduler/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ const HORIZONTAL_VIEW_CROSS_SCROLLING_CASES = {
9595 HORIZONTAL_VIEW_CROSS_SCROLLING_CASES ,
9696] . forEach ( ( { views, expect, crossScrollingEnabled } ) => {
9797 views . forEach ( ( view ) => {
98- test . skip (
98+ test (
9999 `Cells should have correct sizes and css classes (view:${ view } , crossScrolling:${ crossScrollingEnabled } )` ,
100100 async ( t ) => {
101101 const scheduler = new Scheduler ( SELECTOR ) ;
Original file line number Diff line number Diff line change @@ -9,25 +9,24 @@ import { scrollToDate } from '../../helpers/utils';
99fixture . disablePageReloads `Scheduler: Virtual Scrolling`
1010 . page ( url ( __dirname , '../../../container.html' ) ) ;
1111
12- test . skip ( 'Appointment should not repaint after scrolling if present on viewport' , async ( t ) => {
12+ test ( 'Appointment should not repaint after scrolling if present on viewport' , async ( t ) => {
1313 const scheduler = new Scheduler ( '#container' ) ;
1414 const { element } = scheduler . getAppointment ( '' , 0 ) ;
1515
1616 await setStyleAttribute ( element , 'background-color: red;' ) ;
17- await t . expect ( await getStyleAttribute ( element ) ) . eql ( 'transform: translate(525px, 200px); width: 49px; height: 100px; background-color: red;' ) ;
17+ const initialStyle = await getStyleAttribute ( element ) ;
1818
1919 await scrollToDate ( new Date ( 2020 , 8 , 17 , 4 ) ) ;
20+ await t . wait ( 300 ) ;
2021
21- await t . expect ( await getStyleAttribute ( element ) ) . eql ( 'transform: translate(525px, 200px); width: 49px; height: 100px; background-color: red;' ) ;
22+ await t . expect ( await getStyleAttribute ( element ) ) . eql ( initialStyle ) ;
2223} ) . before ( async ( ) => {
2324 await createWidget ( 'dxScheduler' , {
2425 height : 600 ,
2526 width : 800 ,
2627 currentDate : new Date ( 2020 , 8 , 7 ) ,
2728 scrolling : {
2829 mode : 'virtual' ,
29- orientation : 'both' ,
30- outlineCount : 0 ,
3130 } ,
3231 currentView : 'week' ,
3332 views : [ {
You can’t perform that action at this time.
0 commit comments