Skip to content

Commit 00e2cc5

Browse files
update etalons
1 parent f10f7da commit 00e2cc5

File tree

371 files changed

+27
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

371 files changed

+27
-8
lines changed

apps/demos/testing/common.test.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ const getTestSpecificSkipRules = (testName) => {
3838
return ['empty-table-header'];
3939
case 'Localization-UsingGlobalize':
4040
return ['label'];
41+
case 'DataGrid-EditStateManagement':
42+
return ['aria-required-parent'];
4143
default:
4244
return [];
4345
}
@@ -185,7 +187,14 @@ Object.values(FRAMEWORKS).forEach((approach) => {
185187
looksSameComparisonOptions: { antialiasingTolerance: 10 },
186188
});
187189
} else {
188-
comparisonResult = await compareScreenshot(t, `${testName}${getThemePostfix(testTheme)}.png`, undefined, comparisonOptions);
190+
comparisonResult = await compareScreenshot(t, `${testName}${getThemePostfix(testTheme)}.png`, undefined, comparisonOptions && {
191+
...comparisonOptions,
192+
looksSameComparisonOptions: {
193+
antialiasingTolerance: 8,
194+
textTolerance: 10,
195+
threshold: 0.1,
196+
},
197+
});
189198
}
190199

191200
const consoleMessages = await t.getBrowserConsoleMessages();
-426 Bytes
7 Bytes
1.48 KB
314 Bytes
1.66 KB
120 Bytes
-60 Bytes
-143 Bytes
374 Bytes

0 commit comments

Comments
 (0)