mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
XW-1300 | add article-media-placeholder class to tests
This commit is contained in:
parent
c48a6a1635
commit
7a2b770707
|
@ -728,7 +728,7 @@ class PortableInfoboxRenderServiceTest extends WikiaBaseTest {
|
|||
<div class="pi-item pi-hero">
|
||||
<figure class="article-media-thumbnail" data-component="article-media-thumbnail" data-attrs="{"itemContext":"portable-infobox","ref":1}">
|
||||
<a href="http://image.jpg">
|
||||
<img src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\' viewBox%3D\'0 0 400 200\'%2F%3E" alt="" width="400" height="200"/>
|
||||
<img class="article-media-placeholder" src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\' viewBox%3D\'0 0 400 200\'%2F%3E" alt="" width="400" height="200"/>
|
||||
<noscript>
|
||||
<img src="http://image.jpg" alt="image alt" width="400" height="200"/>
|
||||
</noscript>
|
||||
|
@ -786,7 +786,7 @@ class PortableInfoboxRenderServiceTest extends WikiaBaseTest {
|
|||
</hgroup>
|
||||
<figure class="article-media-thumbnail" data-component="article-media-thumbnail" data-attrs="{"itemContext":"portable-infobox","ref":44}">
|
||||
<a href="http://image.jpg">
|
||||
<img src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\' viewBox%3D\'0 0 400 200\'%2F%3E" alt="" width="400" height="200"/>
|
||||
<img class="article-media-placeholder" src="data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D\'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg\' viewBox%3D\'0 0 400 200\'%2F%3E" alt="" width="400" height="200"/>
|
||||
<noscript>
|
||||
<img src="http://image.jpg" alt="" width="400" height="200"/>
|
||||
</noscript>
|
||||
|
|
Loading…
Reference in a new issue