-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into node-1586-fix-flaky-mapping-tests
- Loading branch information
Showing
12 changed files
with
345 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { WorkflowPage as WorkflowPageClass } from '../pages/workflow'; | ||
|
||
const WorkflowPage = new WorkflowPageClass(); | ||
|
||
describe('PAY-1858 context menu', () => { | ||
it('can use context menu on saved workflow', () => { | ||
WorkflowPage.actions.visit(); | ||
cy.createFixtureWorkflow('Test_workflow_filter.json', 'test'); | ||
|
||
WorkflowPage.getters.canvasNodes().should('have.length', 5); | ||
WorkflowPage.actions.deleteNodeFromContextMenu('Then'); | ||
WorkflowPage.getters.canvasNodes().should('have.length', 4); | ||
|
||
WorkflowPage.actions.hitSaveWorkflow(); | ||
|
||
cy.reload(); | ||
WorkflowPage.getters.canvasNodes().should('have.length', 4); | ||
WorkflowPage.actions.deleteNodeFromContextMenu('Code'); | ||
WorkflowPage.getters.canvasNodes().should('have.length', 3); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.