mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 20:45:51 +00:00
Allow smoke tests that writes data to be skipped.
This commit is contained in:
parent
1b5ee0ae72
commit
bdd3713ca4
@ -178,6 +178,7 @@ var runTests = function() {
|
||||
return $("#user-card .names").length;
|
||||
});
|
||||
|
||||
if (!system.env["SKIP_WRITE_TESTS"]) {
|
||||
exec("open login modal", function() {
|
||||
$(".login-button").click();
|
||||
});
|
||||
@ -293,6 +294,7 @@ var runTests = function() {
|
||||
return !document.querySelector(".saving-text")
|
||||
&& $(".topic-post").length === 2;
|
||||
});
|
||||
}
|
||||
|
||||
run();
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user