Skip to content

Commit eaf8bbe

Browse files
author
marker dao ®
committed
feat(tests): Increase timeout && Skip Chat AI Demo in Material
1 parent dc06301 commit eaf8bbe

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

apps/demos/testing/common.test.js

+12
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ const getTestSpecificSkipRules = (testName) => {
6262

6363
const SKIPPED_TESTS = {
6464
jQuery: {
65+
Chat: [
66+
{ demo: 'AIAndChatbotIntegration', themes: [THEME.material] },
67+
],
6568
Charts: [
6669
{ demo: 'ServerSideDataProcessing', themes: [THEME.material] },
6770
],
@@ -77,6 +80,9 @@ const SKIPPED_TESTS = {
7780
],
7881
},
7982
Angular: {
83+
Chat: [
84+
{ demo: 'AIAndChatbotIntegration', themes: [THEME.material] },
85+
],
8086
DataGrid: [
8187
{ demo: 'EditStateManagement', themes: [THEME.generic] },
8288
{ demo: 'MultipleRecordSelectionModes', themes: [THEME.fluent] },
@@ -164,6 +170,9 @@ const SKIPPED_TESTS = {
164170
],
165171
},
166172
React: {
173+
Chat: [
174+
{ demo: 'AIAndChatbotIntegration', themes: [THEME.material] },
175+
],
167176
Charts: [
168177
{ demo: 'PiesWithEqualSize', themes: [THEME.material] },
169178
{ demo: 'CustomAnnotations', themes: [THEME.material] },
@@ -242,6 +251,9 @@ const SKIPPED_TESTS = {
242251
Accordion: [
243252
{ demo: 'Overview', themes: [THEME.generic, THEME.material, THEME.fluent] },
244253
],
254+
Chat: [
255+
{ demo: 'AIAndChatbotIntegration', themes: [THEME.material] },
256+
],
245257
Charts: [
246258
{ demo: 'TilingAlgorithms', themes: [THEME.material] },
247259
{ demo: 'ExportAndPrintingAPI', themes: [THEME.material] },

apps/demos/utils/visual-tests/matrix-test-helper.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const waitForAngularLoading = ClientFunction(() => new Promise((resolve)
4141
let demoAppCounter = 0;
4242
const demoAppIntervalHandle = setInterval(() => {
4343
const demoApp = document.querySelector('demo-app');
44-
if ((demoApp && demoApp.innerText !== 'Loading...') || demoAppCounter === 120) {
44+
if ((demoApp && demoApp.innerText !== 'Loading...') || demoAppCounter === 180) {
4545
setTimeout(resolve, 1000);
4646
clearInterval(demoAppIntervalHandle);
4747
}

0 commit comments

Comments
 (0)