mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Merge pull request #2730 from jaswilli/test-errors
Another adjustment to handle timing issue on tests
This commit is contained in:
commit
f1ce28f812
1 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ CasperTest.begin('Ensure image upload modals display correctly', 6, function sui
|
|||
this.click('#general .js-modal-logo');
|
||||
}, casper.failOnTimeout(test, 'waitForOpaque #general timed out'));
|
||||
|
||||
casper.waitForSelector('#modal-container .modal-content .js-drop-zone', assertImageUploaderModalThenClose,
|
||||
casper.waitForSelector('#modal-container .modal-content .js-drop-zone .description', assertImageUploaderModalThenClose,
|
||||
casper.failOnTimeout(test, 'No upload logo modal container appeared'));
|
||||
|
||||
// Test Blog Cover Upload Button
|
||||
|
@ -167,7 +167,7 @@ CasperTest.begin('Ensure image upload modals display correctly', 6, function sui
|
|||
this.click('#general .js-modal-cover');
|
||||
});
|
||||
|
||||
casper.waitForSelector('#modal-container .modal-content .js-drop-zone', assertImageUploaderModalThenClose,
|
||||
casper.waitForSelector('#modal-container .modal-content .js-drop-zone .description', assertImageUploaderModalThenClose,
|
||||
casper.failOnTimeout(test, 'No upload cover modal container appeared'));
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue