Skip to content

Commit

Permalink
Update test for disabled state
Browse files Browse the repository at this point in the history
  • Loading branch information
Pezmc committed Dec 21, 2023
1 parent be20a0c commit cd318a2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,8 @@ describe('FlowForge - Application - DevOps Pipelines', () => {
cy.get('[data-action="add-stage"]').click()
})

// there should NOT be a tile with the text "Device Group"
cy.get('[data-form="stage-type"]').find('.ff-tile-selection-option:contains("Device Group")').should('not.exist')
// Device group tile is disabled
cy.get('[data-form="stage-type"]').find('.ff-tile-selection-option[data-form="tile-selection-option-device-group"]').should('have.class', 'disabled')
})

it('cannot add any more stages after a device group', () => {
Expand Down

0 comments on commit cd318a2

Please sign in to comment.