1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 13:13:00 +01:00
send/test/integration/progress-tests.js
2018-11-01 10:44:47 -07:00

19 lines
535 B
JavaScript

/* global browser */
const assert = require('assert');
const HomePage = require('./pages/desktop/home_page');
describe('Firefox Send progress page', function() {
const homePage = new HomePage();
beforeEach(function() {
homePage.open();
});
it('should show progress when a file is uploading', function() {
browser.chooseFile(homePage.uploadInput, __filename);
browser.waitForExist(homePage.uploadButton);
browser.click(homePage.uploadButton);
assert.ok(browser.waitForExist(homePage.progress));
});
});