mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Feat: new integration tests / updated PR template
This commit is contained in:
17
cypress/integration/getting_started_spec.js
Normal file
17
cypress/integration/getting_started_spec.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// Some basic integration tests that serve as a forcing function to acknowledge testing
|
||||
// when adding/removing content
|
||||
describe('The Getting Start Flow', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('')
|
||||
})
|
||||
|
||||
it('Getting Started Flow tab exists', () => {
|
||||
cy.get('#red-ui-tab-c86af370eff94afa > .red-ui-tab-label').should('exist')
|
||||
})
|
||||
|
||||
it('Has expected nodes in Flow', () => {
|
||||
cy.contains('(Engineer) Unicorn Getting Started').click()
|
||||
cy.get('.red-ui-flow-node-group').should('have.length', 9)
|
||||
})
|
||||
|
||||
})
|
Reference in New Issue
Block a user