Skip to content
Closed
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 @@ -2,6 +2,7 @@ import { createScreenshotsComparer } from 'devextreme-screenshot-comparer';
import DateRangeBox from 'devextreme-testcafe-models/dateRangeBox';
import {
appendElementTo,
insertStylesheetRulesToPage,
setAttribute,
} from '../../../helpers/domUtils';
import url from '../../../helpers/getPageUrl';
Expand Down Expand Up @@ -645,6 +646,7 @@ test('Disabled dates on end date select (disableOutOfRangeSelection: true)', asy
.expect(compareResults.isValid())
.ok(compareResults.errorMessages());
}).before(async () => {
await insertStylesheetRulesToPage('* { caret-color: transparent !important; }');
await appendElementTo('#container', 'div', 'dateRangeBox');
await setAttribute('#container', 'style', 'width: 800px; height: 500px; padding-top: 10px;');

Expand Down Expand Up @@ -680,6 +682,7 @@ test('Disabled dates on inputs focus (disableOutOfRangeSelection: true)', async
.expect(compareResults.isValid())
.ok(compareResults.errorMessages());
}).before(async () => {
await insertStylesheetRulesToPage('* { caret-color: transparent !important; }');
await appendElementTo('#container', 'div', 'dateRangeBox');
await setAttribute('#container', 'style', 'width: 800px; height: 500px; padding-top: 10px;');

Expand Down
Loading