Remove readonly alert smoke test.

This commit is contained in:
Guo Xiang Tan 2017-11-14 11:18:38 +08:00
parent e0bee3a3bc
commit bf5ba5fbd1

View File

@ -178,11 +178,7 @@ var runTests = function() {
return $("#user-card .names").length;
});
if (system.env["READONLY_TESTS"]) {
test("readonly alert is present", function() {
return $(".alert-read-only").length;
});
} else {
if (!system.env["READONLY_TESTS"]) {
exec("open login modal", function() {
$(".login-button").click();
});