posthog-js 1.51.5 → 1.52.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,13 +13,24 @@ Cypress: run `yarn serve` to have a test server running and separately `yarn cyp
13
13
 
14
14
  ### Running TestCafe E2E tests with BrowserStack
15
15
 
16
- Testing on IE11 requires a bit more setup.
17
-
18
- 1. Run `posthog` locally on port 8000 (`DEBUG=1 TEST=1 ./bin/start`).
19
- 2. Run `python manage.py setup_dev --no-data` on posthog repo, which sets up a demo account.
20
- 3. Optional: rebuild array.js on changes: `nodemon -w src/ --exec bash -c "yarn build-rollup"`.
21
- 4. Export browserstack credentials: `export BROWSERSTACK_USERNAME=xxx BROWSERSTACK_ACCESS_KEY=xxx`.
22
- 5. Run tests: `npx testcafe "browserstack:ie" testcafe/e2e.spec.js`.
16
+ Testing on IE11 requires a bit more setup. TestCafe tests will use the
17
+ playground application to test the locally built array.full.js bundle. It will
18
+ also verify that the events emitted during the testing of playground are loaded
19
+ into the PostHog app. By default it uses https://app.posthog.com and the
20
+ project with ID 11213. See the testcafe tests to see how to override these if
21
+ needed. For PostHog internal users ask @benjackwhite or @hazzadous to invite you
22
+ to the Project. You'll need to set `POSTHOG_API_KEY` to your personal API key, and
23
+ `POSTHOG_PROJECT_KEY` to the key for the project you are using.
24
+
25
+ You'll also need to sign up to [BrowserStack](https://www.browserstack.com/).
26
+ Note that if you are using CodeSpaces, these variables will already be available
27
+ in your shell env variables.
28
+
29
+ After all this, you'll be able to run through the below steps:
30
+
31
+ 1. Optional: rebuild array.js on changes: `nodemon -w src/ --exec bash -c "yarn build-rollup"`.
32
+ 1. Export browserstack credentials: `export BROWSERSTACK_USERNAME=xxx BROWSERSTACK_ACCESS_KEY=xxx`.
33
+ 1. Run tests: `npx testcafe "browserstack:ie" testcafe/e2e.spec.js`.
23
34
 
24
35
  ### Running local create react app example
25
36