mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Bumped waitFor timeouts in gh-uploader tests
no issue - Travis was randomly failing here
This commit is contained in:
parent
320d228efd
commit
cf4246dd5e
1 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ describe('Integration: Component: gh-uploader', function () {
|
||||||
|
|
||||||
this.set('files', [createFile(), createFile()]);
|
this.set('files', [createFile(), createFile()]);
|
||||||
|
|
||||||
await waitFor('.is-uploading-test', {timeout: 100});
|
await waitFor('.is-uploading-test', {timeout: 150});
|
||||||
await settled();
|
await settled();
|
||||||
|
|
||||||
expect(find('.is-uploading-test')).to.not.exist;
|
expect(find('.is-uploading-test')).to.not.exist;
|
||||||
|
@ -206,7 +206,7 @@ describe('Integration: Component: gh-uploader', function () {
|
||||||
|
|
||||||
this.set('files', [createFile(), createFile()]);
|
this.set('files', [createFile(), createFile()]);
|
||||||
|
|
||||||
await waitFor('[data-test-progress-bar]', {timeout: 100});
|
await waitFor('[data-test-progress-bar]', {timeout: 150});
|
||||||
let progressBar = find('[data-test-progress-bar]');
|
let progressBar = find('[data-test-progress-bar]');
|
||||||
await waitUntil(() => {
|
await waitUntil(() => {
|
||||||
let width = parseInt(progressBar.style.width);
|
let width = parseInt(progressBar.style.width);
|
||||||
|
|
Loading…
Add table
Reference in a new issue