Skip to content

Commit

Permalink
Add test case for tiltedCylinder
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhg772244 committed Aug 9, 2024
1 parent 89e4de1 commit f140d1a
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions cypress/integration/rendering/newShapes.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,31 @@ describe('newShapes', () => {
{}
);
});
it('3: should render new FlowChart for New Shapes', () => {
it('3: should render new tiltedCylinder shape', () => {
imgSnapshotTest(
`flowchart
KS --> AC@{ shape: tiltedCylinder, label:"This is Final Label" }@
RE --> AC
`,
{}
);
});
it('4: should render new FlowChart for New Shapes', () => {
renderGraph(
`
flowchart
A@{ shape: stateStart }@
B@{ shape: crossedCircle, label: "Start Defining Test Case" }@
C@{ shape: tiltedCylinder, label: "write your Test Case"}@
E@{ shape: waveRectangle, label: "Execute Test Case" }@
F@{ shape: slopedRect, label: "Test Passed?" }@
G@{ shape: bowTieRect, label: "Pass" }@
H@{ shape: dividedRect, label: "Log Defect" }@
I@{ shape: curvedTrapezoid, label: "End" }@
A --> B
B --> E
B --> C
C --> E
E --> F
F -->|Yes| G
F -->|No| H
Expand Down

0 comments on commit f140d1a

Please sign in to comment.