removes cy.then and magic value

Co-authored-by: Pranav Mishra <mishrap@dickinson.edu>
This commit is contained in:
Shahir Ahmed
2025-02-21 16:15:24 -05:00
parent 1424127127
commit a318ea3692
2 changed files with 6 additions and 8 deletions

View File

@@ -103,9 +103,8 @@ section Checkout from website
});
it('should maintain sufficient space between legend and diagram when legend labels are longer', () => {
cy.then(() => {
renderGraph(
`journey
renderGraph(
`journey
title Web hook life cycle
section Darkoob
Make preBuilt:5: Darkoob user
@@ -119,9 +118,8 @@ section Checkout from website
check for inputs : 5 : DarkoobAPI
run the prebuilt job : 5 : DarkoobAPI
`,
{ journey: { useMaxWidth: true } }
);
});
{ journey: { useMaxWidth: true } }
);
let LabelEndX, diagramStartX;