Skip to content

Instantly share code, notes, and snippets.

@richardsweeney
Created April 23, 2018 19:00
Show Gist options
  • Save richardsweeney/ca0c5992c0f0d7f48e7c660e94ff879c to your computer and use it in GitHub Desktop.
Save richardsweeney/ca0c5992c0f0d7f48e7c660e94ff879c to your computer and use it in GitHub Desktop.
module.exports = {
'Test Something' (browser) {
browser
.url( 'https://wordpress.org/' )
.waitForElementVisible( '#download' )
.click( '#download' )
.waitForElementVisible( '.download-meta' )
.assert.urlContains( 'download' )
.end();
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment