-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
update e2e tests in README #3778
Conversation
1. Change `{id}` values appropriately to set up ad units and bidders | ||
2. Set the path to Prebid.js in your example file as shown below (see `pbs.src`). | ||
```bash | ||
gulp e2e-test --host=test.localhost |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it work if i use any other alias which is also defined in host file ? e.g my.localhost
If yes can you update the description accordingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have that described below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops...
|
||
To run these tests, the following items are required: | ||
- setup an alias of localhost in your `hosts` file (eg `127.0.0.1 test.localhost`); note - you can use any alias. Use this alias in the command-line argument above. | ||
- access to [BrowserStack](https://www.browserstack.com/) account. Assign the following variables in your bash_profile: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see how we can require most users to have access to a browserstack account. I don't think even most of us PBJS regulars have access to the account.
I would suggest that reference to this test be added to https://github.com/prebid/Prebid.js/blob/master/RELEASE_SCHEDULE.md instead of this file.
Regular community members should have the previous end-to-end option IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bretg This is not a requirement. In our README we have mentioned gulp commands to do all the tasks. Since we updated our end to end test architecture, we are documenting the new commands here. Maybe we can add the language stating that it is optional ?
For prebid users, this is completely optional. It is not mandatory to run end to end tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok - I added a note here about needing to be a prebid.org member to do these tests. Am satisfied with that.
|
||
To run these tests, the following items are required: | ||
- setup an alias of localhost in your `hosts` file (eg `127.0.0.1 test.localhost`); note - you can use any alias. Use this alias in the command-line argument above. | ||
- access to [BrowserStack](https://www.browserstack.com/) account. Assign the following variables in your bash_profile: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok - I added a note here about needing to be a prebid.org member to do these tests. Am satisfied with that.
* update e2e tests in README * add clarifying note * added note about Prebid.org members + browserstack
* update e2e tests in README * add clarifying note * added note about Prebid.org members + browserstack
Type of change
Description of change
Adding an update to the README in lieu of #3659 being merged.