Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeniyKiyashko committed Jan 14, 2025
1 parent cdd99f0 commit 8b86196
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 2 deletions.
5 changes: 5 additions & 0 deletions apps/demos/testing/common.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ const SKIPPED_TESTS = {
Charts: [
{ demo: 'PiesWithEqualSize', themes: [THEME.material] },
{ demo: 'CustomAnnotations', themes: [THEME.material] },
{ demo: 'ServerSideDataProcessing', themes: [THEME.material] },
{ demo: 'SubvalueIndicatorTextFormatting', themes: [THEME.material] },
],
DataGrid: [
{ demo: 'SignalRService', themes: [THEME.material, THEME.fluent] },
Expand Down Expand Up @@ -188,6 +190,8 @@ const SKIPPED_TESTS = {
{ demo: 'TilingAlgorithms', themes: [THEME.material] },
{ demo: 'ExportAndPrintingAPI', themes: [THEME.material] },
{ demo: 'DiscreteAxisZoomingAndScrolling', themes: [THEME.material] },
{ demo: 'Line', themes: [THEME.material] },
{ demo: 'Spline', themes: [THEME.material] },
{ demo: 'Colorization', themes: [THEME.material] },
{ demo: 'SignalRService', themes: [THEME.material] },
{ demo: 'PointsAggregation', themes: [THEME.material] },
Expand Down Expand Up @@ -235,6 +239,7 @@ const SKIPPED_TESTS = {
],
Gauges: [
{ demo: 'Overview', themes: [THEME.material] },
{ demo: 'VariableNumberOfSubvalueIndicators', themes: [THEME.material] },
{ demo: 'ScaleLabelFormatting', themes: [THEME.material] },
{ demo: 'SubvalueIndicatorTextFormatting', themes: [THEME.material] },
{ demo: 'DifferentValueIndicatorTypes', themes: [THEME.material] },
Expand Down
3 changes: 3 additions & 0 deletions apps/demos/utils/visual-tests/matrix-test-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ const SKIPPED_TESTS = {
{ demo: 'Overview', themes: [THEME.material] },
{ demo: 'ZoomingAndScrollingAPI', themes: [THEME.material] },
{ demo: 'ZoomingOnAreaSelection', themes: [THEME.material] },
{ demo: 'CustomLegendMarkers', themes: [THEME.material] },
{ demo: 'DialogsAndNotificationsOverview', themes: [THEME.material] },
],
VectorMap: [
Expand Down Expand Up @@ -307,6 +308,8 @@ const SKIPPED_TESTS = {
Charts: [
{ demo: 'Overview', themes: [THEME.material] },
{ demo: 'ZoomingAndScrollingAPI', themes: [THEME.material] },
{ demo: 'Crosshair', themes: [THEME.material] },
{ demo: 'CustomAnnotations', themes: [THEME.material] },
{ demo: 'CustomLegendMarkers', themes: [THEME.material] },
],
DataGrid: [
Expand Down
4 changes: 4 additions & 0 deletions e2e/testcafe-devextreme/tests/chat/messageList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { createWidget } from '../../helpers/createWidget';
import { testScreenshot } from '../../helpers/themeUtils';
import { insertStylesheetRulesToPage } from '../../helpers/domUtils';

const waitFont = ClientFunction(() => (window as any).DevExpress.ui.themes.waitWebFont('Item123somevalu*op ', 400));

fixture.disablePageReloads`ChatMessageList`
.page(url(__dirname, '../container.html'));

Expand Down Expand Up @@ -163,6 +165,8 @@ test('Messagelist with loadindicator appearance on initial loading', async (t) =
}).before(async () => {
await insertStylesheetRulesToPage('.dx-loadindicator-content, .dx-loadindicator-icon, .dx-loadindicator-segment, .dx-loadindicator-segment-inner { animation-play-state: paused !important; }');

await waitFont();

await createWidget('dxChat', () => {
const data: Message[] = [];

Expand Down
6 changes: 4 additions & 2 deletions e2e/testcafe-devextreme/tests/chat/typingIndicator.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import { createScreenshotsComparer } from 'devextreme-screenshot-comparer';
import Chat from 'devextreme-testcafe-models/chat';
import { ClientFunction } from 'testcafe';
import { createUser, generateMessages } from './data';
import url from '../../helpers/getPageUrl';
import { createWidget } from '../../helpers/createWidget';
import { getFullThemeName, testScreenshot } from '../../helpers/themeUtils';
import { appendElementTo, insertStylesheetRulesToPage } from '../../helpers/domUtils';

const CHAT_TYPINGINDICATOR_CIRCLE_CLASS = 'dx-chat-typingindicator-circle';
const waitFont = ClientFunction(() => (window as any).DevExpress.ui.themes.waitWebFont('Item123somevalu*op ', 400));

fixture.disablePageReloads`ChatTypingIndicator`
.page(url(__dirname, '../container.html'));
Expand All @@ -15,8 +17,6 @@ test('Chat: typing indicator with emptyview', async (t) => {
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);
const chat = new Chat('#container');

await chat.repaint();

await testScreenshot(t, takeScreenshot, 'Typing indicator with emptyview.png', {
element: '#container',
shouldTestInCompact: true,
Expand Down Expand Up @@ -44,6 +44,8 @@ test('Chat: typing indicator with emptyview', async (t) => {
{ name: 'Elodie Montclair' },
];

await waitFont();

return createWidget('dxChat', {
width: 400,
height: 600,
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.
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.
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.
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 8b86196

Please sign in to comment.