Skip to content

About

An example application that captures prominent and ugly functionality found on the web. Perfect for writing automated acceptance tests against.

Resources

Code of conduct

Contributing

Security policy

Stars

915 stars

Watchers

72 watching

Forks

The Internet

=======

An example application that captures prominent and ugly functionality found on the web. Perfect for writing automated acceptance tests against.

Deployed and available at https://the-internet.herokuapp.com. What changed in each release is in changelog.md.

The-internet is now wholly owned by Sauce Labs Inc.!

Available Examples:

Pages reached from the examples

Don't see an example you need or think should be here? Contribute!

Contribution Guidelines

tldr;

  1. Fork
  2. Build Something
  3. Submit a Pull Request
  4. High Five!

Getting Started

Install Ruby (version in .ruby-version) and your dependencies:

bundle install

Start the server:

rackup

Load the page you want to see in your browser:

http://localhost:9292/url_path

Or run it with Docker:

docker build -t the-internet .
docker run -p 5000:5000 the-internet

Then open http://localhost:5000.

Tests

Run the HTTP contract suite (boots the app and checks every example):

bundle exec rake contract

Run the browser suite (Selenium, headless Chrome by default):

bundle exec rake e2e
BROWSER=firefox HEADLESS=false bundle exec rake e2e

Or on Sauce Labs (set SAUCE_USERNAME and SAUCE_ACCESS_KEY):

TARGET=saucelabs BROWSER=safari BASE_URL=https://the-internet.herokuapp.com bundle exec rspec spec/e2e

Deploying and Releasing

Every merged pull request is a release:

  1. In the pull request, bump VERSION and add a matching entry at the top of changelog.md. CI checks both.
  2. Once it's merged, CI deploys main to Heroku and then tags the commit with the version (e.g. 0.61.0, no v prefix).

About

An example application that captures prominent and ugly functionality found on the web. Perfect for writing automated acceptance tests against.

Resources

Code of conduct

Contributing

Security policy

Stars

915 stars

Watchers

72 watching

Forks

Releases

Packages

Used by

Contributors

Languages