mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-27 09:00:36 +03:00
Wait for page load during test
This commit is contained in:
parent
e058c528fb
commit
db6bef1106
|
@ -44,6 +44,7 @@ var packageName; // there seems to be no official way of finding out the name o
|
||||||
|
|
||||||
var plugins = ['affix', 'alert', 'button', 'carousel', 'collapse', 'dropdown', 'modal', 'popover', 'scrollspy', 'tab', 'tooltip'];
|
var plugins = ['affix', 'alert', 'button', 'carousel', 'collapse', 'dropdown', 'modal', 'popover', 'scrollspy', 'tab', 'tooltip'];
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
// test plugins
|
// test plugins
|
||||||
plugins.forEach(function (plugin) {
|
plugins.forEach(function (plugin) {
|
||||||
Tinytest.add('Plugin - ' + plugin, function (test) {
|
Tinytest.add('Plugin - ' + plugin, function (test) {
|
||||||
|
@ -101,3 +102,5 @@ Tinytest.addAsync('Visual check - Material Design', function (test, done) {
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user