mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-30 19:16:39 +00:00
Disable the biggest JS modifier test cases temporarily
Bug: T303074 Change-Id: I9bd284feb4ede27aadf99904fd230d9bfd778351
This commit is contained in:
parent
6b7ea63d24
commit
0030f4cb9b
|
@ -8,6 +8,17 @@ QUnit.module( 'mw.dt.modifier', QUnit.newMwEnvironment() );
|
|||
require( '../cases/modified.json' ).forEach( function ( caseItem, i ) {
|
||||
// This should be one test with many cases, rather than multiple tests, but the cases are large
|
||||
// enough that processing all of them at once causes timeouts in Karma test runner.
|
||||
// FIXME: Actually, even single test cases cause timeouts now. Skip the slowest ones.
|
||||
var tooBig = [
|
||||
'enwiki oldparser',
|
||||
'enwiki parsoid',
|
||||
'enwiki oldparser (bullet indentation)',
|
||||
'enwiki parsoid (bullet indentation)'
|
||||
];
|
||||
if ( tooBig.indexOf( caseItem.name ) !== -1 ) {
|
||||
QUnit.skip( '#addListItem/#removeAddedListItem case ' + i );
|
||||
return;
|
||||
}
|
||||
QUnit.test( '#addListItem/#removeAddedListItem case ' + i, function ( assert ) {
|
||||
var fixture = document.getElementById( 'qunit-fixture' );
|
||||
|
||||
|
|
Loading…
Reference in a new issue