Index: trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js |
— | — | @@ -142,6 +142,13 @@ |
143 | 143 | strictEqual( mw.util.$content.length, 1, 'mw.util.$content must have length of 1' ); |
144 | 144 | }); |
145 | 145 | |
| 146 | + |
| 147 | +/** |
| 148 | + * Portlet names are prefixed with 'p-test' to avoid conflict with core |
| 149 | + * when running the test suite under a wiki page. |
| 150 | + * Previously, test elements where invisible to the selector since only |
| 151 | + * one element can have a given id. |
| 152 | + */ |
146 | 153 | test( 'addPortletLink', function() { |
147 | 154 | expect(7); |
148 | 155 | |