From dfa44fbb14e623226191217243d6c55ec90521b8 Mon Sep 17 00:00:00 2001 From: burnettk Date: Mon, 21 Nov 2022 10:31:11 -0500 Subject: [PATCH] iterating on cypress --- spiffworkflow-frontend/cypress/e2e/process_models.cy.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spiffworkflow-frontend/cypress/e2e/process_models.cy.js b/spiffworkflow-frontend/cypress/e2e/process_models.cy.js index 7b9741355..455b9ca54 100644 --- a/spiffworkflow-frontend/cypress/e2e/process_models.cy.js +++ b/spiffworkflow-frontend/cypress/e2e/process_models.cy.js @@ -39,7 +39,7 @@ describe('process-models', () => { cy.contains(modelId).should('not.exist'); }); - it('can create new bpmn, dmn, and json files', () => { + it.only('can create new bpmn, dmn, and json files', () => { const uuid = () => Cypress._.random(0, 1e6); const id = uuid(); const groupId = 'acceptance-tests-group-one'; @@ -83,6 +83,10 @@ describe('process-models', () => { cy.contains(/^Process Model File$/); cy.get('g[data-element-id=decision_1]').click().should('exist'); cy.contains('General').click(); + cy.get('#bio-properties-panel-id') + .clear() + .type('decision_acceptance_test_1'); + cy.contains('General').click(); cy.contains('Save').click(); cy.get('input[name=file_name]').type(dmnFileName); cy.contains('Save Changes').click();