Skip to content

Commit

Permalink
Merge pull request #2741 from magento-borg/MAGETWO-86795
Browse files Browse the repository at this point in the history
[borg] MAGETWO-86795: Admin Create Customer functional test fails
  • Loading branch information
irenelagno authored Jun 27, 2018
2 parents c41ffe5 + ad68d7e commit 0339078
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
<actionGroup name="searchAndMultiSelectActionGroup">
<arguments>
<argument name="dropDownSelector"/>
<argument name="options"/>
<argument name="dropDownSelector" />
<argument name="options" type="string"/>
</arguments>
<waitForPageLoad stepKey="waitForPageLoad"/>
<waitForElementVisible selector="{{dropDownSelector}} .action-select.admin__action-multiselect" stepKey="waitForDropdown"/>
<click selector="{{dropDownSelector}} .action-select.admin__action-multiselect" stepKey="clickDropdown"/>
<selectMultipleOptions filterSelector="{{dropDownSelector}} .admin__action-multiselect-search-wrap>input[data-role='advanced-select-text']" optionSelector="{{dropDownSelector}} .admin__action-multiselect-label>span" stepKey="selectSpecifiedOptions">
<selectMultipleOptions filterSelector="{{dropDownSelector}} .admin__action-multiselect-search-wrap>input" optionSelector="{{dropDownSelector}} .admin__action-multiselect-label>span" stepKey="selectSpecifiedOptions">
<array>[{{options}}]</array>
</selectMultipleOptions>
</actionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,9 @@
<data key="tax_class_id">3</data>
<data key="tax_class_name">Retail Customer</data>
</entity>
<entity name="DefaultCustomerGroup" type="customerGroup">
<array key="group_names">
<item>General</item>
</array>
</entity>
</entities>
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
<element name="firstName" type="input" selector="input[name='customer[firstname]']"/>
<element name="lastName" type="input" selector="input[name='customer[lastname]']"/>
<element name="email" type="input" selector="input[name='customer[email]']"/>
<element name="group" type="select" selector="[name='customer[group_id]']"/>
</section>
</sections>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<testCaseId value="MAGETWO-72095"/>
<group value="customer"/>
<group value="create"/>
<group value="skip"/>
</annotations>
<after>
<amOnPage url="admin/admin/auth/logout/" stepKey="amOnLogoutPage"/>
Expand Down

0 comments on commit 0339078

Please sign in to comment.