Skip to content

Instantly share code, notes, and snippets.

View jasonLaster's full-sized avatar

Jason Laster jasonLaster

View GitHub Profile
diff --git a/src/instance/testInboxServer.ts b/src/instance/testInboxServer.ts
index 4dae6d7c1..5ed5c9523 100644
--- a/src/instance/testInboxServer.ts
+++ b/src/instance/testInboxServer.ts
@@ -152,9 +152,12 @@ async function replayRecordingTestSnapshots(
const snapshotSessionSuccess = await replayRecordingWithTimeout(
dispatchAddress,
recordingId,
- url,
{ ...options, skipFuzzing: true },
diff --git a/src/instance/testInboxServer.ts b/src/instance/testInboxServer.ts
index 4dae6d7c1..ab606c80c 100644
--- a/src/instance/testInboxServer.ts
+++ b/src/instance/testInboxServer.ts
@@ -152,9 +152,12 @@ async function replayRecordingTestSnapshots(
const snapshotSessionSuccess = await replayRecordingWithTimeout(
dispatchAddress,
recordingId,
- url,
{ ...options, skipFuzzing: true },
diff --git a/src/processing/replayRecording.ts b/src/processing/replayRecording.ts
index 64e6e5570..edac9048f 100644
--- a/src/processing/replayRecording.ts
+++ b/src/processing/replayRecording.ts
@@ -158,6 +158,20 @@ interface PauseInfo extends TimeStampedPoint {
pauseId: string;
}
+type RecordingMetadata = {
+ workspace: {
/* Copyright 2023 Record Replay Inc. */
import { sample, sampleSize, random, flattenDeep, flatten } from "lodash";
import { MsPerSecond } from "../shared/utils";
import { defer } from "../shared/promise";
import { assert } from "../shared/assert";
import { waitForTime } from "../shared/timer";
import {
CommandMethods,
CommandParams,
/* Copyright 2023 Record Replay Inc. */
import { sample, sampleSize, random, flattenDeep, flatten } from "lodash";
import { MsPerSecond } from "../shared/utils";
import { defer } from "../shared/promise";
import { assert } from "../shared/assert";
import { waitForTime } from "../shared/timer";
import {
CommandMethods,
CommandParams,
/* Copyright 2023 Record Replay Inc. */
// React Event Listeners routine event listener processing functions
import {
ObjectPreview,
Object as ProtocolObject,
getSourceOutlineResult,
Location,
PointDescription,
@jasonLaster
jasonLaster / reactEventListeners.ts
Created July 26, 2023 19:16
reactEventListeners.ts
/* Copyright 2023 Record Replay Inc. */
// The main React Event Listeners routine implementation
import {
Annotation,
MouseEvent as ReplayMouseEvent,
KeyboardEvent as ReplayKeyboardEvent,
TimeStampedPoint,
} from "@replayio/protocol";
diff --git a/packages/shared/test-suites/RecordingTestMetadata.ts b/packages/shared/test-suites/RecordingTestMetadata.ts
index b6d24bcbb..63606512b 100644
--- a/packages/shared/test-suites/RecordingTestMetadata.ts
+++ b/packages/shared/test-suites/RecordingTestMetadata.ts
@@ -413,7 +413,11 @@ export async function processCypressTestRecording(
const annotations = userActionEventIdToAnnotations[id];
- assert(annotations != null, `Missing annotations for test event (${command.name})`);
+ // assert(annotations != null, `Missing annotations for test event (${command.name})`);
diff --git a/src/hooks/useFetchCrashReports.ts b/src/hooks/useFetchCrashReports.ts
index a3f636d..75760b9 100644
--- a/src/hooks/useFetchCrashReports.ts
+++ b/src/hooks/useFetchCrashReports.ts
@@ -21,6 +21,13 @@ import {
import hackfix_pruneBadCrashReports from "../utils/crash-pruning";
let ids = new Set<string>();
+let cannotFindContextCount = 0;
+function matchesCannotFindContext(report: DBCrashReport) {
diff --git a/cypress.config.ts b/cypress.config.ts
index 84e63ef..aebb41d 100644
--- a/cypress.config.ts
+++ b/cypress.config.ts
@@ -9,6 +9,10 @@ export default defineConfig({
screenshotOnRunFailure: false,
video: false,
setupNodeEvents(on, config) {
+ [on, config] = require("@deploysentinel/cypress-debugger/plugin")(
+ on,