Skip to content

Commit a3db130

Browse files
committed
Merge remote-tracking branch 'mainline/2.3-develop' into MC-16046
2 parents 83ed2ed + 93a8162 commit a3db130

File tree

48 files changed

+1090
-458
lines changed

Some content is hidden

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

48 files changed

+1090
-458
lines changed

app/code/Magento/CatalogGraphQl/etc/schema.graphqls

Lines changed: 0 additions & 178 deletions
Original file line numberDiff line numberDiff line change
@@ -16,179 +16,6 @@ type Query {
1616
@resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\CategoryTree") @doc(description: "The category query searches for categories that match the criteria specified in the search and filter attributes") @cache(cacheTag: "cat_c", cacheIdentity: "Magento\\CatalogGraphQl\\Model\\Resolver\\Category\\CategoryTreeIdentity")
1717
}
1818

19-
enum CurrencyEnum @doc(description: "The list of available currency codes") {
20-
AFN
21-
ALL
22-
AZN
23-
DZD
24-
AOA
25-
ARS
26-
AMD
27-
AWG
28-
AUD
29-
BSD
30-
BHD
31-
BDT
32-
BBD
33-
BYR
34-
BZD
35-
BMD
36-
BTN
37-
BOB
38-
BAM
39-
BWP
40-
BRL
41-
GBP
42-
BND
43-
BGN
44-
BUK
45-
BIF
46-
KHR
47-
CAD
48-
CVE
49-
CZK
50-
KYD
51-
GQE
52-
CLP
53-
CNY
54-
COP
55-
KMF
56-
CDF
57-
CRC
58-
HRK
59-
CUP
60-
DKK
61-
DJF
62-
DOP
63-
XCD
64-
EGP
65-
SVC
66-
ERN
67-
EEK
68-
ETB
69-
EUR
70-
FKP
71-
FJD
72-
GMD
73-
GEK
74-
GEL
75-
GHS
76-
GIP
77-
GTQ
78-
GNF
79-
GYD
80-
HTG
81-
HNL
82-
HKD
83-
HUF
84-
ISK
85-
INR
86-
IDR
87-
IRR
88-
IQD
89-
ILS
90-
JMD
91-
JPY
92-
JOD
93-
KZT
94-
KES
95-
KWD
96-
KGS
97-
LAK
98-
LVL
99-
LBP
100-
LSL
101-
LRD
102-
LYD
103-
LTL
104-
MOP
105-
MKD
106-
MGA
107-
MWK
108-
MYR
109-
MVR
110-
LSM
111-
MRO
112-
MUR
113-
MXN
114-
MDL
115-
MNT
116-
MAD
117-
MZN
118-
MMK
119-
NAD
120-
NPR
121-
ANG
122-
YTL
123-
NZD
124-
NIC
125-
NGN
126-
KPW
127-
NOK
128-
OMR
129-
PKR
130-
PAB
131-
PGK
132-
PYG
133-
PEN
134-
PHP
135-
PLN
136-
QAR
137-
RHD
138-
RON
139-
RUB
140-
RWF
141-
SHP
142-
STD
143-
SAR
144-
RSD
145-
SCR
146-
SLL
147-
SGD
148-
SKK
149-
SBD
150-
SOS
151-
ZAR
152-
KRW
153-
LKR
154-
SDG
155-
SRD
156-
SZL
157-
SEK
158-
CHF
159-
SYP
160-
TWD
161-
TJS
162-
TZS
163-
THB
164-
TOP
165-
TTD
166-
TND
167-
TMM
168-
USD
169-
UGX
170-
UAH
171-
AED
172-
UYU
173-
UZS
174-
VUV
175-
VEB
176-
VEF
177-
VND
178-
CHE
179-
CHW
180-
XOF
181-
WST
182-
YER
183-
ZMK
184-
ZWD
185-
TRY
186-
AZM
187-
ROL
188-
TRL
189-
XPF
190-
}
191-
19219
type Price @doc(description: "The Price object defines the price of a product as well as any tax-related adjustments.") {
19320
amount: Money @doc(description: "The price of a product plus a three-letter currency code")
19421
adjustments: [PriceAdjustment] @doc(description: "An array that provides information about tax, weee, or weee_tax adjustments")
@@ -214,11 +41,6 @@ enum PriceTypeEnum @doc(description: "This enumeration the price type.") {
21441
DYNAMIC
21542
}
21643

217-
type Money @doc(description: "A Money object defines a monetary value, including a numeric value and a currency code.") {
218-
value: Float @doc(description: "A number expressing a monetary value")
219-
currency: CurrencyEnum @doc(description: "A three-letter currency code, such as USD or EUR")
220-
}
221-
22244
type ProductPrices @doc(description: "The ProductPrices object contains the regular price of an item, as well as its minimum and maximum prices. Only composite products, which include bundle, configurable, and grouped products, can contain a minimum and maximum price.") {
22345
minimalPrice: Price @doc(description: "The lowest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the from value.")
22446
maximalPrice: Price @doc(description: "The highest possible final price for all the options defined within a composite product. If you are specifying a price range, this would be the to value.")

app/code/Magento/Customer/Test/Mftf/ActionGroup/AdminEditCustomerAddressesFromActionGroup.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,13 @@
3939
<click selector="{{AdminEditCustomerAddressesSection.defaultBillingAddressButton}}" stepKey="setDefaultBilling" before="setDefaultShipping"/>
4040
<click selector="{{AdminEditCustomerAddressesSection.defaultShippingAddressButton}}" stepKey="setDefaultShipping" before="fillPrefixName"/>
4141
</actionGroup>
42+
<actionGroup name="SelectDropdownCustomerAddressAttributeValueActionGroup">
43+
<arguments>
44+
<argument name="customerAddressAttribute"/>
45+
<argument name="optionValue" type="string"/>
46+
</arguments>
47+
<selectOption selector="{{AdminEditCustomerAddressesSection.dropDownAttribute(customerAddressAttribute.code)}}" userInput="{{optionValue}}" stepKey="selectOptionValue"/>
48+
<click selector="{{AdminEditCustomerAddressesSection.save}}" stepKey="saveAddress"/>
49+
<waitForPageLoad stepKey="waitForAddressSaved"/>
50+
</actionGroup>
4251
</actionGroups>

app/code/Magento/Customer/Test/Mftf/Data/CustomerData.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,18 @@
216216
<data key="store_id">0</data>
217217
<data key="website_id">0</data>
218218
</entity>
219+
<entity name="Simple_US_Customer_Two_Addresses" type="customer">
220+
<data key="group_id">0</data>
221+
<data key="default_billing">true</data>
222+
<data key="default_shipping">true</data>
223+
<data key="email" unique="prefix">John.Doe@example.com</data>
224+
<data key="firstname">John</data>
225+
<data key="lastname">Doe</data>
226+
<data key="fullname">John Doe</data>
227+
<data key="password">pwdTest123!</data>
228+
<data key="store_id">0</data>
229+
<data key="website_id">0</data>
230+
<requiredEntity type="address">US_Address_TX</requiredEntity>
231+
<requiredEntity type="address">US_Address_NY_Not_Default_Address</requiredEntity>
232+
</entity>
219233
</entities>

app/code/Magento/Customer/Test/Mftf/Section/AdminEditCustomerAddressesSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<element name="city" type="text" selector="//*[@class='modal-component']//input[@name='city']" />
2626
<element name="country" type="select" selector="//*[@class='modal-component']//select[@name='country_id']" />
2727
<element name="state" type="select" selector="//*[@class='modal-component']//select[@name='region_id']" />
28+
<element name="dropDownAttribute" type="select" selector="//select[@name='{{var1}}']" parameterized="true"/>
2829
<element name="zipCode" type="text" selector="//*[@class='modal-component']//input[@name='postcode']" />
2930
<element name="phone" type="text" selector="//*[@class='modal-component']//input[@name='telephone']" />
3031
<element name="vat" type="text" selector="input[name='vat_id']" />

0 commit comments

Comments
 (0)