Skip to content

Commit

Permalink
limit the test cases for only two direction
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishjain0512 committed Oct 2, 2024
1 parent 6d916fb commit 3860a99
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
7 changes: 6 additions & 1 deletion cypress/integration/rendering/iconShape.spec.ts
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
7 changes: 6 additions & 1 deletion cypress/integration/rendering/imageShape.spec.ts
Original file line number Diff line number Diff line change
@@ -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) => {
Expand Down
7 changes: 6 additions & 1 deletion cypress/integration/rendering/newShapes.spec.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
7 changes: 6 additions & 1 deletion cypress/integration/rendering/oldShapes.spec.ts
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 3860a99

Please sign in to comment.