mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
Account for sites using text site logo in smoke test.
This commit is contained in:
@ -197,7 +197,8 @@ var runTests = function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
exec("go home", function() {
|
exec("go home", function() {
|
||||||
$('#site-logo').click();
|
if ($('#site-logo').length()) $('#site-logo').click();
|
||||||
|
if ($('#site-text-logo').length()) $('#site-text-logo').click();
|
||||||
});
|
});
|
||||||
|
|
||||||
test("it shows a topic list", function() {
|
test("it shows a topic list", function() {
|
||||||
|
Reference in New Issue
Block a user