Skip to content

Commit e7931ee

Browse files
author
Julia Volkova
committed
screenshots for textbox with limited width, ids for detebox
1 parent a010c76 commit e7931ee

4 files changed

Lines changed: 5 additions & 1 deletion

File tree

e2e/testcafe-devextreme/tests/editors/dateBox/validationMessage.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createScreenshotsComparer } from 'devextreme-screenshot-comparer';
22
import DateBox from 'devextreme-testcafe-models/dateBox';
3+
import Guid from 'devextreme/core/guid';
34
import { safeSizeTest } from '../../../helpers/safeSizeTest';
45
import url from '../../../helpers/getPageUrl';
56
import { createWidget } from '../../../helpers/createWidget';
@@ -55,9 +56,12 @@ safeSizeTest('DateBox ValidationMessage position is correct', async (t) => {
5556
await t
5657
.expect(compareResults.isValid())
5758
.ok(compareResults.errorMessages());
58-
}, [600, 400]).before(async () => {
59+
}, [600, 400]).before(async (t) => {
5960
// eslint-disable-next-line no-restricted-syntax
6061
for (const position of positions) {
62+
const id = `${`dx${new Guid()}`}`;
63+
64+
t.ctx.ids.push(id);
6165
await createWidget('dxDateBox', {
6266
elementAttr: { style: 'display: inline-block; margin: 50px 100px 0 0;' },
6367
width: 150,
44.1 KB
Loading
49.9 KB
Loading
42.9 KB
Loading

0 commit comments

Comments
 (0)