mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 21:08:36 +08:00
Remove readonly alert
smoke test.
This commit is contained in:
parent
e0bee3a3bc
commit
bf5ba5fbd1
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user