Skip to content

Commit

Permalink
Skip broken map test (#3060)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Bulychev <[email protected]>
  • Loading branch information
iBat and Alexander Bulychev authored Nov 30, 2023
1 parent 8b8e5ab commit 8d35b3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions testing/common.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ const getTestSpecificSkipRules = (testName) => {
'Scheduler',
'PivotGrid',
];
const BROKEN_THIRD_PARTY_SCRIPTS_COMPONENT = [
'Map',
];

getDemoPaths(approach).forEach((demoPath, index) => {
if (!shouldRunTestAtIndex(index + 1) || !existsSync(demoPath)) { return; }
Expand Down Expand Up @@ -157,6 +160,9 @@ const getTestSpecificSkipRules = (testName) => {
if (process.env.STRATEGY === 'accessibility' && ACCESSIBILITY_UNSUPPORTED_COMPONENTS.indexOf(widgetName) > -1) {
return;
}
if (BROKEN_THIRD_PARTY_SCRIPTS_COMPONENT.indexOf(widgetName) > -1) {
return;
}
if (process.env.CI_ENV && process.env.DISABLE_DEMO_TEST_SETTINGS !== 'ignore') {
if (mergedTestSettings.ignore) { return; }
}
Expand Down

0 comments on commit 8d35b3c

Please sign in to comment.