Mateusz Rybarski
0db0229550
XW-2444: fixing tests
2016-12-28 12:10:57 +01:00
Mateusz Rybarski
3ad591cec6
Merge branch 'pi-render-service-refactor' into XW-2444
2016-12-28 11:29:36 +01:00
Mateusz Rybarski
9f96ab9f45
XW-2444: unittests for color validation
2016-12-28 10:12:21 +01:00
idradm
39d9302a93
refactor template engine logic to separate class
2016-12-27 15:58:01 +01:00
idradm
36b582a164
refactor render service to skin based services
2016-12-27 15:09:55 +01:00
Mateusz Rybarski
3a3894a1a3
XW-2444: fixing unittests for render service, cleanup
2016-12-27 14:35:48 +01:00
Weronika Rudnicka
c9363473b2
XW-2307 | mocking getMediaType method in custom width logic test
2016-11-21 23:17:32 +01:00
Damian Jozwiak
d4a9943eaf
XW-2234 | Fix testRenderInfobox unit test
2016-11-03 15:40:21 +01:00
Damian Jozwiak
6e1a075cad
XW-2234 | Fix testCustomWidthLogic unit test
2016-11-03 15:32:16 +01:00
macbre
a444abc707
Revert "PortableInfoboxRenderServiceTest: temporarily skip testRenderInfobox"
...
This reverts commit 63ba16643458ce39f61050acc4259156cfb35305.
2016-06-27 12:19:13 +02:00
macbre
4f5e9462dc
PortableInfoboxRenderServiceTest: temporarily skip testRenderInfobox
2016-06-24 10:23:45 +02:00
grunny
e191fbd396
Fix unit tests
2016-06-17 03:52:32 +10:00
Igor Rogatty
27e695e569
XW-1225 | remove $wgEnableSeoFriendlyImagesForMobile and clean up
2016-05-18 14:44:36 +02:00
Igor Rogatty
3ef5a8e72b
XW-1429 | remove whitespace after original marker and put a single space after new marker position
2016-05-09 15:14:02 +02:00
Igor Rogatty
bc7f3efb35
XW-1429 | add unit tests for moveFirstMarkerToTop method
2016-05-09 14:50:37 +02:00
idradm
9ceba1d2d0
DAT-3942 make sure isVideo param is always set, update tests
2016-04-20 10:38:44 +02:00
Bogna Knychala
1dc864dd5a
Merge remote-tracking branch 'origin/dev' into XW-1300
2016-04-08 13:13:17 +02:00
Igor Rogatty
81ca93b542
XW-1300 | use portable-infobox-hero-image component in tests
2016-04-07 15:14:26 +02:00
Igor Rogatty
7a2b770707
XW-1300 | add article-media-placeholder class to tests
2016-04-06 15:40:25 +02:00
Igor Rogatty
455e4b5e75
XW-1300 | support for image collections
2016-04-05 17:42:21 +02:00
Igor Rogatty
17a045e1aa
XW-1300 | add tests for Mercury experimental markup
2016-04-04 15:50:36 +02:00
Lukasz Konieczny
06fad58042
CE-3554: Support more sources
2016-04-01 12:54:43 +00:00
Lukasz Konieczny
4f11b96e48
CE-3554: Changes after CR
2016-04-01 11:07:30 +00:00
Igor Rogatty
07cdefb0f5
XW-1300 | use mercury-component-attrs name and fix unit tests
2016-04-01 12:06:10 +02:00
Lukasz Konieczny
88030ff0d2
CE-3554: Add unit tests for extracting labels
2016-03-31 10:00:03 +00:00
idradm
25dd444a80
DAT-4018 add test for europa theme enabled
2016-03-29 12:57:07 +02:00
idradm
cbc0a10a78
DAT-3934 add tests for custom width
2016-03-17 12:12:36 +01:00
idradm
af041c9196
DAT-3934 provide a way to decide on image size while infobox rendering
2016-03-17 10:37:18 +01:00
Rafal Leszczynski
604e9da6df
DAT-3937, remove special case for europa thumbnail width
2016-03-14 10:36:08 +01:00
Rafal Leszczynski
5c75f627a2
DAT-3937, set different image width for europa theme only
2016-03-14 08:57:58 +01:00
Rafal Leszczynski
e355f58e04
DAT-3855, fix tests
2016-03-09 15:51:51 +01:00
Rafal Leszczynski
7a12be6310
DAT-3855, round image display dimensions
2016-03-09 10:45:31 +01:00
Rafal Leszczynski
fbceb63dcc
DAT-3855, fix broken test after thumbnail size change
2016-03-08 16:06:54 +01:00
marzjan
a874af74af
Update @covers annotation for PortableInfobox tests
2016-02-25 15:51:47 +00:00
idradm
20d6a46421
DAT-3707 create infobox builder extension
2016-02-12 11:38:47 +01:00
idradm
d4953f7680
Merge branch 'dev' into infobox-builder-feature-branch
...
# Conflicts:
# extensions/wikia/AdminDashboard/AdminDashboardLogic.class.php
# extensions/wikia/AssetsManager/config.php
# extensions/wikia/EditPageLayout/templates/EditPageLayout_EditPage.php
2016-02-09 11:46:56 +01:00
Sebastian Marzjan
c5d17f315e
DAT-3624 Rename 'Infobo' to 'Infobox'
2016-02-03 12:06:44 +01:00
Sebastian Marzjan
168bf09348
DAT-3621 Unified tests for hero image and regular caption
...
* Disable sanitization on Oasis
* Handle previously unsupported case of nested tag ( <b><a></a></b> )
* Unify test formatting
* Change list handling (yes, I am not proud of that)
2016-01-12 09:21:21 +01:00
Sebastian Marzjan
531fc700e6
Provide explicitly encoded XML to loadHTML (libxml issues ;-) )
2016-01-08 08:24:09 +01:00
Sebastian Marzjan
2171b5c02c
Merge pull request #9366 from Wikia/DAT-3331
...
make infoboxes use params same way as mediawiki, enable 0 param
2016-01-05 17:18:33 +01:00
Sebastian Marzjan
72392d0edd
Normalize whitespace when processing infobox contents
2016-01-05 09:05:50 +01:00
idradm
c477600b9d
DAT-3331 update comment, reformat
2016-01-04 15:57:25 +01:00
idradm
5f42ce9742
make infoboxes use params same way as mediawiki, enable 0 param
2016-01-04 14:34:10 +01:00
Sebastian Marzjan
2fdebcdffb
DAT-3465 Change approach to sanitization; use XML parsing
2015-12-30 11:00:10 +01:00
Sebastian Marzjan
0ce0b500fe
Use the Builder for Sanitizers.
...
Cover the sanitizer build step in tests too
2015-12-28 12:04:36 +01:00
Sebastian Marzjan
8f437fb1e7
DAT-3465 Update the caption behavior
2015-12-28 10:21:32 +01:00
dianafa
a4e03f9147
add sanitizer tests
2015-12-23 16:08:43 +01:00
dianafa
8afcb73d10
move sanitizers to a separate folder
2015-12-23 15:54:03 +01:00
dianafa
ed73d4f525
move sanitizing to PortableInfoboxRenderService
2015-12-23 13:20:55 +01:00
Rafal Leszczynski
f154200a97
DAT-3576, add test for thin portrait image edge case
2015-12-11 16:34:03 -08:00