Пересобранный и видоизмененный conky для ОСГОС
This commit is contained in:
commit
3a48cf8c86
738 changed files with 217718 additions and 0 deletions
7
web/cypress/.eslintrc.json
Normal file
7
web/cypress/.eslintrc.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"extends": ["eslint:recommended", "plugin:cypress/recommended", "prettier"],
|
||||
"plugins": ["cypress"],
|
||||
"settings": {
|
||||
"sort-imports": "error"
|
||||
}
|
||||
}
|
||||
43
web/cypress/e2e/basic.cy.js
Normal file
43
web/cypress/e2e/basic.cy.js
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
describe('check index renders', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('/')
|
||||
})
|
||||
|
||||
it('displays the title text', () => {
|
||||
cy.get('[data-cy="top-link"]').contains(/^Conky$/)
|
||||
})
|
||||
})
|
||||
describe('check config settings', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('/config_settings')
|
||||
})
|
||||
|
||||
it('displays the title text', () => {
|
||||
cy.get('[data-cy="top-link"]').contains(/^Conky$/)
|
||||
cy.get('[data-cy="page-heading"]').contains(/^Configuration settings$/)
|
||||
})
|
||||
})
|
||||
describe('check variables', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('/variables')
|
||||
})
|
||||
|
||||
it('displays the title text', () => {
|
||||
cy.get('[data-cy="top-link"]').contains(/^Conky$/)
|
||||
cy.get('[data-cy="page-heading"]').contains(/^Variables$/)
|
||||
})
|
||||
it('has anchor links and can focus on them', () => {
|
||||
cy.get('[data-anchor-name="acpiacadapter"]').click()
|
||||
cy.get('[data-anchor-name="acpiacadapter"]').and('be.visible')
|
||||
})
|
||||
})
|
||||
describe('check lua', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('/lua')
|
||||
})
|
||||
|
||||
it('displays the title text', () => {
|
||||
cy.get('[data-cy="top-link"]').contains(/^Conky$/)
|
||||
cy.get('[data-cy="page-heading"]').contains(/^Lua API$/)
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue