0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Skipped tests that randomly fail on Travis

closes https://github.com/TryGhost/Ghost/issues/10308
This commit is contained in:
Kevin Ansfield 2019-02-11 11:43:23 +00:00
parent 7f1c71c831
commit 4f0bdee479
4 changed files with 8 additions and 4 deletions

View file

@ -249,7 +249,8 @@ describe('Integration: Component: gh-file-uploader', function () {
expect(findAll('input[type="file"]').length).to.equal(1); expect(findAll('input[type="file"]').length).to.equal(1);
}); });
it('displays upload progress', async function () { // skipped due to random failures on Travis - https://github.com/TryGhost/Ghost/issues/10308
it.skip('displays upload progress', async function () {
// pretender fires a progress event every 50ms // pretender fires a progress event every 50ms
stubSuccessfulUpload(server, 150); stubSuccessfulUpload(server, 150);

View file

@ -137,7 +137,8 @@ describe('Integration: Component: gh-profile-image', function () {
).to.have.attribute('style', 'background-image: url(); display: none'); ).to.have.attribute('style', 'background-image: url(); display: none');
}); });
it('throttles gravatar loading as email is changed', async function () { // skipped due to random failures on Travis - https://github.com/TryGhost/Ghost/issues/10308
it.skip('throttles gravatar loading as email is changed', async function () {
let email = 'test@example.com'; let email = 'test@example.com';
let expectedUrl = `//www.gravatar.com/avatar/${md5(email)}?s=100&d=404`; let expectedUrl = `//www.gravatar.com/avatar/${md5(email)}?s=100&d=404`;

View file

@ -69,7 +69,8 @@ describe('Integration: Component: gh-task-button', function () {
await settled(); await settled();
}); });
it('appears disabled whilst running', async function () { // skipped due to random failures on Travis - https://github.com/TryGhost/Ghost/issues/10308
it.skip('appears disabled whilst running', async function () {
this.set('myTask', task(function* () { this.set('myTask', task(function* () {
yield timeout(50); yield timeout(50);
})); }));

View file

@ -24,7 +24,8 @@ describe('Unit: Component: gh-notification', function () {
expect(notifications.closeNotification.calledWith(notification)).to.be.true; expect(notifications.closeNotification.calledWith(notification)).to.be.true;
}); });
it('closes notification when animationend event is triggered', function (done) { // skipped due to random failures on Travis - https://github.com/TryGhost/Ghost/issues/10308
it.skip('closes notification when animationend event is triggered', function (done) {
let component = this.subject(); let component = this.subject();
let notifications = {}; let notifications = {};
let notification = {message: 'Test close', type: 'success'}; let notification = {message: 'Test close', type: 'success'};