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

Automate testing in Edge and Safari (via Sauce Labs) #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jugglinmike
Copy link
Contributor

Hey @bterlson,

Here's an example of a successful test run from my fork of the project:

https://travis-ci.org/jugglinmike/eshost/builds/258761231

You'll need to do a little bit of administrative work before landing this patch
(sorry):

  1. Create a free account on Sauce Labs

  2. Install the travis command-line utility:

    gem install travis
    

    (Note that this requires a development version of Ruby.)

  3. Log in to GitHub.com

  4. Navigate to https://github.com/settings/tokens

  5. Create a new token with the public_repo scope

  6. Authorize the travis script with the token:

    travis login --github-token TOKEN_VALUE
    
  7. Use the travis script to update the project's .travis.yml file:

    travis encrypt  --add addons.jwt SAUCE_ACCESS_KEY=VALUE
    

    ...where VALUE is the actual access key for the repository owner as
    provided by Sauce Labs.

  8. Change the value of the SAUCE_USERNAME environment variable in the
    .travis.yml from "jugglinmike" to "bterlson"

I know that setting up Ruby on Windows can be a hassle, though. I think I
could do steps 2 through 8 on your behalf, but I would still need you to sign
up for Sauce Labs. Let me know if you'd like to try that.

Rename synthetic errors produced in browser hosts to
'UnknownESHostError'. This is intended to avoid confusion with errors
derived from the built-in `Error` constructor and more clearly
communicate the errors' origin.
Use the `tunnel-identifier` CLI option/WebDriver capability that is
provided by Sauce Labs in order to support testing multiple web browsers
concurrently.
@bterlson
Copy link
Member

bterlson commented Aug 9, 2017

@jugglinmike I've signed up for an account, at least (account name is bterlson). Want to see if you can do the subsequent steps?

@rwaldron rwaldron force-pushed the master branch 2 times, most recently from 34bdc55 to 7394535 Compare October 4, 2019 18:26
@rwaldron rwaldron force-pushed the master branch 2 times, most recently from 6ea316f to 1022627 Compare June 6, 2022 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants