Feat: new integration tests / updated PR template

This commit is contained in:
brandtkeller
2022-02-09 08:20:20 -08:00
parent aedcc5c91a
commit 8dd86a324c
2 changed files with 21 additions and 3 deletions

View 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)
})
})