mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:47:46 +08:00
BUGFIX: smoke test was broken
This commit is contained in:
@ -101,8 +101,8 @@ page.runTests = function(){
|
||||
|
||||
navigate("navigate to first topic", function(){
|
||||
Em.run.later(function(){
|
||||
if ($('.main-link a:first').length > 0) {
|
||||
$('.main-link a:first').click(); // topic list page
|
||||
if ($('.main-link > a:first').length > 0) {
|
||||
$('.main-link > a:first').click(); // topic list page
|
||||
} else {
|
||||
$('.featured-topic a.title:first').click(); // categories page
|
||||
}
|
||||
|
Reference in New Issue
Block a user