Skip to content

Commit f8b56b0

Browse files
authored
test(replay): Make tests less flaky (#7368)
1 parent 9bf840a commit f8b56b0

File tree

54 files changed

+6333
-6116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+6333
-6116
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,113 @@
11
[
22
{
3-
"node": {
4-
"type": 0,
5-
"childNodes": [
6-
{
7-
"type": 1,
8-
"name": "html",
9-
"publicId": "",
10-
"systemId": "",
11-
"id": 2
12-
},
13-
{
14-
"type": 2,
15-
"tagName": "html",
16-
"attributes": {},
17-
"childNodes": [
18-
{
19-
"type": 2,
20-
"tagName": "head",
21-
"attributes": {},
22-
"childNodes": [
23-
{
24-
"type": 2,
25-
"tagName": "meta",
26-
"attributes": {
27-
"charset": "utf-8"
3+
"type": 2,
4+
"data": {
5+
"node": {
6+
"type": 0,
7+
"childNodes": [
8+
{
9+
"type": 1,
10+
"name": "html",
11+
"publicId": "",
12+
"systemId": "",
13+
"id": 2
14+
},
15+
{
16+
"type": 2,
17+
"tagName": "html",
18+
"attributes": {},
19+
"childNodes": [
20+
{
21+
"type": 2,
22+
"tagName": "head",
23+
"attributes": {},
24+
"childNodes": [
25+
{
26+
"type": 2,
27+
"tagName": "meta",
28+
"attributes": {
29+
"charset": "utf-8"
30+
},
31+
"childNodes": [],
32+
"id": 5
33+
}
34+
],
35+
"id": 4
36+
},
37+
{
38+
"type": 3,
39+
"textContent": "\n ",
40+
"id": 6
41+
},
42+
{
43+
"type": 2,
44+
"tagName": "body",
45+
"attributes": {},
46+
"childNodes": [
47+
{
48+
"type": 3,
49+
"textContent": "\n ",
50+
"id": 8
2851
},
29-
"childNodes": [],
30-
"id": 5
31-
}
32-
],
33-
"id": 4
34-
},
35-
{
36-
"type": 3,
37-
"textContent": "\n ",
38-
"id": 6
39-
},
40-
{
41-
"type": 2,
42-
"tagName": "body",
43-
"attributes": {},
44-
"childNodes": [
45-
{
46-
"type": 3,
47-
"textContent": "\n ",
48-
"id": 8
49-
},
50-
{
51-
"type": 2,
52-
"tagName": "button",
53-
"attributes": {
54-
"id": "go-background"
52+
{
53+
"type": 2,
54+
"tagName": "button",
55+
"attributes": {
56+
"id": "go-background"
57+
},
58+
"childNodes": [
59+
{
60+
"type": 3,
61+
"textContent": "*** ***",
62+
"id": 10
63+
}
64+
],
65+
"id": 9
5566
},
56-
"childNodes": [
57-
{
58-
"type": 3,
59-
"textContent": "*** ***",
60-
"id": 10
61-
}
62-
],
63-
"id": 9
64-
},
65-
{
66-
"type": 3,
67-
"textContent": "\n ",
68-
"id": 11
69-
},
70-
{
71-
"type": 2,
72-
"tagName": "a",
73-
"attributes": {
74-
"href": "/page-0.html"
67+
{
68+
"type": 3,
69+
"textContent": "\n ",
70+
"id": 11
7571
},
76-
"childNodes": [
77-
{
78-
"type": 3,
79-
"textContent": "** ** *** ****",
80-
"id": 13
81-
}
82-
],
83-
"id": 12
84-
},
85-
{
86-
"type": 3,
87-
"textContent": "\n ",
88-
"id": 14
89-
},
90-
{
91-
"type": 3,
92-
"textContent": "\n\n",
93-
"id": 15
94-
}
95-
],
96-
"id": 7
97-
}
98-
],
99-
"id": 3
100-
}
101-
],
102-
"id": 1
72+
{
73+
"type": 2,
74+
"tagName": "a",
75+
"attributes": {
76+
"href": "/page-0.html"
77+
},
78+
"childNodes": [
79+
{
80+
"type": 3,
81+
"textContent": "** ** *** ****",
82+
"id": 13
83+
}
84+
],
85+
"id": 12
86+
},
87+
{
88+
"type": 3,
89+
"textContent": "\n ",
90+
"id": 14
91+
},
92+
{
93+
"type": 3,
94+
"textContent": "\n\n",
95+
"id": 15
96+
}
97+
],
98+
"id": 7
99+
}
100+
],
101+
"id": 3
102+
}
103+
],
104+
"id": 1
105+
},
106+
"initialOffset": {
107+
"left": 0,
108+
"top": 0
109+
}
103110
},
104-
"initialOffset": {
105-
"left": 0,
106-
"top": 0
107-
}
111+
"timestamp": [timestamp]
108112
}
109113
]

0 commit comments

Comments
 (0)