diff --git a/cypress/integration/rendering/debug.spec.js b/cypress/integration/rendering/debug.spec.js
new file mode 100644
index 000000000..d3123906f
--- /dev/null
+++ b/cypress/integration/rendering/debug.spec.js
@@ -0,0 +1,14 @@
+/* eslint-env jest */
+import { imgSnapshotTest } from '../../helpers/util';
+
+describe('Flowchart', () => {
+
+ it('34: testing the label width in percy', () => {
+ imgSnapshotTest(
+ `graph TD
+ A[Christmas]
+ `,
+ { theme: 'forest' , fontFamily: '"Noto Sans SC", sans-serif' }
+ );
+ });
+});
diff --git a/cypress/integration/rendering/flowchart-v2.spec.js b/cypress/integration/rendering/flowchart-v2.spec.js
index 2addd4772..5128dec7a 100644
--- a/cypress/integration/rendering/flowchart-v2.spec.js
+++ b/cypress/integration/rendering/flowchart-v2.spec.js
@@ -46,4 +46,22 @@ describe('Flowchart v2', () => {
{ flowchart: { diagramPadding: 0 } }
);
});
+
+ it('Length of edges', () => {
+ imgSnapshotTest(
+ `flowchart TD
+ L1 --- L2
+ L2 --- C
+ M1 ---> C
+ R1 .-> R2
+ R2 <.-> C
+ C -->|Label 1| E1
+ C <-- Label 2 ---> E2
+ C ----> E3
+ C <-...-> E4
+ C ======> E5
+ `,
+ { flowchart: { diagramPadding: 0 } }
+ );
+ });
});
diff --git a/cypress/platform/e2e.html b/cypress/platform/e2e.html
index 9f3b4c10d..7774cae22 100644
--- a/cypress/platform/e2e.html
+++ b/cypress/platform/e2e.html
@@ -4,12 +4,12 @@
-
+