Fix cross origin iframe bugs (#1093)
* fix: error data while recording some websites are integrated with stripe These websites will usually have an iframe with src "https://js.stripe.com/v3/m-outer-xxx.html" * add test case for the bug * fix: recordCrossOriginIframes: true does not work with pack/unpack fn 1. bugfix 2. add test case 3. add rrweb-all.js to the result of command: bundle:browser 4. make puppeteer headless in CI by default to increase the speed and stability
This commit is contained in:
2
.github/workflows/ci-cd.yml
vendored
2
.github/workflows/ci-cd.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
run: yarn turbo run check-types
|
||||
|
||||
- name: Run tests
|
||||
run: xvfb-run --server-args="-screen 0 1920x1080x24" yarn test
|
||||
run: PUPPETEER_HEADLESS=true xvfb-run --server-args="-screen 0 1920x1080x24" yarn test
|
||||
|
||||
- name: Upload diff images to GitHub
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user