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

E2etest concurrency #982

Merged
merged 9 commits into from
Feb 17, 2017
Merged

E2etest concurrency #982

merged 9 commits into from
Feb 17, 2017

Conversation

jaiminpanchal27
Copy link
Collaborator

Type of change

  • [x ] Bugfix

Description of change

End 2 End testing using nightwatch and browserstack was having issues running in parallel. With this fix we are now running only 2 browsers at a time. To test this following steps must be followed

  • Start tunneling between browserstack and local machine
    ./BrowserStackLocal --key <your-browserstack-key> --force-local
  • 'gulp serve-nw --browserstack' to start the running the tests
  • Once finished, execute 'gulp e2etest-report' to view the report in browser.

Other information

@@ -38,8 +38,8 @@
"browserstack.local": true,
"browserstack.debug": true,
"browserstack.selenium_version" : "2.53.0",
"browserstack.user": "${BROWSERSTACK_USERNAME}",
"browserstack.key": "${BROWSERSTACK_KEY}"
"browserstack.user": "${BROWSERSTACK_USERNAME1}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this intentional change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nopes. I will update this.

@@ -4,9 +4,9 @@ var util = require('../../common/utils.js');
module.exports = {
'adequant ad rendering' : function (browser) {
browser
.url('http://localhost:9999/test/spec/e2e/gpt-examples/all_bidders_instant_load.html')
.url('http://an.localhost:9999/test/spec/e2e/gpt-examples/all_bidders_instant_load.html')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should make a note about setting up this in hosts file

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes would that to instructions.

@mkendall07
Copy link
Member

LGTM

@mkendall07 mkendall07 merged commit cf21bf6 into master Feb 17, 2017
@mkendall07 mkendall07 deleted the e2etest-concurrency branch February 17, 2017 14:01
Walexander pushed a commit to MbidIO/Prebid.js that referenced this pull request Mar 6, 2017
* Integration testing concurrency fix

* Integration testing concurrency fix

* selenium does not work in iPhone browserstack

* removing iPhone from test report page

* corrected env name

* Remove IE9Win7 test from nightwatch tests
vzhukovsky added a commit to aol/Prebid.js that referenced this pull request May 19, 2017
…18.0 to aolgithub-master

* commit '2881f03dd76bfcf484fbfeaf0f9e1000b383d20d':
  Added adapters in aolPartnersIds.json.
  Added changelog entry.
  Prebid 0.20.0 Release
  Remove test that intermittently fails unit tests (prebid#1020)
  Create bids for requests without mutating ad units (prebid#1019)
  Use optimize js to improve parse time (https://github.com/nolanlawson/optimize-js) (prebid#1018)
  Fixes for Centro adapter (prebid#992)
  adbund adapter (prebid#932)
  Fix bug with supporting non-cpm dealId bids. (prebid#1006)
  Added referrer parameter (prebid#966)
  Support Video for GetIntent adapter (prebid#987)
  Currency support for SmartAdServer adapter (prebid#979)
  Deal support for SmartAdServer adapter (prebid#978)
  Skip test causing build failures (prebid#997)
  E2etest concurrency (prebid#982)
  Add ThoughtLeadr adapter (prebid#894)
  Increment Pre Version
vzhukovsky added a commit to aol/Prebid.js that referenced this pull request May 22, 2017
…18.0 to master

* commit '2881f03dd76bfcf484fbfeaf0f9e1000b383d20d':
  Added adapters in aolPartnersIds.json.
  Added changelog entry.
  Prebid 0.20.0 Release
  Remove test that intermittently fails unit tests (prebid#1020)
  Create bids for requests without mutating ad units (prebid#1019)
  Use optimize js to improve parse time (https://github.com/nolanlawson/optimize-js) (prebid#1018)
  Fixes for Centro adapter (prebid#992)
  adbund adapter (prebid#932)
  Fix bug with supporting non-cpm dealId bids. (prebid#1006)
  Added referrer parameter (prebid#966)
  Support Video for GetIntent adapter (prebid#987)
  Currency support for SmartAdServer adapter (prebid#979)
  Deal support for SmartAdServer adapter (prebid#978)
  Skip test causing build failures (prebid#997)
  E2etest concurrency (prebid#982)
  Add ThoughtLeadr adapter (prebid#894)
  Increment Pre Version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants