rrweb-browser-test 2.1.3 → 2.2.0
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/.claude/settings.local.json +7 -0
- package/CHANGELOG.md +23 -0
- package/dist/index.cjs +367 -53
- package/dist/index.d.cts +12 -6
- package/dist/index.d.ts +12 -6
- package/dist/index.js +380 -63
- package/example/index.js +13 -13
- package/package.json +2 -1
- package/src/appium/index.ts +50 -0
- package/src/core.ts +12 -0
- package/src/cypress/index.ts +4 -3
- package/src/detox/index.ts +50 -0
- package/src/espresso/index.ts +61 -0
- package/src/index.ts +2 -1
- package/src/mobile/shared.ts +146 -0
- package/src/playwright/index.ts +4 -4
- package/src/puppeteer/index.ts +4 -4
- package/src/selenium/index.ts +4 -3
- package/src/types.ts +22 -2
- package/src/utils.ts +35 -0
- package/src/xcuitest/index.ts +58 -0
- package/events.json +0 -31924
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# rrweb-browser-test
|
|
2
2
|
|
|
3
|
+
## 2.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ac0b3b1: Add mobile test framework generators and fix selector/event handling
|
|
8
|
+
|
|
9
|
+
- Add Appium, Espresso, XCUITest and Detox generators, backed by a shared
|
|
10
|
+
`src/mobile/shared.ts` helper, plus a `MOBILE_FRAMEWORKS` export for
|
|
11
|
+
distinguishing native-app targets from browser ones.
|
|
12
|
+
- Export the `TestOptions` type from the package entrypoint.
|
|
13
|
+
- Fix `IncrementalSource.MouseMove || IncrementalSource.TouchMove` in the
|
|
14
|
+
switch statements of every web generator — the `||` collapsed to a single
|
|
15
|
+
case, so touch-move events were never handled.
|
|
16
|
+
- Replace ad-hoc `tag.class` selector building with a shared `cssSelector`
|
|
17
|
+
helper that prefers `id`, handles multiple space-separated classes, escapes
|
|
18
|
+
classes that aren't valid bare selectors, and never emits `tag.undefined`.
|
|
19
|
+
|
|
20
|
+
## 2.1.4
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 25667dc: :art: Removed console log line
|
|
25
|
+
|
|
3
26
|
## 2.1.3
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|