-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '24_2' of github.com:DevExpress/DevExtreme into Paginati…
…on_Localization_24_2
- Loading branch information
Showing
164 changed files
with
1,969 additions
and
312 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
apps/demos/Demos/HtmlEditor/OutputFormats/Angular/app/app.component.ts
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
import { createScreenshotsComparer } from 'devextreme-screenshot-comparer'; | ||
import Chat from 'devextreme-testcafe-models/chat'; | ||
import { createUser } from './data'; | ||
import url from '../../helpers/getPageUrl'; | ||
import { createWidget } from '../../helpers/createWidget'; | ||
import { getFullThemeName, testScreenshot } from '../../helpers/themeUtils'; | ||
|
||
fixture.disablePageReloads`ChatErrorList` | ||
.page(url(__dirname, '../container.html')); | ||
|
||
test('Errorlist appearance', async (t) => { | ||
const { takeScreenshot, compareResults } = createScreenshotsComparer(t); | ||
const chat = new Chat('#container'); | ||
|
||
await testScreenshot(t, takeScreenshot, 'Errorlist with one error.png', { element: '#container' }); | ||
|
||
await chat.option('errors', [ | ||
{ id: 1, message: 'Error Message 1. Error Description...' }, | ||
{ id: 2, message: 'Error Message 2. Message was not sent' }, | ||
{ id: 3, message: 'Error Message 3. An unexpected issue occurred while processing your request. Please check your internet connection or contact support for further assistance.' }, | ||
]); | ||
|
||
await testScreenshot(t, takeScreenshot, 'Errorlist with long text in error.png', { | ||
element: '#container', | ||
shouldTestInCompact: true, | ||
compactCallBack: async () => { | ||
await chat.repaint(); | ||
}, | ||
}); | ||
|
||
const darkTheme = getFullThemeName().replace('light', 'dark'); | ||
await testScreenshot(t, takeScreenshot, 'Errorlist with long text in error.png', { element: '#container', theme: darkTheme }); | ||
|
||
await chat.option('rtlEnabled', true); | ||
|
||
await testScreenshot(t, takeScreenshot, 'Errorlist appearance in RTL mode.png', { element: '#container' }); | ||
|
||
await t | ||
.expect(compareResults.isValid()) | ||
.ok(compareResults.errorMessages()); | ||
}).before(async () => { | ||
const userFirst = createUser(1, 'First'); | ||
const userSecond = createUser(2, 'Second'); | ||
const msInDay = 86400000; | ||
const today = new Date().setHours(7, 22, 0, 0); | ||
const yesterday = today - msInDay; | ||
|
||
const items = [{ | ||
timestamp: yesterday, | ||
author: userSecond, | ||
text: 'Message text 1', | ||
}, { | ||
timestamp: yesterday, | ||
author: userSecond, | ||
text: 'Message text 2', | ||
}, { | ||
timestamp: today, | ||
author: userFirst, | ||
text: 'Message text 3', | ||
}, { | ||
timestamp: today, | ||
author: userFirst, | ||
text: 'Message text 4', | ||
}, { | ||
timestamp: today, | ||
author: userFirst, | ||
text: 'Message text 5', | ||
}]; | ||
|
||
return createWidget('dxChat', { | ||
items, | ||
user: userFirst, | ||
width: 400, | ||
height: 600, | ||
errors: [{ id: 1, message: 'Error Message 1. Error Description...' }], | ||
}); | ||
}); |
Binary file added
BIN
+51.7 KB
...eme/tests/chat/etalons/Errorlist appearance in RTL mode (fluent-blue-light).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
+48.2 KB
...extreme/tests/chat/etalons/Errorlist appearance in RTL mode (generic-light).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
+49 KB
...e/tests/chat/etalons/Errorlist appearance in RTL mode (material-blue-light).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
+51.5 KB
...eme/tests/chat/etalons/Errorlist with long text in error (fluent-blue-dark).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
+51.8 KB
...me/tests/chat/etalons/Errorlist with long text in error (fluent-blue-light).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
+43.5 KB
.../chat/etalons/Errorlist with long text in error (fluent-blue-light-compact).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
+46.4 KB
...extreme/tests/chat/etalons/Errorlist with long text in error (generic-dark).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
+48.2 KB
...xtreme/tests/chat/etalons/Errorlist with long text in error (generic-light).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
+42.1 KB
...ests/chat/etalons/Errorlist with long text in error (generic-light-compact).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
+45.8 KB
...e/tests/chat/etalons/Errorlist with long text in error (material-blue-dark).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
+49 KB
.../tests/chat/etalons/Errorlist with long text in error (material-blue-light).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
+43.9 KB
...hat/etalons/Errorlist with long text in error (material-blue-light-compact).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
+30.6 KB
...-devextreme/tests/chat/etalons/Errorlist with one error (fluent-blue-light).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
+28.7 KB
...cafe-devextreme/tests/chat/etalons/Errorlist with one error (generic-light).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
+30.1 KB
...evextreme/tests/chat/etalons/Errorlist with one error (material-blue-light).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
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
-1.59 KB
(97%)
...adaptability_sticky_columns_with_adaptive_detail_row_1_(rtlEnabled_=_false).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
-1.59 KB
(97%)
.../adaptability_sticky_columns_with_adaptive_detail_row_1_(rtlEnabled_=_true).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
-1.25 KB
(97%)
...adaptability_sticky_columns_with_adaptive_detail_row_2_(rtlEnabled_=_false).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
-1.26 KB
(97%)
.../adaptability_sticky_columns_with_adaptive_detail_row_2_(rtlEnabled_=_true).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
+90.2 KB
...xtreme/tests/dataGrid/stickyColumns/etalons/edit_cell_with_sticky_columns_1.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
+83.7 KB
...xtreme/tests/dataGrid/stickyColumns/etalons/edit_cell_with_sticky_columns_2.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
+90.3 KB
e2e/testcafe-devextreme/tests/dataGrid/stickyColumns/etalons/edit_fixed_cell_1.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
+83.8 KB
e2e/testcafe-devextreme/tests/dataGrid/stickyColumns/etalons/edit_fixed_cell_2.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
+90.2 KB
...tests/dataGrid/stickyColumns/etalons/edit_fixed_cell_with_sticky_position_1.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
+83.3 KB
...tests/dataGrid/stickyColumns/etalons/edit_fixed_cell_with_sticky_position_2.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
+61 KB
...xtreme/tests/dataGrid/stickyColumns/etalons/edit_form_with_sticky_columns_1.png
Oops, something went wrong.
Binary file added
BIN
+57.2 KB
...xtreme/tests/dataGrid/stickyColumns/etalons/edit_form_with_sticky_columns_2.png
Oops, something went wrong.
Binary file added
BIN
+91 KB
...extreme/tests/dataGrid/stickyColumns/etalons/edit_row_with_sticky_columns_1.png
Oops, something went wrong.
Binary file added
BIN
+80 KB
...extreme/tests/dataGrid/stickyColumns/etalons/edit_row_with_sticky_columns_2.png
Oops, something went wrong.
Binary file added
BIN
+62.1 KB
.../stickyColumns/etalons/filter_row_with_sticky_columns_1_(fluent.blue.light).png
Oops, something went wrong.
Binary file added
BIN
+91.9 KB
...Grid/stickyColumns/etalons/filter_row_with_sticky_columns_1_(generic.light).png
Oops, something went wrong.
Binary file added
BIN
+60.7 KB
...tickyColumns/etalons/filter_row_with_sticky_columns_1_(material.blue.light).png
Oops, something went wrong.
Binary file added
BIN
+55.3 KB
.../stickyColumns/etalons/filter_row_with_sticky_columns_2_(fluent.blue.light).png
Oops, something went wrong.
Binary file added
BIN
+86.5 KB
...Grid/stickyColumns/etalons/filter_row_with_sticky_columns_2_(generic.light).png
Oops, something went wrong.
Binary file added
BIN
+53.7 KB
...tickyColumns/etalons/filter_row_with_sticky_columns_2_(material.blue.light).png
Oops, something went wrong.
Binary file modified
BIN
-6.76 KB
(93%)
...e-devextreme/tests/dataGrid/stickyColumns/etalons/masterdetail-scroll-begin.png
Oops, something went wrong.
Binary file modified
BIN
-5.31 KB
(94%)
...-devextreme/tests/dataGrid/stickyColumns/etalons/masterdetail-scroll-center.png
Oops, something went wrong.
Binary file modified
BIN
-5.38 KB
(94%)
...afe-devextreme/tests/dataGrid/stickyColumns/etalons/masterdetail-scroll-end.png
Oops, something went wrong.
Binary file added
BIN
+62.1 KB
...ts/dataGrid/stickyColumns/etalons/simulated_scrollbar_with_sticky_columns_1.png
Oops, something went wrong.
Binary file added
BIN
+66.7 KB
...ts/dataGrid/stickyColumns/etalons/simulated_scrollbar_with_sticky_columns_2.png
Oops, something went wrong.
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
Oops, something went wrong.