-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/23_2' into ci/build-aspnet-demos
- Loading branch information
Showing
19 changed files
with
92 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-896 Bytes
(100%)
testing/widgets/common/etalons/common_dialogs_and_notifications_overview_popup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+160 Bytes
(100%)
testing/widgets/datagrid/etalons/datagrid_column_customization_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { Selector as $ } from 'testcafe'; | ||
import { createScreenshotsComparer } from 'devextreme-screenshot-comparer'; | ||
import { runManualTest } from '../../../utils/visual-tests/matrix-test-helper'; | ||
|
||
const FIELD_BUTTON_ITEM_CLASS = '.dx-field-button-item'; | ||
const CHECKBOX_CLASS = '.dx-checkbox'; | ||
|
||
fixture('Form.Validation') | ||
.page('http://localhost:8080/') | ||
.beforeEach(async (t) => { | ||
await t | ||
.resizeWindow(900, 1200); | ||
}); | ||
|
||
runManualTest('Form', 'Validation', ['jQuery', 'Vue', 'Angular'], (test) => { | ||
test('Validation', async (t) => { | ||
const { takeScreenshot, compareResults } = createScreenshotsComparer(t); | ||
|
||
await takeScreenshot('form_validation_summary.png'); | ||
|
||
await t.click($(FIELD_BUTTON_ITEM_CLASS).nth(1)); | ||
await takeScreenshot('form_validation_before_reset.png'); | ||
|
||
await t.click(CHECKBOX_CLASS); | ||
await t.click($(FIELD_BUTTON_ITEM_CLASS).nth(0)); | ||
await takeScreenshot('form_validation_after_reset.png'); | ||
|
||
await t | ||
.expect(compareResults.isValid()) | ||
.ok(compareResults.errorMessages()); | ||
}); | ||
}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+135 Bytes
(100%)
testing/widgets/pivotgrid/etalons/Integrated field chooser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+58 Bytes
(100%)
testing/widgets/popup/etalons/popup with scrollable container.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { createScreenshotsComparer } from 'devextreme-screenshot-comparer'; | ||
import { runManualTest } from '../../../utils/visual-tests/matrix-test-helper'; | ||
|
||
const LIST_SELECTOR = '#list.dx-draggable'; | ||
const LIST_ITEM_SELECTOR = '.dx-card.dx-draggable'; | ||
const DATE_TABLE_CELL_SELECTOR = '.dx-scheduler-date-table .dx-scheduler-date-table-cell'; | ||
const ALL_DAY_PANEL_CELL_SELECTOR = '.dx-scheduler-all-day-table .dx-scheduler-all-day-table-cell'; | ||
const DATE_TABLE_APPOINTMENT_SELECTOR = '.dx-scheduler-date-table-container .dx-scheduler-appointment'; | ||
const ALL_DAY_PANEL_APPOINTMENT_SELECTOR = '.dx-scheduler-all-day-panel .dx-scheduler-appointment'; | ||
|
||
const DRAG_MOUSE_OPTIONS = { speed: 0.5 }; | ||
|
||
fixture('Scheduler.CustomDragAndDrop') | ||
.page('http://localhost:8080/') | ||
.beforeEach(async (t) => { | ||
await t | ||
.resizeWindow(900, 600); | ||
}); | ||
|
||
[ | ||
[LIST_ITEM_SELECTOR, DATE_TABLE_CELL_SELECTOR, 'list', 'date-table'], | ||
[DATE_TABLE_APPOINTMENT_SELECTOR, LIST_SELECTOR, 'date-table', 'list'], | ||
[LIST_ITEM_SELECTOR, ALL_DAY_PANEL_CELL_SELECTOR, 'list', 'all-day-panel'], | ||
[ALL_DAY_PANEL_APPOINTMENT_SELECTOR, LIST_SELECTOR, 'all-day-panel', 'list'], | ||
].forEach(([ | ||
fromSelector, | ||
toSelector, | ||
fromName, | ||
toName, | ||
]) => { | ||
runManualTest('Scheduler', 'CustomDragAndDrop', ['jQuery', 'React', 'Vue', 'Angular'], (test) => { | ||
test(`Should drag-and-drop from ${fromName} to ${toName}`, async (t) => { | ||
const { | ||
takeScreenshot, | ||
compareResults, | ||
} = createScreenshotsComparer(t); | ||
|
||
await t.dragToElement(fromSelector, toSelector, DRAG_MOUSE_OPTIONS); | ||
await takeScreenshot(`scheduler_custom-dnd_${fromName}_${toName}.png`); | ||
|
||
await t | ||
.expect(compareResults.isValid()) | ||
.ok(compareResults.errorMessages()); | ||
}); | ||
}); | ||
}); |
Binary file added
BIN
+66.5 KB
testing/widgets/scheduler/etalons/scheduler_custom-dnd_all-day-panel_list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+66 KB
testing/widgets/scheduler/etalons/scheduler_custom-dnd_date-table_list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+63.9 KB
testing/widgets/scheduler/etalons/scheduler_custom-dnd_list_all-day-panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+65.3 KB
testing/widgets/scheduler/etalons/scheduler_custom-dnd_list_date-table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-55 Bytes
(100%)
testing/widgets/toolbar/etalons/toolbar_singleline_mode_menu_open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.