assert input and button for adding texts exists
This commit is contained in:
parent
6d75d3770a
commit
5fba2138e2
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
describe('The admin page', () => {
|
describe('The admin page', () => {
|
||||||
it('successfully loads texts', () => {
|
it('successfully loads texts', () => {
|
||||||
cy.visit('/admin')
|
cy.visit('/admin')
|
||||||
|
cy.get('#newTextname').type('new text')
|
||||||
|
cy.get('#submit').click()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue