Skip to content

Commit 6ce1083

Browse files
antonisclaude
andauthored
test(e2e): Re-enable iOS view_names assertion in captureMessage test (#6846)
The JS captureMessage event's `view_names` is set entirely in JS from the clean React Navigation `route.name`, matching the already-enabled Android assertion. The generated route-key hash referenced by the old TODO no longer appears, so re-enable the assertion with the clean route name. Closes #6844 Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 1236b6e commit 6ce1083

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎samples/react-native/e2e/tests/captureMessage/captureMessage.test.ios.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ describe('Capture message', () => {
8787
app_start_time: expect.any(String),
8888
app_version: expect.any(String),
8989
in_foreground: expect.any(Boolean),
90-
// view_names: ['ErrorsScreen-jn5qquvH9Nz'], // TODO: fix this generated hash should not be part of the name
90+
view_names: ['ErrorsScreen'],
9191
}),
9292
}),
9393
}),

0 commit comments

Comments
 (0)