mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +00:00
37 lines
710 B
JavaScript
37 lines
710 B
JavaScript
|
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')
|
||
|
})
|
||
|
})
|