Skip to content

Add manual testing instructions #179

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

Merged
merged 2 commits into from
Jul 2, 2018
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
31 changes: 31 additions & 0 deletions guides/browser-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,37 @@ browsers:
- iOS Safari
- Chrome for Android

#### Manual testing

We use a mix of [Sauce Labs](https://saucelabs.com/) and
[localtunnel](https://localtunnel.github.io/www/) to manually test our site.
Be sure to review both the
[testing](https://github.com/cfpb/development/blob/master/guides/testing.md)
and [accessibility](https://github.com/cfpb/development/blob/master/guides/accessibility.md)
guides when reviewing sites locally.

##### Sauce Labs

See [#171](https://github.com/cfpb/development/pull/171) for details on testing
Copy link
Member

@anselmbradford anselmbradford Jul 2, 2018

Choose a reason for hiding this comment

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

This should link to the Pull Request and not the document that 171 added?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The PR isn't merged yet :( When it is, I'll update to point to that doc

with Sauce Labs.

##### localtunnel

To test changes using your CFPB issued iPhone or other devices, you'll need to
use localtunnel to expose your localhost. Start by installing localtunnel if
you haven't already.

```bash
npm install -g localtunnel
```

Start your project's localhost and in a separate tab run `lt --port 8000`
editing the port value to match your localhost setup. This will create a
temporary public URL that can be accessed from any device on any connection.
Navigate to the URL from your device and test to your heart's content, the URL
will remain active as long as the instance is active (keep this in mind, don't
leave it running forever). Use `ctr + c` to terminate the connection.

#### Individual projects to test

- [cfgov-refresh](https://github.com/cfpb/cfgov-refresh/blob/master/CONTRIBUTING.md#browser-support)
Expand Down