Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const HORIZONTAL_VIEW_CROSS_SCROLLING_CASES = {
HORIZONTAL_VIEW_CROSS_SCROLLING_CASES,
].forEach(({ views, expect, crossScrollingEnabled }) => {
views.forEach((view) => {
test.skip(
test(
`Cells should have correct sizes and css classes (view:${view}, crossScrolling:${crossScrollingEnabled})`,
async (t) => {
const scheduler = new Scheduler(SELECTOR);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,19 @@ test.skip('Appointment should not repaint after scrolling if present on viewport
const { element } = scheduler.getAppointment('', 0);

await setStyleAttribute(element, 'background-color: red;');
await t.expect(await getStyleAttribute(element)).eql('transform: translate(525px, 200px); width: 49px; height: 100px; background-color: red;');
const initialStyle = await getStyleAttribute(element);

await scrollToDate(new Date(2020, 8, 17, 4));
await t.wait(300);

await t.expect(await getStyleAttribute(element)).eql('transform: translate(525px, 200px); width: 49px; height: 100px; background-color: red;');
await t.expect(await getStyleAttribute(element)).eql(initialStyle);
}).before(async () => {
await createWidget('dxScheduler', {
height: 600,
width: 800,
currentDate: new Date(2020, 8, 7),
scrolling: {
mode: 'virtual',
orientation: 'both',
outlineCount: 0,
},
currentView: 'week',
views: [{
Expand Down
Loading