1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 04:32:55 +00:00
conky/web/cypress/e2e/basic.cy.js
Brenden Matthews 47ad3f9982 Refactor docs, make a new website.
* Docs have been migrated from docbook to yaml + jinja2 + pandoc
* Created a new (basic) website for docs based on React + Tailwinds
2022-09-30 18:21:24 -04:00

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')
})
})