1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 02:25:09 +00:00
conky/web/cypress/e2e/basic.cy.js

37 lines
710 B
JavaScript
Raw Normal View History

describe('check index renders', () => {
beforeEach(() => {
cy.visit('/')
})
it('displays the title text', () => {
cy.get('h1').contains('Conky')
})
})
describe('check config settings', () => {
beforeEach(() => {
cy.visit('/config_settings')
})
it('displays the title text', () => {
cy.get('h1').contains('Configuration settings')
})
})
describe('check variables', () => {
beforeEach(() => {
cy.visit('/variables')
})
it('displays the title text', () => {
cy.get('h1').contains('Variables')
})
})
describe('check lua', () => {
beforeEach(() => {
cy.visit('/lua')
})
it('displays the title text', () => {
cy.get('h1').contains('Lua API')
})
})