Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolving issue with tests not running on *nix/Firefox #190

Merged
merged 2 commits into from
Jul 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-env node, es6 */
class LoginPage {
login(title, theUrl, loginName, loginPassword, displayName) {
describe('General', function () {
Expand All @@ -23,6 +24,12 @@ class LoginPage {
$('#txt_login_username input').setValue(loginName);
$('#txt_login_password input').setValue(loginPassword);
$('#btn_sign_in .x-btn-mc').click();

// Per: http://webdriver.io/api/protocol/frame.html#Usage
// Resetting the server to the page's default content
// This was causing issues with running the tests under
// Ubuntu 16.04:Firefox
browser.frame();
});
it('Display Logged in Users Name', function () {
$('#welcome_message').waitForExist(60000);
Expand Down