Skip to content

Commit

Permalink
Add browserstack documentation #61
Browse files Browse the repository at this point in the history
  • Loading branch information
caebr committed Nov 9, 2023
1 parent 34d9f85 commit 5e47149
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Download the [latest build](https://bkd-mba-fbi.github.io/evento-portal/evento-p
## Contents

- [Setup & Development](./doc/development.md)
- [Browser Support](./doc/browser-support.md)
- [Architecture](./doc/architecture.md)
- [Authentication via OAuth 2.0](./doc/auth.md)
- [Branching, Releasing & Deployment](./doc/releasing.md)
17 changes: 17 additions & 0 deletions doc/browser-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Browser support

[back](../README.md)

We support the evergreen browsers (Chrome, Firefox, Safari, Edge).

## Testing with BrowserStack

When testing browser compatibility with [BrowserStack](https://www.browserstack.com/), consider the following combination of Dev Server and URL to use.

| OS | Browser | Dev Server | URL |
| --------- | --------------------- | ---------------------------- | -------------------------- |
| Windows | Chrome, Firefox, Edge | `npm start` | `http://localhost:3000` |
| Android | Chrome | `npm start` | `http://localhost:3000` |
| macOS/iOS | Safari | `npm run start:browserstack` | `http://bs-local.com:8000` |

In order to log in without two-factor authentication, you will need to enable _Resolve all URLs through my network_ under [_Local testing_](https://www.browserstack.com/docs/live/local-testing/test-using-local-testing#test-websites-hosted-on-private-or-internal-servers).
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"type": "module",
"scripts": {
"start": "npm run dev",
"start:browserstack": "vite --host 0.0.0.0 --port 8000",
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
Expand Down

0 comments on commit 5e47149

Please sign in to comment.