Skip to content

Commit a40df96

Browse files
authored
test(e2e): increase some thresholds for chrome (#3374)
The Chrome browser installed on GH Actions runner has been recently updated, so adjust some thresholds.
1 parent 118f3aa commit a40df96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/bpmn.elements.collapsed.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ const getElementsToCollapse = (bpmnDiagramName: string): string[] => {
4545
describe('Collapse BPMN elements', () => {
4646
const diagramSubfolder = 'collapse-expand';
4747
const imageSnapshotConfigurator = new CollapsedElementImageSnapshotConfigurator(
48-
// chromium: max 0.1645741693097058%
48+
// chromium (including chrome): max 0.17189816618451426%
4949
// firefox: max 0.1218238557421536%
5050
// webkit: max 0.14363687914162873%
51-
new MultiBrowserImageSnapshotThresholds({ chromium: 0.17 / 100, firefox: 0.13 / 100, webkit: 0.15 / 100 }),
51+
new MultiBrowserImageSnapshotThresholds({ chromium: 0.18 / 100, firefox: 0.13 / 100, webkit: 0.15 / 100 }),
5252
diagramSubfolder,
5353
);
5454
const pageTester = new PageTester({ targetedPage: AvailableTestPages.BPMN_RENDERING, diagramSubfolder }, page);

0 commit comments

Comments
 (0)