Skip to content

Commit cac6e68

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

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
@@ -65,6 +65,9 @@ const getTestSpecificSkipRules = (testName) => {
6565

6666
const SKIPPED_TESTS = {
6767
jQuery: {
68+
Chat: [
69+
{ demo: 'AIAndChatbotIntegration', themes: [THEME.material] },
70+
],
6871
Charts: [
6972
{ demo: 'ServerSideDataProcessing', themes: [THEME.material] },
7073
],
@@ -80,6 +83,9 @@ const SKIPPED_TESTS = {
8083
],
8184
},
8285
Angular: {
86+
Chat: [
87+
{ demo: 'AIAndChatbotIntegration', themes: [THEME.material] },
88+
],
8389
DataGrid: [
8490
{ demo: 'EditStateManagement', themes: [THEME.generic] },
8591
{ demo: 'MultipleRecordSelectionModes', themes: [THEME.fluent] },
@@ -167,6 +173,9 @@ const SKIPPED_TESTS = {
167173
],
168174
},
169175
React: {
176+
Chat: [
177+
{ demo: 'AIAndChatbotIntegration', themes: [THEME.material] },
178+
],
170179
Charts: [
171180
{ demo: 'PiesWithEqualSize', themes: [THEME.material] },
172181
{ demo: 'CustomAnnotations', themes: [THEME.material] },
@@ -245,6 +254,9 @@ const SKIPPED_TESTS = {
245254
Accordion: [
246255
{ demo: 'Overview', themes: [THEME.generic, THEME.material, THEME.fluent] },
247256
],
257+
Chat: [
258+
{ demo: 'AIAndChatbotIntegration', themes: [THEME.material] },
259+
],
248260
Charts: [
249261
{ demo: 'TilingAlgorithms', themes: [THEME.material] },
250262
{ 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)