mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-06 05:17:57 +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')
|
||
|
})
|
||
|
})
|