Skip to content

Commit a2aa9dc

Browse files
committed
test(e2e): update pilot tests cache.
1 parent dae48fd commit a2aa9dc

8 files changed

+1913
-0
lines changed

Diff for: detox/test/e2e/pilot/03.pilot.shape-match.test.js

+4
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@ describe.forPilot('Shape Match Game Screen', () => {
2424
'Drag shapes into their holes until the score is 3',
2525
'All shapes are in their holes and score is now 3',
2626
);
27+
}, 500000);
28+
29+
it('should play the Shape Matcher game with Autopilot', async () => {
30+
await pilot.autopilot('Play the shape matching game until score 2, use only the top row shapes');
2731
});
2832
});

Diff for: detox/test/e2e/pilot/__pilot_cache__/03.pilot.shape-match.test.json

+340
Large diffs are not rendered by default.

Diff for: detox/test/e2e/pilot/__pilot_cache__/04.webview.test.json

+232
Large diffs are not rendered by default.

Diff for: detox/test/e2e/pilot/__pilot_cache__/06.waitfor.test.json

+273
Large diffs are not rendered by default.

Diff for: detox/test/e2e/pilot/__pilot_cache__/07.pilot.assertions.test.json

+442
Large diffs are not rendered by default.

Diff for: detox/test/e2e/pilot/__pilot_cache__/08.pilot.location.test.json

