mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
19 lines
540 B
JavaScript
19 lines
540 B
JavaScript
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')
|
|
})
|
|
})
|
|
}) |