iterating on cypress

This commit is contained in:
burnettk 2022-11-21 10:31:11 -05:00
parent 0712f7a4e8
commit dfa44fbb14
1 changed files with 5 additions and 1 deletions

View File

@ -39,7 +39,7 @@ describe('process-models', () => {
cy.contains(modelId).should('not.exist'); 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 uuid = () => Cypress._.random(0, 1e6);
const id = uuid(); const id = uuid();
const groupId = 'acceptance-tests-group-one'; const groupId = 'acceptance-tests-group-one';
@ -83,6 +83,10 @@ describe('process-models', () => {
cy.contains(/^Process Model File$/); cy.contains(/^Process Model File$/);
cy.get('g[data-element-id=decision_1]').click().should('exist'); cy.get('g[data-element-id=decision_1]').click().should('exist');
cy.contains('General').click(); 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.contains('Save').click();
cy.get('input[name=file_name]').type(dmnFileName); cy.get('input[name=file_name]').type(dmnFileName);
cy.contains('Save Changes').click(); cy.contains('Save Changes').click();