e2e tests for preview & edit

This commit is contained in:
Milos Stojanovic
2020-02-20 15:20:41 +01:00
parent 246874ed31
commit ba8eadc826

View File

@@ -24,6 +24,15 @@ describe('Browser', () => {
cy.contains('My Documents')
})
it('Preview & edit txt file', () => {
cy.visit('/')
cy.contains('read_only_demo.txt')
cy.get('.dropdown').last().click()
cy.get('.fa-file-alt').last().click()
cy.contains('Close')
cy.contains('Save')
})
it('Go to subfolder', () => {
cy.visit('/')
cy.contains('My Documents').click()