Skip to content

Commit

Permalink
scroll popup in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tucchhaa committed Jan 27, 2025
1 parent d665554 commit 2bad5d4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apps/demos/testing/widgets/datagrid/PopupEditing.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ fixture('DataGrid.PopupEditing')
ctx.initialWindowSize = [900, 600];
});

runManualTest('DataGrid', 'PopupEditing', ['jQuery', 'React', 'Vue', 'Angular'], (test) => {
test('PopupEditing', async (t) => {
runManualTest('DataGrid', 'PopupEditing', ['jQuery'], (test) => {
test.only('PopupEditing', async (t) => {
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);

await testScreenshot(t, takeScreenshot, 'datagrid_popup_editing_1_desktop.png');
Expand All @@ -21,6 +21,10 @@ runManualTest('DataGrid', 'PopupEditing', ['jQuery', 'React', 'Vue', 'Angular'],

await testScreenshot(t, takeScreenshot, 'datagrid_popup_editing_2_desktop.png', '.dx-overlay-content');

await t.scrollBy('.dx-popup-content .dx-scrollable-container', 0, 1000);

await testScreenshot(t, takeScreenshot, 'datagrid_popup_editing_3_desktop.png', '.dx-overlay-content');

await t
.expect(compareResults.isValid())
.ok(compareResults.errorMessages());
Expand Down
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.

0 comments on commit 2bad5d4

Please sign in to comment.