Skip to content
Snippets Groups Projects
Verified Commit 892d97c2 authored by jfriedli's avatar jfriedli
Browse files

increase test timeout

parent f86eee84
No related branches found
No related tags found
1 merge request!149Develop
......@@ -33,18 +33,18 @@ describe('Download page tests', () => {
let fileNameTwo = 'test-image-two.png'
cy.get('.uppy-DashboardContent-addMore').click()
cy.fixture(fileNameTwo).then(fileContent => {
cy.get('.uppy-DashboardTabs-list', { timeout: 7000 }).upload(
cy.get('.uppy-DashboardTabs-list', { requestTimeout: 150000, responseTimeout: 150000 }).upload(
{ fileContent: fileContent, fileName: fileNameTwo, mimeType: 'image/png' },
{ subjectType: 'drag-n-drop' }
)
}).then(() => {
cy.get('.uppy-Dashboard-files', { timeout: 7000 }).contains(fileNameTwo)
cy.get('.uppy-Dashboard-files', { requestTimeout: 150000, responseTimeout: 150000 }).contains(fileNameTwo)
})
let fileNameThree = 'test-text-file.txt'
cy.get('.uppy-DashboardContent-addMore').click()
cy.fixture(fileNameThree).then(fileContent => {
cy.get('.uppy-DashboardTabs-list', { timeout: 7000 }).upload(
cy.get('.uppy-DashboardTabs-list', { requestTimeout: 150000, responseTimeout: 150000 }).upload(
{ fileContent: fileContent, fileName: fileNameThree, mimeType: 'text/plain' },
{ subjectType: 'drag-n-drop' }
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment