BUGFIX: smoke test was broken

This commit is contained in:
Sam
2014-04-10 16:57:23 +10:00
parent 41631311e9
commit 6daef624c3
2 changed files with 7 additions and 4 deletions

View File

@ -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
}