Skip to content

Commit 3acd737

Browse files
committed
test: update tests
1 parent 1d1e2ed commit 3acd737

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/formatters/snapshotFormatter.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@ function getAttributes(serializedAXNodeRoot: TextSnapshotNode): string[] {
3535
attributes.push(`"${serializedAXNodeRoot.name}"`);
3636
}
3737

38-
const excluded = new Set(['id', 'role', 'name', 'elementHandle', 'children']);
38+
const excluded = new Set([
39+
'id',
40+
'role',
41+
'name',
42+
'elementHandle',
43+
'children',
44+
'backendNodeId',
45+
]);
3946

4047
const booleanPropertyMap: Record<string, string> = {
4148
disabled: 'disableable',

tests/tools/network.test.js.snapshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Status: [success - 200]
66
- accept-language:en-US,en;q=0.9
77
- upgrade-insecure-requests:1
88
- user-agent:<user-agent>
9-
- sec-ch-ua:"Chromium";v="<version>", "Not?A_Brand";v="8"
9+
- sec-ch-ua:"Not_A Brand";v="99", "Chromium";v="142"
1010
- sec-ch-ua-mobile:?0
1111
- sec-ch-ua-platform:"<os>"
1212
### Response Headers

0 commit comments

Comments
 (0)