+284
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
{
2+
"{\"currentStep\":\"Restart the React Native state\",\"previousSteps\":[]}": [
3+
{
4+
"value": {
5+
"code": "await device.reloadReactNative();"
6+
},
7+
"snapshotHashes": {
8+
"BlockHash": "c801f81ffc3ff81ff81ffc1ffc3ff81ff81ff81ffc3ffc3ffc3ff00ff81ff81f",
9+
"ViewHierarchyHash": "7deb94004b730aea63c8030457528d5a"
10+
},
11+
"creationTime": 1742057817467,
12+
"lastAccessTime": 1742057817467
13+
},
14+
{
15+
"value": {
16+
"code": "await device.reloadReactNative();"
17+
},
18+
"snapshotHashes": {
19+
"BlockHash": "c801f00ff00ffffff00ff00ffffffffffffffffffffffffffffffffffc1ff81f",
20+
"ViewHierarchyHash": "fd2b7748a718fdf18f44b794c8aed616"
21+
},
22+
"creationTime": 1742057886795,
23+
"lastAccessTime": 1742057886795
24+
}
25+
],
26+
"{\"currentStep\":\"Navigate to the DatePicker screen\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"}]}": [
27+
{
28+
"value": {
29+
"code": "await element(by.text('DatePicker')).tap();"
30+
},
31+
"snapshotHashes": {
32+
"BlockHash": "c801f81ffc3ff81ff81ffc1ffc3ff81ff81ff81ffc3ffc3ffc3ff00ff81ff81f",
33+
"ViewHierarchyHash": "7deb94004b730aea63c8030457528d5a"
34+
},
35+
"creationTime": 1742057828170,
36+
"lastAccessTime": 1742057828170
37+
}
38+
],
39+
"{\"currentStep\":\"Verify there is element with the text \\\"Date (UTC): \\\"\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"}]}": [
40+
{
41+
"value": {
42+
"code": "await expect(element(by.id('utcDateLabel'))).toHaveText('Date (UTC): Jul 1st, 2023');"
43+
},
44+
"snapshotHashes": {
45+
"BlockHash": "c801f00ff00ffffff00ff00ffffffffffffffffffffffffffffffffffc1ff81f",
46+
"ViewHierarchyHash": "fd2b7748a718fdf18f44b794c8aed616"
47+
},
48+
"creationTime": 1742057838319,
49+
"lastAccessTime": 1742057838319
50+
}
51+
],
52+
"{\"currentStep\":\"Verify the element value of current date UTC July 1st 2023\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"},{\"step\":\"Verify there is element with the text \\\"Date (UTC): \\\"\",\"code\":\"await expect(element(by.id('utcDateLabel'))).toHaveText('Date (UTC): Jul 1st, 2023');\"}]}": [
53+
{
54+
"value": {
55+
"code": "await expect(element(by.id('utcDateLabel'))).toHaveText('Date (UTC): Jul 1st, 2023');"
56+
},
57+
"snapshotHashes": {
58+
"BlockHash": "c801f00ff00ffffff00ff00ffffffffffffffffffffffffffffffffffc1ff81f",
59+
"ViewHierarchyHash": "fd2b7748a718fdf18f44b794c8aed616"
60+
},
61+
"creationTime": 1742057848447,
62+
"lastAccessTime": 1742057848447
63+
}
64+
],
65+
"{\"currentStep\":\"Verify there is element with the text \\\"Time (UTC): \\\"\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"},{\"step\":\"Verify there is element with the text \\\"Date (UTC): \\\"\",\"code\":\"await expect(element(by.id('utcDateLabel'))).toHaveText('Date (UTC): Jul 1st, 2023');\"},{\"step\":\"Verify the element value of current date UTC July 1st 2023\",\"code\":\"await expect(element(by.id('utcDateLabel'))).toHaveText('Date (UTC): Jul 1st, 2023');\"}]}": [
66+
{
67+
"value": {
68+
"code": "await expect(element(by.id('utcTimeLabel'))).toHaveText('Time (UTC): 4:30 PM');"
69+
},
70+
"snapshotHashes": {
71+
"BlockHash": "c801f00ff00ffffff00ff00ffffffffffffffffffffffffffffffffffc1ff81f",
72+
"ViewHierarchyHash": "fd2b7748a718fdf18f44b794c8aed616"
73+
},
74+
"creationTime": 1742057858031,
75+
"lastAccessTime": 1742057858031
76+
}
77+
],
78+
"{\"currentStep\":\"Verify there is element with the text \\\"Time Local: \\\"\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"},{\"step\":\"Verify there is element with the text \\\"Date (UTC): \\\"\",\"code\":\"await expect(element(by.id('utcDateLabel'))).toHaveText('Date (UTC): Jul 1st, 2023');\"},{\"step\":\"Verify the element value of current date UTC July 1st 2023\",\"code\":\"await expect(element(by.id('utcDateLabel'))).toHaveText('Date (UTC): Jul 1st, 2023');\"},{\"step\":\"Verify there is element with the text \\\"Time (UTC): \\\"\",\"code\":\"await expect(element(by.id('utcTimeLabel'))).toHaveText('Time (UTC): 4:30 PM');\"}]}": [
79+
{
80+
"value": {
81+
"code": "await expect(element(by.id('localTimeLabel'))).toHaveText('Time (Local): 7:30 PM');"
82+
},
83+
"snapshotHashes": {
84+
"BlockHash": "c801f00ff00ffffff00ff00ffffffffffffffffffffffffffffffffffc1ff81f",
85+
"ViewHierarchyHash": "fd2b7748a718fdf18f44b794c8aed616"
86+
},
87+
"creationTime": 1742057868125,
88+
"lastAccessTime": 1742057868125
89+
}
90+
],
91+
"{\"currentStep\":\"Verify \\\"Time Local: \\\" value is 7:30 pm\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"},{\"step\":\"Verify there is element with the text \\\"Date (UTC): \\\"\",\"code\":\"await expect(element(by.id('utcDateLabel'))).toHaveText('Date (UTC): Jul 1st, 2023');\"},{\"step\":\"Verify the element value of current date UTC July 1st 2023\",\"code\":\"await expect(element(by.id('utcDateLabel'))).toHaveText('Date (UTC): Jul 1st, 2023');\"},{\"step\":\"Verify there is element with the text \\\"Time (UTC): \\\"\",\"code\":\"await expect(element(by.id('utcTimeLabel'))).toHaveText('Time (UTC): 4:30 PM');\"},{\"step\":\"Verify there is element with the text \\\"Time Local: \\\"\",\"code\":\"await expect(element(by.id('localTimeLabel'))).toHaveText('Time (Local): 7:30 PM');\"}]}": [
92+
{
93+
"value": {
94+
"code": "await expect(element(by.id('localTimeLabel'))).toHaveText('Time (Local): 7:30 PM');"
95+
},
96+
"snapshotHashes": {
97+
"BlockHash": "c801f00ff00ffffff00ff00ffffffffffffffffffffffffffffffffffc1ff81f",
98+
"ViewHierarchyHash": "fd2b7748a718fdf18f44b794c8aed616"
99+
},
100+
"creationTime": 1742057877024,
101+
"lastAccessTime": 1742057877024
102+
}
103+
],
104+
"{\"currentStep\":\"Verify there is an element with the text \\\"Compact Date Picker\\\"\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"}]}": [
105+
{
106+
"value": {
107+
"code": "await expect(element(by.text('Compact Date Picker'))).toExist();"
108+
},
109+
"snapshotHashes": {
110+
"BlockHash": "c801f00ff00ffffff00ff00ffffffffffffffffffffffffffffffffffc1ff81f",
111+
"ViewHierarchyHash": "fd2b7748a718fdf18f44b794c8aed616"
112+
},
113+
"creationTime": 1742057899256,
114+
"lastAccessTime": 1742057926955
115+
}
116+
],
117+
"{\"currentStep\":\"Verify there is an element with today`s date at the bottom of the screen\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"},{\"step\":\"Verify there is an element with the text \\\"Compact Date Picker\\\"\",\"code\":\"await expect(element(by.text('Compact Date Picker'))).toExist();\"}]}": [
118+
{
119+
"value": {
120+
"code": "await expect(element(by.id('datePicker'))).toExist();"
121+
},
122+
"snapshotHashes": {
123+
"BlockHash": "c801f00ff00ffffff00ff00ffffffffffffffffffffffffffffffffffc1ff81f",
124+
"ViewHierarchyHash": "fd2b7748a718fdf18f44b794c8aed616"
125+
},
126+
"creationTime": 1742057911097,
127+
"lastAccessTime": 1742057911097
128+
}
129+
],
130+
"{\"currentStep\":\"Set the date picker to September 9th, 2023\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"},{\"step\":\"Verify there is an element with the text \\\"Compact Date Picker\\\"\",\"code\":\"await expect(element(by.text('Compact Date Picker'))).toExist();\"},{\"step\":\"Verify there is an element with today`s date at the bottom of the screen\",\"code\":\"await expect(element(by.id('datePicker'))).toExist();\"}]}": [
131+
{
132+
"value": {
133+
"code": "await element(by.id('datePicker')).setDatePickerDate('2023-09-09', 'yyyy-MM-dd');"
134+
},
135+
"snapshotHashes": {
136+
"BlockHash": "c801f00ff00ffffff00ff00ffffffffffffffffffffffffffffffffffc1ff81f",
137+
"ViewHierarchyHash": "fd2b7748a718fdf18f44b794c8aed616"
138+
},
139+
"creationTime": 1742057921205,
140+
"lastAccessTime": 1742057921205
141+
}
142+
],
143+
"{\"currentStep\":\"Tap the element with the text \\\"Compact Date Picker\\\"\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"},{\"step\":\"Verify there is an element with the text \\\"Compact Date Picker\\\"\",\"code\":\"await expect(element(by.text('Compact Date Picker'))).toExist();\"}]}": [
144+
{
145+
"value": {
146+
"code": "await element(by.id('toggleDatePicker')).tap();"
147+
},
148+
"snapshotHashes": {
149+
"BlockHash": "c801f00ff00ffffff00ff00ffffffffffffffffffffffffffffffffffc1ff81f",
150+
"ViewHierarchyHash": "fd2b7748a718fdf18f44b794c8aed616"
151+
},
152+
"creationTime": 1742057936018,
153+
"lastAccessTime": 1742057936018
154+
}
155+
],
156+
"{\"currentStep\":\"Verify there is an element with the text \\\"Inline Date Picker\\\"\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"},{\"step\":\"Verify there is an element with the text \\\"Compact Date Picker\\\"\",\"code\":\"await expect(element(by.text('Compact Date Picker'))).toExist();\"},{\"step\":\"Tap the element with the text \\\"Compact Date Picker\\\"\",\"code\":\"await element(by.id('toggleDatePicker')).tap();\"}]}": [
157+
{
158+
"value": {
159+
"code": "await expect(element(by.text('Inline Date Picker'))).toExist();"
160+
},
161+
"snapshotHashes": {
162+
"BlockHash": "c801f00ff00ffffff81ff81fffffffffffffffffc003d423d42bc40bc52bf81f",
163+
"ViewHierarchyHash": "2a8d45bbf2b56ca835b8dc7b9c695458"
164+
},
165+
"creationTime": 1742057948817,
166+
"lastAccessTime": 1742057948817
167+
}
168+
],
169+
"{\"currentStep\":\"Verify there is an element with today`s date at the bottom of the screen\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"},{\"step\":\"Verify there is an element with the text \\\"Compact Date Picker\\\"\",\"code\":\"await expect(element(by.text('Compact Date Picker'))).toExist();\"},{\"step\":\"Tap the element with the text \\\"Compact Date Picker\\\"\",\"code\":\"await element(by.id('toggleDatePicker')).tap();\"},{\"step\":\"Verify there is an element with the text \\\"Inline Date Picker\\\"\",\"code\":\"await expect(element(by.text('Inline Date Picker'))).toExist();\"}]}": [
170+
{
171+
"value": {
172+
"code": "await expect(element(by.text('July 2023'))).toExist();\nawait expect(element(by.label('Saturday, 1 July'))).toExist();"
173+
},
174+
"snapshotHashes": {
175+
"BlockHash": "c801f00ff00ffffff81ff81fffffffffffffffffc003d423d42bc40bc52bf81f",
176+
"ViewHierarchyHash": "2a8d45bbf2b56ca835b8dc7b9c695458"
177+
},
178+
"creationTime": 1742057963181,
179+
"lastAccessTime": 1742057963181
180+
}
181+
],
182+
"{\"currentStep\":\"Set the date picker to September 9th, 2023\",\"previousSteps\":[{\"step\":\"Restart the React Native state\",\"code\":\"await device.reloadReactNative();\"},{\"step\":\"Navigate to the DatePicker screen\",\"code\":\"await element(by.text('DatePicker')).tap();\"},{\"step\":\"Verify there is an element with the text \\\"Compact Date Picker\\\"\",\"code\":\"await expect(element(by.text('Compact Date Picker'))).toExist();\"},{\"step\":\"Tap the element with the text \\\"Compact Date Picker\\\"\",\"code\":\"await element(by.id('toggleDatePicker')).tap();\"},{\"step\":\"Verify there is an element with the text \\\"Inline Date Picker\\\"\",\"code\":\"await expect(element(by.text('Inline Date Picker'))).toExist();\"},{\"step\":\"Verify there is an element with today`s date at the bottom of the screen\",\"code\":\"await expect(element(by.text('July 2023'))).toExist();\\nawait expect(element(by.label('Saturday, 1 July'))).toExist();\"}]}": [
183+
{
184+
"value": {
185+
"code": "// Click Next Month button twice to get from July to September\nawait element(by.label('Next Month')).tap();\nawait element(by.label('Next Month')).tap();\n\n// Tap on September 9th\nawait element(by.label('Saturday, 9 September')).tap();"
186+
},
187+
"snapshotHashes": {
188+
"BlockHash": "c801f00ff00ffffff81ff81fffffffffffffffffc003d423d42bc40bc52bf81f",
189+
"ViewHierarchyHash": "2a8d45bbf2b56ca835b8dc7b9c695458"
190+
},
191+
"creationTime": 1742057976868,
192+
"lastAccessTime": 1742057976868
193+
}
194+
]
195+
}

0 commit comments

Comments
 (0)