You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,6 @@
8
8
9
9
A library that generates an interactive radar, inspired by [thoughtworks.com/radar](http://thoughtworks.com/radar).
10
10
11
-
## Technology Radar Survey
12
-
13
-
Take our short survey to help make the Technology Radar even better: https://www.thoughtworks.com/radar/survey.
14
-
15
11
## Demo
16
12
17
13
You can see this in action at https://radar.thoughtworks.com. If you plug in [this data](https://docs.google.com/spreadsheets/d/1GBX3-jzlGkiKpYHF9RvVtu6GxSrco5OYTBv9YsOTXVg/edit#gid=0) you'll see [this visualization](https://radar.thoughtworks.com/?sheetId=https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1GBX3-jzlGkiKpYHF9RvVtu6GxSrco5OYTBv9YsOTXVg%2Fedit%23gid%3D0).
@@ -137,6 +133,8 @@ Google OAuth Client ID and API Key can be obtained from your Google Developer Co
137
133
export CLIENT_ID=[Google Client ID]
138
134
```
139
135
136
+
**_Note:_** Make sure to set the "Authorized JavaScript origins" field for the Client ID to the right origin domain, with port, where the app is hosted. Examples: `http://localhost:8080` or `https://radar.thoughtworks.com`.
137
+
140
138
Optionally, API Key can be set to bypass Google Authentication for public sheets.
141
139
142
140
```
@@ -222,16 +220,19 @@ To run End to End tests, start the dev server and follow the required steps belo
222
220
223
221
- To run in headless mode:
224
222
225
-
- add a new environment variable `TEST_URL` and set it to 'http://localhost:8080/'
223
+
- add a new environment variable `TEST_URL` and set it to 'http://localhost:8080'
226
224
-`npm run test:e2e-headless`
227
225
228
226
- To run in debug mode:
229
-
- add a new environment variable `TEST_URL` and set it to 'http://localhost:8080/'
227
+
- add a new environment variable `TEST_URL` and set it to 'http://localhost:8080'
230
228
-`npm run e2e`
231
229
- Select 'E2E Testing' and choose the browser
232
230
- Click on the spec to run it's tests
233
231
234
-
**_Note:_** Currently, end to end tests are not supported for private Google Sheets, as it requires interacting with the Google One Tap popup.
232
+
**_Notes:_**
233
+
234
+
- Currently, end to end tests are not supported for private Google Sheets, as it requires interacting with the Google One Tap popup.
235
+
- To run end to end tests for public Google Sheets, the `CLIENT_ID` and `API_KEY` environment variables need to set as well (steps details [here](#more-complex-usage)), to provide Cypress with an authenticated session (without having to interact with Google's auth popups).
235
236
236
237
### Don't want to install node? Run with one line docker
0 commit comments