You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to check if my modal is visible or not (using bootstrap 2).
All I got is a black window with django-casper.
I have no problem using directly casperjs command.
Any idea ?
Thanks.
Martyn
casper.test.comment('Testing form');
var helper = require('../../../../misc/tests/djangocasper.js');
var root_server = "";
helper.scenario(root_server + "/object/add/", function(){
this.test.assertNotVisible(
"#add_field_window",
"The modal window is not visible"
);
this.click("#id_add_custom_field");
this.wait(10000, function() {
this.capture("Modal-where-are-you.png", {top: 0, left: 0, width: 900, height: 900})
this.test.assertVisible(
'#add_field_window',
"The modal window is visible"
);
});
});
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to check if my modal is visible or not (using bootstrap 2).
All I got is a black window with django-casper.
I have no problem using directly casperjs command.
Any idea ?
Thanks.
Martyn
The text was updated successfully, but these errors were encountered: