From bc6e3a75cd2799f4491c1f1d123330fd324c965b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souchet=20C=C3=A9line?= <4921914+csouchet@users.noreply.github.com> Date: Tue, 27 Oct 2020 15:55:42 +0100 Subject: [PATCH] [TEST] Rename visual tests for BPMN rendering (#837) --- ...ression-associations-and-annotations-1-snap.png} | Bin ...mn-elements-visual-regression-events-1-snap.png} | Bin ...al-regression-flows-message-01-icons-1-snap.png} | Bin ...-message-02-labels-and-complex-paths-1-snap.png} | Bin ...ows-sequence-kinds-and-complex-paths-1-snap.png} | Bin ...-elements-visual-regression-gateways-1-snap.png} | Bin ...-visual-regression-labels-01-general-1-snap.png} | Bin ...n-labels-02-position-and-line-breaks-1-snap.png} | Bin ...egression-labels-03-default-position-1-snap.png} | Bin ...al-regression-markers-01-positioning-1-snap.png} | Bin ...ion-markers-02-different-tasks-sizes-1-snap.png} | Bin ...regression-pools-01-labels-and-lanes-1-snap.png} | Bin ...ression-pools-02-vertical-with-lanes-1-snap.png} | Bin ...visual-regression-pools-03-black-box-1-snap.png} | Bin ...-regression-subprocess-01-with-lanes-1-snap.png} | Bin ...-subprocess-02-with-inner-subprocess-1-snap.png} | Bin ...ubprocess-03-collapsed-with-elements-1-snap.png} | Bin ...pmn-elements-visual-regression-tasks-1-snap.png} | Bin test/e2e/bpmn.rendering.test.ts | 2 +- 19 files changed, 1 insertion(+), 1 deletion(-) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-associations-and-annotations-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-associations-and-annotations-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-events-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-events-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-flows-message-01-icons-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-flows-message-01-icons-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-flows-message-02-labels-and-complex-paths-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-flows-message-02-labels-and-complex-paths-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-flows-sequence-kinds-and-complex-paths-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-flows-sequence-kinds-and-complex-paths-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-gateways-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-gateways-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-labels-01-general-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-labels-01-general-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-labels-02-position-and-line-breaks-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-labels-02-position-and-line-breaks-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-labels-03-default-position-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-labels-03-default-position-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-markers-01-positioning-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-markers-01-positioning-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-markers-02-different-tasks-sizes-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-markers-02-different-tasks-sizes-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-pools-01-labels-and-lanes-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-pools-01-labels-and-lanes-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-pools-02-vertical-with-lanes-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-pools-02-vertical-with-lanes-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-pools-03-black-box-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-pools-03-black-box-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-subprocess-01-with-lanes-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-subprocess-01-with-lanes-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-subprocess-02-with-inner-subprocess-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-subprocess-02-with-inner-subprocess-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-subprocess-03-collapsed-with-elements-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-subprocess-03-collapsed-with-elements-1-snap.png} (100%) rename test/e2e/__image_snapshots__/{bpmn-rendering-test-ts-no-visual-regression-tasks-1-snap.png => bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-tasks-1-snap.png} (100%) diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-associations-and-annotations-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-associations-and-annotations-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-associations-and-annotations-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-associations-and-annotations-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-events-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-events-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-events-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-events-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-flows-message-01-icons-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-flows-message-01-icons-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-flows-message-01-icons-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-flows-message-01-icons-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-flows-message-02-labels-and-complex-paths-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-flows-message-02-labels-and-complex-paths-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-flows-message-02-labels-and-complex-paths-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-flows-message-02-labels-and-complex-paths-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-flows-sequence-kinds-and-complex-paths-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-flows-sequence-kinds-and-complex-paths-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-flows-sequence-kinds-and-complex-paths-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-flows-sequence-kinds-and-complex-paths-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-gateways-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-gateways-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-gateways-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-gateways-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-labels-01-general-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-labels-01-general-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-labels-01-general-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-labels-01-general-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-labels-02-position-and-line-breaks-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-labels-02-position-and-line-breaks-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-labels-02-position-and-line-breaks-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-labels-02-position-and-line-breaks-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-labels-03-default-position-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-labels-03-default-position-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-labels-03-default-position-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-labels-03-default-position-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-markers-01-positioning-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-markers-01-positioning-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-markers-01-positioning-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-markers-01-positioning-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-markers-02-different-tasks-sizes-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-markers-02-different-tasks-sizes-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-markers-02-different-tasks-sizes-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-markers-02-different-tasks-sizes-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-pools-01-labels-and-lanes-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-pools-01-labels-and-lanes-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-pools-01-labels-and-lanes-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-pools-01-labels-and-lanes-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-pools-02-vertical-with-lanes-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-pools-02-vertical-with-lanes-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-pools-02-vertical-with-lanes-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-pools-02-vertical-with-lanes-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-pools-03-black-box-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-pools-03-black-box-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-pools-03-black-box-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-pools-03-black-box-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-subprocess-01-with-lanes-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-subprocess-01-with-lanes-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-subprocess-01-with-lanes-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-subprocess-01-with-lanes-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-subprocess-02-with-inner-subprocess-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-subprocess-02-with-inner-subprocess-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-subprocess-02-with-inner-subprocess-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-subprocess-02-with-inner-subprocess-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-subprocess-03-collapsed-with-elements-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-subprocess-03-collapsed-with-elements-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-subprocess-03-collapsed-with-elements-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-subprocess-03-collapsed-with-elements-1-snap.png diff --git a/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-tasks-1-snap.png b/test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-tasks-1-snap.png similarity index 100% rename from test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-visual-regression-tasks-1-snap.png rename to test/e2e/__image_snapshots__/bpmn-rendering-test-ts-no-bpmn-elements-visual-regression-tasks-1-snap.png diff --git a/test/e2e/bpmn.rendering.test.ts b/test/e2e/bpmn.rendering.test.ts index 44714310a2..a525ed090d 100644 --- a/test/e2e/bpmn.rendering.test.ts +++ b/test/e2e/bpmn.rendering.test.ts @@ -16,7 +16,7 @@ import { findFiles } from '../helpers/file-helper'; import { BpmnDiagramPreparation, BpmnLoadMethod, ImageSnapshotConfigurator, ImageSnapshotThresholdConfig, PageTester } from './helpers/visu-utils'; -describe('no visual regression', () => { +describe('no BPMN elements visual regression', () => { const imageSnapshotConfigurator = new ImageSnapshotConfigurator( new Map([ [