FIX: login-required tests
This commit is contained in:
parent
512ad4dae3
commit
b277e71c15
|
@ -20,22 +20,20 @@ test("redirect", () => {
|
||||||
ok(exists('.login-modal'), "they can still access the login modal");
|
ok(exists('.login-modal'), "they can still access the login modal");
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO Why is this failing, unable to repro this failure
|
click('.modal-header .close');
|
||||||
// click('.modal-header .close');
|
andThen(() => {
|
||||||
// andThen(() => {
|
ok(invisible('.login-modal'), "it closes the login modal");
|
||||||
// ok(!exists('.login-modal'), "it closes the login modal");
|
});
|
||||||
// });
|
|
||||||
|
|
||||||
click('#search-button');
|
click('#search-button');
|
||||||
andThen(() => {
|
andThen(() => {
|
||||||
ok(exists('.login-modal'), "clicking search opens the login modal");
|
ok(exists('.login-modal'), "clicking search opens the login modal");
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO Why is this failing, unable to repro this failure
|
click('.modal-header .close');
|
||||||
// click('.modal-header .close');
|
andThen(() => {
|
||||||
// andThen(() => {
|
ok(invisible('.login-modal'), "it closes the login modal");
|
||||||
// ok(!exists('.login-modal'), "it closes the login modal");
|
});
|
||||||
// });
|
|
||||||
|
|
||||||
click('#site-map');
|
click('#site-map');
|
||||||
andThen(() => {
|
andThen(() => {
|
||||||
|
|
Loading…
Reference in New Issue