Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Build: Don't use casper.clickLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
gseguin committed Apr 25, 2014
1 parent 6e7f185 commit 5f26c2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/casperjs/demos.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ casper.test.begin("Checkboxradio widget should render properly", 2, function sui

// Click "Checkboxradio widget" list item
casper.then( function() {
casper.clickLabel( "Checkboxradio widget", "a" );
casper.click( "ul.jqm-list > li:nth-child(5) > h3 > a" );
});

// Click "Checkboxes" sub list item
casper.then( function() {
casper.waitUntilVisible( "ul.jqm-list > li:nth-child(5) > div > ul > li.ui-first-child > a",
function() {
casper.clickLabel( "Checkboxes", "a" );
casper.click( "ul.jqm-list > li:nth-child(5) > div > ul > li.ui-first-child > a" );
}
);
});
Expand Down

0 comments on commit 5f26c2e

Please sign in to comment.