From 3860a99951d847591c20fd6601f72befbc081482 Mon Sep 17 00:00:00 2001 From: Ashish Jain Date: Wed, 2 Oct 2024 11:28:43 +0200 Subject: [PATCH] limit the test cases for only two direction --- cypress/integration/rendering/iconShape.spec.ts | 7 ++++++- cypress/integration/rendering/imageShape.spec.ts | 7 ++++++- cypress/integration/rendering/newShapes.spec.ts | 7 ++++++- cypress/integration/rendering/oldShapes.spec.ts | 7 ++++++- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/cypress/integration/rendering/iconShape.spec.ts b/cypress/integration/rendering/iconShape.spec.ts index 98e0e39e1..389e2d94d 100644 --- a/cypress/integration/rendering/iconShape.spec.ts +++ b/cypress/integration/rendering/iconShape.spec.ts @@ -1,7 +1,12 @@ import { imgSnapshotTest } from '../../helpers/util'; const looks = ['classic', 'handDrawn'] as const; -const directions = ['TB', 'BT', 'LR', 'RL'] as const; +const directions = [ + 'TB', + //'BT', + 'LR', + // 'RL' +] as const; const forms = [undefined, 'square', 'circle', 'rounded'] as const; const labelPos = [undefined, 't', 'b'] as const; diff --git a/cypress/integration/rendering/imageShape.spec.ts b/cypress/integration/rendering/imageShape.spec.ts index cf3d1ff16..d2e267149 100644 --- a/cypress/integration/rendering/imageShape.spec.ts +++ b/cypress/integration/rendering/imageShape.spec.ts @@ -1,7 +1,12 @@ import { imgSnapshotTest } from '../../helpers/util'; const looks = ['classic', 'handDrawn'] as const; -const directions = ['TB', 'BT', 'LR', 'RL'] as const; +const directions = [ + 'TB', + //'BT', + 'LR', + // 'RL' +] as const; const labelPos = [undefined, 't', 'b'] as const; looks.forEach((look) => { diff --git a/cypress/integration/rendering/newShapes.spec.ts b/cypress/integration/rendering/newShapes.spec.ts index 823cc5a95..73bf55b26 100644 --- a/cypress/integration/rendering/newShapes.spec.ts +++ b/cypress/integration/rendering/newShapes.spec.ts @@ -1,7 +1,12 @@ import { imgSnapshotTest } from '../../helpers/util.ts'; const looks = ['classic', 'handDrawn'] as const; -const directions = ['TB', 'BT', 'LR', 'RL'] as const; +const directions = [ + 'TB', + //'BT', + 'LR', + //'RL' +] as const; const newShapesSet1 = [ 'triangle', 'sloped-rectangle', diff --git a/cypress/integration/rendering/oldShapes.spec.ts b/cypress/integration/rendering/oldShapes.spec.ts index 9d92fad57..e41b2b0c8 100644 --- a/cypress/integration/rendering/oldShapes.spec.ts +++ b/cypress/integration/rendering/oldShapes.spec.ts @@ -1,7 +1,12 @@ import { imgSnapshotTest } from '../../helpers/util'; const looks = ['classic', 'handDrawn'] as const; -const directions = ['TB', 'BT', 'LR', 'RL'] as const; +const directions = [ + 'TB', + //'BT', + 'LR', + //'RL' +] as const; const shapesSet1 = ['text', 'card', 'shadedProcess', 'diamond', 'hexagon'] as const;