Skip to content

Instantly share code, notes, and snippets.

@t8g
Created June 27, 2017 09:57
Show Gist options
  • Save t8g/d4db56bb0cd0c0532f622384b9aa866a to your computer and use it in GitHub Desktop.
Save t8g/d4db56bb0cd0c0532f622384b9aa866a to your computer and use it in GitHub Desktop.
// reverse_test.js
module.exports = {
'Test reverse input' : function (browser) {
browser
.url('http://localhost:4200')
.waitForElementPresent('bc-reverse', 1000)
.setValue('bc-reverse input', 'ByteClub')
.pause(1000);
browser.expect.element('bc-reverse strong').text.to.equal('bulCetyB');
browser.end();
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment