Skip to content

Commit

Permalink
Will it work now 2?
Browse files Browse the repository at this point in the history
  • Loading branch information
pomek committed Mar 11, 2021
1 parent f6444b2 commit 8df630e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ ClassicEditor
console.error( err.stack );
} );

// Due to unknown reasons, Travis cannot load video from Vimeo. Let's ignore this error.
// For a totally unknown reason, Travis and Vimeo do not like each other and the test fail on CI.
const metaElement = document.createElement( 'meta' );

metaElement.name = 'x-cke-crawler-ignore-patterns';
metaElement.content = JSON.stringify( {
'request-failure': 'vimeo.com',
'response-failure': 'vimeo.com',
'console-error': '<svg> attribute preserveAspectRatio'
'console-error': [ '<svg> attribute preserveAspectRatio', 'vimeo.com' ]
} );

document.head.appendChild( metaElement );
3 changes: 2 additions & 1 deletion packages/ckeditor5-media-embed/tests/manual/mediaembed.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<!-- For a totally unknown reason, Travis and Vimeo do not like each other and the test fail on CI. -->
<meta name="x-cke-crawler-ignore-patterns" content='{
"request-failure": "vimeo.com",
"console-error": "vimeo.com"
"response-failure": "vimeo.com",
"console-error": [ "<svg> attribute preserveAspectRatio", "vimeo.com" ]
}'>

<style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<!-- For a totally unknown reason, Travis and Vimeo do not like each other and the test fail on CI. -->
<meta name="x-cke-crawler-ignore-patterns" content='{
"request-failure": "vimeo.com",
"console-error": "vimeo.com"
"response-failure": "vimeo.com",
"console-error": [ "<svg> attribute preserveAspectRatio", "vimeo.com" ]
}'>

<style>
Expand Down
3 changes: 2 additions & 1 deletion tests/manual/all-features.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<!-- For a totally unknown reason, Travis and Vimeo do not like each other and the test fail on CI. -->
<meta name="x-cke-crawler-ignore-patterns" content='{
"request-failure": "vimeo.com",
"console-error": "vimeo.com"
"response-failure": "vimeo.com",
"console-error": [ "<svg> attribute preserveAspectRatio", "vimeo.com" ]
}'>
</head>

Expand Down

0 comments on commit 8df630e

Please sign in to comment.