Add basic cypress tests

This commit is contained in:
andrew.greene
2021-12-08 20:32:57 -07:00
parent 74955354cc
commit d175e44a74
5 changed files with 37 additions and 123 deletions

View File

@@ -0,0 +1,19 @@
describe('The Home Page', () => {
beforeEach(() => {
cy.visit('')
})
it('has a flow', () => {
cy.get('.red-ui-text-bidi-aware').should('exist')
})
it('has a node', () => {
cy.get('.red-ui-palette-node').should('exist')
})
context('with a node', () => {
it('has an input', ()=> {
cy.get('#red-ui-palette-common-input').should('exist')
})
it('has an output', ()=> {
cy.get('#red-ui-palette-common-output').should('exist')
})
})
})