@mirai/core 0.4.648 → 0.4.650
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/Banner/__tests__/__snapshots__/Banner.skeleton.test.js.snap +278 -0
- package/build/components/Banner/__tests__/__snapshots__/Banner.test.js.snap +9 -0
- package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +3862 -0
- package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +139 -0
- package/build/components/Booking/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +28 -0
- package/build/components/Booking/components/Summary/__tests__/__snapshots__/Summary.test.js.snap +1683 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormCancel.test.js.snap +586 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEdit.test.js.snap +46 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEditDate.test.js.snap +1822 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEditOccupation.test.js.snap +326 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormResend.test.js.snap +170 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap +110 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +82 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +208 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalAgency.test.js.snap +107 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalCalendar.test.js.snap +463 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalCesSurvey.test.js.snap +255 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalOccupation.test.js.snap +491 -0
- package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Payment.test.js.snap +418 -0
- package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +92 -0
- package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +65 -0
- package/build/components/Chat/__tests__/__snapshots__/Chat.constants.test.js.snap +101 -0
- package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +190 -0
- package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +204 -0
- package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Environment.test.js.snap +44 -0
- package/build/components/Chat/helpers/__tests__/__snapshots__/getVerboseDate.test.js.snap +9 -0
- package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +4946 -0
- package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +371 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +412 -0
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +6333 -0
- package/build/components/CookieBanner/__tests__/__snapshots__/CookieBanner.test.js.snap +7 -0
- package/build/components/Deals/__tests__/__mocks__/deal.json +25 -0
- package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +5527 -0
- package/build/components/Environment/__tests__/__snapshots__/Environment.State.test.js.snap +120 -0
- package/build/components/Environment/__tests__/__snapshots__/Environment.test.js.snap +1088 -0
- package/build/components/Finder/__tests__/__snapshots__/Finder.constants.test.js.snap +35 -0
- package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +21195 -0
- package/build/components/Finder/components/Calendar/__tests__/__mocks__/prices.json +11 -0
- package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +8546 -0
- package/build/components/Finder/components/Places/__tests__/__mocks__/places.json +44 -0
- package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +324 -0
- package/build/components/Finder/helpers/__tests__/__mocks__/dataSource.json +1382 -0
- package/build/components/Finder/helpers/__tests__/__snapshots__/getForwarderUrl.test.js.snap +7 -0
- package/build/components/Header/__tests__/__snapshots__/Header.test.js.snap +1105 -0
- package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +19 -0
- package/build/components/Rates/__tests__/__snapshots__/Rates.Content.test.js.snap +59 -0
- package/build/components/Rates/__tests__/__snapshots__/Rates.Footer.test.js.snap +50 -0
- package/build/components/Rates/__tests__/__snapshots__/Rates.Header.test.js.snap +3 -0
- package/build/components/Rates/__tests__/__snapshots__/Rates.RoomSelector.test.js.snap +3 -0
- package/build/components/Rates/__tests__/__snapshots__/Rates.Unavailability.test.js.snap +53 -0
- package/build/components/Rates/__tests__/__snapshots__/Rates.test.js.snap +9962 -0
- package/build/components/Rates/components/CardHotel/__tests__/__snapshots__/CardHotel.test.js.snap +116 -0
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/FIlters.Button.test.js.snap +32 -0
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.Amenity.test.js.snap +21 -0
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.BookingOption.test.js.snap +32 -0
- package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.test.js.snap +32 -0
- package/build/components/Rates/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +3 -0
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Preview.test.js.snap +93 -0
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Rates.test.js.snap +9 -0
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Summary.test.js.snap +52 -0
- package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.test.js.snap +150 -0
- package/build/components/Rates/components/Item/components/Amenities/__tests__/__snapshots__/Amenities.test.js.snap +3 -0
- package/build/components/Rates/components/Item/components/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +3 -0
- package/build/components/Rates/components/Item/components/Features/__tests__/__snapshots__/Features.test.js.snap +40 -0
- package/build/components/Rates/components/Item/components/ModalCancellationInfo/__tests__/__snapshots__/ModalCancellationInfo.test.js.snap +16 -0
- package/build/components/Rates/components/Item/components/ModalInfo/__tests__/__snapshots__/ModalInfo.test.js.snap +47 -0
- package/build/components/Rates/components/Item/components/ModalOfferInfo/__tests__/__snapshots__/ModalOfferInfo.test.js.snap +47 -0
- package/build/components/Rates/components/Item/components/ModalUrl/__tests__/__snapshots__/ModalUrl.test.js.snap +47 -0
- package/build/components/Rates/components/Item/components/Option/__tests__/__snapshots__/Option.test.js.snap +17 -0
- package/build/components/Rates/components/Item/components/PriceDetails/__tests__/__snapshots__/PriceDetails.test.js.snap +23 -0
- package/build/components/Rates/components/Item/components/RateDetails/__tests__/__snapshots__/RateDetails.test.js.snap +3 -0
- package/build/components/Rates/components/Item/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +27 -0
- package/build/components/Rates/components/Item/components/TooltipDates/__tests__/__snapshots__/TooltipDates.test.js.snap +3 -0
- package/build/components/Rates/components/ModalExtras/__tests__/__snapshots__/ModalExtras.test.js.snap +52 -0
- package/build/components/Rates/components/ModalMapView/__tests__/__snapshots__/ModalMapView.test.js.snap +16 -0
- package/build/components/Rates/components/ModalTwin/__tests__/__snapshots__/ModalTwin.test.js.snap +374 -0
- package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/CardExpanded.test.js.snap +133 -0
- package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/CardReduced.test.js.snap +50 -0
- package/build/components/Rates/components/ModalTwin/components/__tests__/__snapshots__/Slider.test.js.snap +40 -0
- package/build/components/Rates/components/OTAPrices/__tests__/__snapshots__/OTAPrices.test.js.snap +3 -0
- package/build/components/Rooms/__tests__/__mocks__/room.json +21 -0
- package/build/components/Rooms/__tests__/__snapshots__/Rooms.test.js.snap +5527 -0
- package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +264 -0
- package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +1040 -0
- package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +208 -0
- package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +2355 -0
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +500 -0
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +745 -0
- package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +414 -0
- package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +115 -0
- package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +210 -0
- package/build/components/__shared__/ButtonPayment/components/Form/__tests__/__snapshots__/Form.test.js.snap +65 -0
- package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +53 -0
- package/build/components/__shared__/ButtonPayment/components/FormGetnet/__tests__/__snapshots__/FormGetnet.test.js.snap +14 -0
- package/build/components/__shared__/ButtonPayment/components/FormHotelpay/__tests__/__snapshots__/FormHotelpay.test.js.snap +104 -0
- package/build/components/__shared__/ButtonPayment/components/FormNuvei/__tests__/__snapshots__/FormNuvei.test.js.snap +21 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaybyrd/__tests__/__snapshots__/FormPaybyrd.test.js.snap +41 -0
- package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +18 -0
- package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +190 -0
- package/build/components/__shared__/Card/__tests__/__snapshots__/Card.test.js.snap +34 -0
- package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +42 -0
- package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +366 -0
- package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +2242 -0
- package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +308 -0
- package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +186 -0
- package/build/components/__shared__/NotificationRequiredFields/__tests__/__snapshots__/NotificationRequiredFields.test.js.snap +82 -0
- package/build/components/__shared__/Occupation/__tests__/__mocks__/occupation.json +17 -0
- package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +3754 -0
- package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +1105 -0
- package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +35 -0
- package/build/components/__shared__/Payment/components/Card/Card.js +2 -4
- package/build/components/__shared__/Payment/components/Card/Card.js.map +1 -1
- package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +996 -0
- package/build/components/__shared__/Payment/components/LinkagePay/__tests__/__snapshots__/LinkagePay.test.js.snap +876 -0
- package/build/components/__shared__/Payment/components/Openpay/__tests__/__snapshots__/Openpay.test.js.snap +876 -0
- package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +504 -0
- package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +119 -0
- package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.Line.test.js.snap +49 -0
- package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +337 -0
- package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.Calendar.test.js.snap +2841 -0
- package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.constants.js.snap +14 -0
- package/build/components/__shared__/RatesExplorer/__tests__/__snapshots__/RatesExplorer.test.js.snap +11053 -0
- package/build/components/__shared__/RatesExplorer/helpers/__tests__/__mocks__/deal.json +28 -0
- package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +1352 -0
- package/build/components/__shared__/Skeleton/__tests__/__snapshots__/Skeleton.test.js.snap +67 -0
- package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +41 -0
- package/build/components/helpers/__tests__/__mocks__/hotels.json +87 -0
- package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +331 -0
- package/build/components/helpers/escapeHtml.js +19 -0
- package/build/components/helpers/escapeHtml.js.map +1 -0
- package/build/components/helpers/template.js +5 -1
- package/build/components/helpers/template.js.map +1 -1
- package/build/helpers/fetchSession.js +13 -1
- package/build/helpers/fetchSession.js.map +1 -1
- package/package.json +4 -1
- package/.sentryclirc +0 -3
- package/AGENTS.md +0 -296
- package/Dockerfile +0 -16
- package/bitbucket-pipelines.yml +0 -12
- package/config/jest/fileMock.js +0 -1
- package/config/jest/setup.env.js +0 -20
- package/config/jest/setup.js +0 -3
- package/jest.config.js +0 -22
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
+
|
|
3
|
+
exports[`<Checkout> partial:<Confirmation> Test A/B variant A 1`] = `
|
|
4
|
+
<DocumentFragment>
|
|
5
|
+
<ui-view
|
|
6
|
+
class="view"
|
|
7
|
+
variant="A"
|
|
8
|
+
>
|
|
9
|
+
<ui-button
|
|
10
|
+
class="pressable button large wide"
|
|
11
|
+
data-testid="checkout-button"
|
|
12
|
+
tabindex="0"
|
|
13
|
+
>
|
|
14
|
+
<ui-view
|
|
15
|
+
class="view busyContainer"
|
|
16
|
+
>
|
|
17
|
+
<ui-view
|
|
18
|
+
class="view spinner"
|
|
19
|
+
/>
|
|
20
|
+
</ui-view>
|
|
21
|
+
<ui-view
|
|
22
|
+
class="view row children"
|
|
23
|
+
>
|
|
24
|
+
core.action.book_now
|
|
25
|
+
</ui-view>
|
|
26
|
+
</ui-button>
|
|
27
|
+
<ui-modal-overflow
|
|
28
|
+
class="pressable container overflow"
|
|
29
|
+
style="height: 768px;"
|
|
30
|
+
tabindex="-1"
|
|
31
|
+
>
|
|
32
|
+
<ui-modal
|
|
33
|
+
class="view fit modal calcWidth"
|
|
34
|
+
inert=""
|
|
35
|
+
>
|
|
36
|
+
<ui-view
|
|
37
|
+
class="view row header hideBack"
|
|
38
|
+
>
|
|
39
|
+
<ui-button
|
|
40
|
+
class="pressable button small squared transparent"
|
|
41
|
+
tabindex="0"
|
|
42
|
+
>
|
|
43
|
+
<ui-icon
|
|
44
|
+
class="icon headline-3 icon"
|
|
45
|
+
>
|
|
46
|
+
<svg
|
|
47
|
+
fill="currentColor"
|
|
48
|
+
height="1em"
|
|
49
|
+
stroke="currentColor"
|
|
50
|
+
stroke-width="0"
|
|
51
|
+
viewBox="0 0 24 24"
|
|
52
|
+
width="1em"
|
|
53
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
54
|
+
>
|
|
55
|
+
<path
|
|
56
|
+
d="M0 0h24v24H0V0z"
|
|
57
|
+
fill="none"
|
|
58
|
+
/>
|
|
59
|
+
<path
|
|
60
|
+
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
|
|
61
|
+
/>
|
|
62
|
+
</svg>
|
|
63
|
+
</ui-icon>
|
|
64
|
+
</ui-button>
|
|
65
|
+
</ui-view>
|
|
66
|
+
</ui-modal>
|
|
67
|
+
</ui-modal-overflow>
|
|
68
|
+
</ui-view>
|
|
69
|
+
</DocumentFragment>
|
|
70
|
+
`;
|
|
71
|
+
|
|
72
|
+
exports[`<Checkout> partial:<Confirmation> Test A/B variant B 1`] = `
|
|
73
|
+
<DocumentFragment>
|
|
74
|
+
<ui-view
|
|
75
|
+
class="view"
|
|
76
|
+
variant="B"
|
|
77
|
+
>
|
|
78
|
+
<ui-button
|
|
79
|
+
class="pressable button large wide"
|
|
80
|
+
data-testid="checkout-button"
|
|
81
|
+
tabindex="0"
|
|
82
|
+
>
|
|
83
|
+
<ui-view
|
|
84
|
+
class="view busyContainer"
|
|
85
|
+
>
|
|
86
|
+
<ui-view
|
|
87
|
+
class="view spinner"
|
|
88
|
+
/>
|
|
89
|
+
</ui-view>
|
|
90
|
+
<ui-view
|
|
91
|
+
class="view row children"
|
|
92
|
+
>
|
|
93
|
+
core.action.book_now
|
|
94
|
+
</ui-view>
|
|
95
|
+
</ui-button>
|
|
96
|
+
<ui-modal-overflow
|
|
97
|
+
class="pressable container overflow"
|
|
98
|
+
style="height: 768px;"
|
|
99
|
+
tabindex="-1"
|
|
100
|
+
>
|
|
101
|
+
<ui-modal
|
|
102
|
+
class="view fit modal calcWidth"
|
|
103
|
+
inert=""
|
|
104
|
+
>
|
|
105
|
+
<ui-view
|
|
106
|
+
class="view row header hideBack"
|
|
107
|
+
>
|
|
108
|
+
<ui-button
|
|
109
|
+
class="pressable button small squared transparent"
|
|
110
|
+
tabindex="0"
|
|
111
|
+
>
|
|
112
|
+
<ui-icon
|
|
113
|
+
class="icon headline-3 icon"
|
|
114
|
+
>
|
|
115
|
+
<svg
|
|
116
|
+
fill="currentColor"
|
|
117
|
+
height="1em"
|
|
118
|
+
stroke="currentColor"
|
|
119
|
+
stroke-width="0"
|
|
120
|
+
viewBox="0 0 24 24"
|
|
121
|
+
width="1em"
|
|
122
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
123
|
+
>
|
|
124
|
+
<path
|
|
125
|
+
d="M0 0h24v24H0V0z"
|
|
126
|
+
fill="none"
|
|
127
|
+
/>
|
|
128
|
+
<path
|
|
129
|
+
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
|
|
130
|
+
/>
|
|
131
|
+
</svg>
|
|
132
|
+
</ui-icon>
|
|
133
|
+
</ui-button>
|
|
134
|
+
</ui-view>
|
|
135
|
+
</ui-modal>
|
|
136
|
+
</ui-modal-overflow>
|
|
137
|
+
</ui-view>
|
|
138
|
+
</DocumentFragment>
|
|
139
|
+
`;
|
|
140
|
+
|
|
141
|
+
exports[`<Checkout> partial:<Confirmation> inherit:className 1`] = `
|
|
142
|
+
<DocumentFragment>
|
|
143
|
+
<ui-view
|
|
144
|
+
class="view"
|
|
145
|
+
>
|
|
146
|
+
<ui-button
|
|
147
|
+
class="pressable button large wide"
|
|
148
|
+
data-testid="checkout-button"
|
|
149
|
+
tabindex="0"
|
|
150
|
+
>
|
|
151
|
+
<ui-view
|
|
152
|
+
class="view busyContainer"
|
|
153
|
+
>
|
|
154
|
+
<ui-view
|
|
155
|
+
class="view spinner"
|
|
156
|
+
/>
|
|
157
|
+
</ui-view>
|
|
158
|
+
<ui-view
|
|
159
|
+
class="view row children"
|
|
160
|
+
>
|
|
161
|
+
core.action.book_now
|
|
162
|
+
</ui-view>
|
|
163
|
+
</ui-button>
|
|
164
|
+
<ui-modal-overflow
|
|
165
|
+
class="pressable container overflow"
|
|
166
|
+
style="height: 768px;"
|
|
167
|
+
tabindex="-1"
|
|
168
|
+
>
|
|
169
|
+
<ui-modal
|
|
170
|
+
class="view fit modal calcWidth"
|
|
171
|
+
inert=""
|
|
172
|
+
>
|
|
173
|
+
<ui-view
|
|
174
|
+
class="view row header hideBack"
|
|
175
|
+
>
|
|
176
|
+
<ui-button
|
|
177
|
+
class="pressable button small squared transparent"
|
|
178
|
+
tabindex="0"
|
|
179
|
+
>
|
|
180
|
+
<ui-icon
|
|
181
|
+
class="icon headline-3 icon"
|
|
182
|
+
>
|
|
183
|
+
<svg
|
|
184
|
+
fill="currentColor"
|
|
185
|
+
height="1em"
|
|
186
|
+
stroke="currentColor"
|
|
187
|
+
stroke-width="0"
|
|
188
|
+
viewBox="0 0 24 24"
|
|
189
|
+
width="1em"
|
|
190
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
191
|
+
>
|
|
192
|
+
<path
|
|
193
|
+
d="M0 0h24v24H0V0z"
|
|
194
|
+
fill="none"
|
|
195
|
+
/>
|
|
196
|
+
<path
|
|
197
|
+
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
|
|
198
|
+
/>
|
|
199
|
+
</svg>
|
|
200
|
+
</ui-icon>
|
|
201
|
+
</ui-button>
|
|
202
|
+
</ui-view>
|
|
203
|
+
</ui-modal>
|
|
204
|
+
</ui-modal-overflow>
|
|
205
|
+
</ui-view>
|
|
206
|
+
</DocumentFragment>
|
|
207
|
+
`;
|
|
208
|
+
|
|
209
|
+
exports[`<Checkout> partial:<Confirmation> renders 1`] = `
|
|
210
|
+
<DocumentFragment>
|
|
211
|
+
<ui-view
|
|
212
|
+
class="view"
|
|
213
|
+
>
|
|
214
|
+
<ui-button
|
|
215
|
+
class="pressable button large wide"
|
|
216
|
+
data-testid="checkout-button"
|
|
217
|
+
tabindex="0"
|
|
218
|
+
>
|
|
219
|
+
<ui-view
|
|
220
|
+
class="view busyContainer"
|
|
221
|
+
>
|
|
222
|
+
<ui-view
|
|
223
|
+
class="view spinner"
|
|
224
|
+
/>
|
|
225
|
+
</ui-view>
|
|
226
|
+
<ui-view
|
|
227
|
+
class="view row children"
|
|
228
|
+
>
|
|
229
|
+
core.action.book_now
|
|
230
|
+
</ui-view>
|
|
231
|
+
</ui-button>
|
|
232
|
+
<ui-modal-overflow
|
|
233
|
+
class="pressable container overflow"
|
|
234
|
+
style="height: 768px;"
|
|
235
|
+
tabindex="-1"
|
|
236
|
+
>
|
|
237
|
+
<ui-modal
|
|
238
|
+
class="view fit modal calcWidth"
|
|
239
|
+
inert=""
|
|
240
|
+
>
|
|
241
|
+
<ui-view
|
|
242
|
+
class="view row header hideBack"
|
|
243
|
+
>
|
|
244
|
+
<ui-button
|
|
245
|
+
class="pressable button small squared transparent"
|
|
246
|
+
tabindex="0"
|
|
247
|
+
>
|
|
248
|
+
<ui-icon
|
|
249
|
+
class="icon headline-3 icon"
|
|
250
|
+
>
|
|
251
|
+
<svg
|
|
252
|
+
fill="currentColor"
|
|
253
|
+
height="1em"
|
|
254
|
+
stroke="currentColor"
|
|
255
|
+
stroke-width="0"
|
|
256
|
+
viewBox="0 0 24 24"
|
|
257
|
+
width="1em"
|
|
258
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
259
|
+
>
|
|
260
|
+
<path
|
|
261
|
+
d="M0 0h24v24H0V0z"
|
|
262
|
+
fill="none"
|
|
263
|
+
/>
|
|
264
|
+
<path
|
|
265
|
+
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
|
|
266
|
+
/>
|
|
267
|
+
</svg>
|
|
268
|
+
</ui-icon>
|
|
269
|
+
</ui-button>
|
|
270
|
+
</ui-view>
|
|
271
|
+
</ui-modal>
|
|
272
|
+
</ui-modal-overflow>
|
|
273
|
+
</ui-view>
|
|
274
|
+
</DocumentFragment>
|
|
275
|
+
`;
|
|
276
|
+
|
|
277
|
+
exports[`<Checkout> partial:<Confirmation> testID 1`] = `
|
|
278
|
+
<DocumentFragment>
|
|
279
|
+
<ui-view
|
|
280
|
+
class="view"
|
|
281
|
+
data-testid="mirai"
|
|
282
|
+
>
|
|
283
|
+
<ui-button
|
|
284
|
+
class="pressable button large wide"
|
|
285
|
+
data-testid="checkout-button"
|
|
286
|
+
tabindex="0"
|
|
287
|
+
>
|
|
288
|
+
<ui-view
|
|
289
|
+
class="view busyContainer"
|
|
290
|
+
>
|
|
291
|
+
<ui-view
|
|
292
|
+
class="view spinner"
|
|
293
|
+
/>
|
|
294
|
+
</ui-view>
|
|
295
|
+
<ui-view
|
|
296
|
+
class="view row children"
|
|
297
|
+
>
|
|
298
|
+
core.action.book_now
|
|
299
|
+
</ui-view>
|
|
300
|
+
</ui-button>
|
|
301
|
+
<ui-modal-overflow
|
|
302
|
+
class="pressable container overflow"
|
|
303
|
+
style="height: 768px;"
|
|
304
|
+
tabindex="-1"
|
|
305
|
+
>
|
|
306
|
+
<ui-modal
|
|
307
|
+
class="view fit modal calcWidth"
|
|
308
|
+
inert=""
|
|
309
|
+
>
|
|
310
|
+
<ui-view
|
|
311
|
+
class="view row header hideBack"
|
|
312
|
+
>
|
|
313
|
+
<ui-button
|
|
314
|
+
class="pressable button small squared transparent"
|
|
315
|
+
tabindex="0"
|
|
316
|
+
>
|
|
317
|
+
<ui-icon
|
|
318
|
+
class="icon headline-3 icon"
|
|
319
|
+
>
|
|
320
|
+
<svg
|
|
321
|
+
fill="currentColor"
|
|
322
|
+
height="1em"
|
|
323
|
+
stroke="currentColor"
|
|
324
|
+
stroke-width="0"
|
|
325
|
+
viewBox="0 0 24 24"
|
|
326
|
+
width="1em"
|
|
327
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
328
|
+
>
|
|
329
|
+
<path
|
|
330
|
+
d="M0 0h24v24H0V0z"
|
|
331
|
+
fill="none"
|
|
332
|
+
/>
|
|
333
|
+
<path
|
|
334
|
+
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
|
|
335
|
+
/>
|
|
336
|
+
</svg>
|
|
337
|
+
</ui-icon>
|
|
338
|
+
</ui-button>
|
|
339
|
+
</ui-view>
|
|
340
|
+
</ui-modal>
|
|
341
|
+
</ui-modal-overflow>
|
|
342
|
+
</ui-view>
|
|
343
|
+
</DocumentFragment>
|
|
344
|
+
`;
|
|
345
|
+
|
|
346
|
+
exports[`<Checkout> partial:<Confirmation> with a store 1`] = `
|
|
347
|
+
<DocumentFragment>
|
|
348
|
+
<ui-view
|
|
349
|
+
class="view"
|
|
350
|
+
>
|
|
351
|
+
<ui-button
|
|
352
|
+
class="pressable button large wide"
|
|
353
|
+
data-testid="checkout-button"
|
|
354
|
+
tabindex="0"
|
|
355
|
+
>
|
|
356
|
+
<ui-view
|
|
357
|
+
class="view busyContainer"
|
|
358
|
+
>
|
|
359
|
+
<ui-view
|
|
360
|
+
class="view spinner"
|
|
361
|
+
/>
|
|
362
|
+
</ui-view>
|
|
363
|
+
<ui-view
|
|
364
|
+
class="view row children"
|
|
365
|
+
>
|
|
366
|
+
core.action.book_now
|
|
367
|
+
</ui-view>
|
|
368
|
+
</ui-button>
|
|
369
|
+
<ui-modal-overflow
|
|
370
|
+
class="pressable container overflow"
|
|
371
|
+
style="height: 768px;"
|
|
372
|
+
tabindex="-1"
|
|
373
|
+
>
|
|
374
|
+
<ui-modal
|
|
375
|
+
class="view fit modal calcWidth"
|
|
376
|
+
inert=""
|
|
377
|
+
>
|
|
378
|
+
<ui-view
|
|
379
|
+
class="view row header hideBack"
|
|
380
|
+
>
|
|
381
|
+
<ui-button
|
|
382
|
+
class="pressable button small squared transparent"
|
|
383
|
+
tabindex="0"
|
|
384
|
+
>
|
|
385
|
+
<ui-icon
|
|
386
|
+
class="icon headline-3 icon"
|
|
387
|
+
>
|
|
388
|
+
<svg
|
|
389
|
+
fill="currentColor"
|
|
390
|
+
height="1em"
|
|
391
|
+
stroke="currentColor"
|
|
392
|
+
stroke-width="0"
|
|
393
|
+
viewBox="0 0 24 24"
|
|
394
|
+
width="1em"
|
|
395
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
396
|
+
>
|
|
397
|
+
<path
|
|
398
|
+
d="M0 0h24v24H0V0z"
|
|
399
|
+
fill="none"
|
|
400
|
+
/>
|
|
401
|
+
<path
|
|
402
|
+
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
|
|
403
|
+
/>
|
|
404
|
+
</svg>
|
|
405
|
+
</ui-icon>
|
|
406
|
+
</ui-button>
|
|
407
|
+
</ui-view>
|
|
408
|
+
</ui-modal>
|
|
409
|
+
</ui-modal-overflow>
|
|
410
|
+
</ui-view>
|
|
411
|
+
</DocumentFragment>
|
|
412
|
+
`;
|