File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11
11
<actionGroup name =" displayOutOfStockProduct" >
12
12
<amOnPage url =" {{InventoryConfigurationPage.url}}" stepKey =" navigateToInventoryConfigurationPage" />
13
13
<waitForPageLoad stepKey =" waitForConfigPageToLoad" />
14
+ <conditionalClick stepKey =" expandProductStockOptions" selector =" {{InventoryConfigSection.ProductStockOptionsTab}}" dependentSelector =" {{InventoryConfigSection.CheckIfProductStockOptionsTabExpanded}}" visible =" true" />
15
+ <waitForElementVisible selector =" {{InventoryConfigSection.DisplayOutOfStockSystemValue}}" stepKey =" waitForDisplayOutOfStockOption" />
14
16
<uncheckOption selector =" {{InventoryConfigSection.DisplayOutOfStockSystemValue}}" stepKey =" uncheckUseSystemValue" />
15
17
<waitForElementVisible selector =" {{InventoryConfigSection.DisplayOutOfStockDropdown}}" stepKey =" waitForSwitcherDropdown" />
16
18
<selectOption selector =" {{InventoryConfigSection.DisplayOutOfStockDropdown}}" userInput =" Yes" stepKey =" switchToYes" />
Original file line number Diff line number Diff line change 7
7
-->
8
8
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd" >
9
9
<section name =" InventoryConfigSection" >
10
- <element name =" DisplayOutOfStockSystemValue" type =" button" selector =" #cataloginventory_options_show_out_of_stock_inherit" />
11
- <element name =" DisplayOutOfStockDropdown" type =" button" selector =" #cataloginventory_options_show_out_of_stock" />
10
+ <element name =" ProductStockOptionsTab" type =" button" selector =" #cataloginventory_options-head" />
11
+ <element name =" CheckIfProductStockOptionsTabExpanded" type =" button" selector =" #cataloginventory_options-head:not(.open)" />
12
+ <element name =" DisplayOutOfStockSystemValue" type =" checkbox" selector =" #cataloginventory_options_show_out_of_stock_inherit" />
13
+ <element name =" DisplayOutOfStockDropdown" type =" select" selector =" #cataloginventory_options_show_out_of_stock" />
12
14
</section >
13
15
</sections >
Original file line number Diff line number Diff line change 16
16
<element name =" splitButtonMenu" type =" button" selector =" //ul[@data-ui-id='save-button-dropdown-menu']" timeout =" 10" />
17
17
<element name =" expandSplitButton" type =" button" selector =" //button[@data-ui-id='save-button-dropdown']" timeout =" 10" />
18
18
<element name =" cmsPageTitle" type =" text" selector =" .page-header .page-title" />
19
- <element name =" pageTitle" type =" input" selector =" //*[@ name='title']" />
19
+ <element name =" pageTitle" type =" input" selector =" input[ name='title']" />
20
20
<element name =" showHideEditor" type =" button" selector =" //*[@id='togglecms_page_form_content']" />
21
21
<element name =" contentSectionName" type =" input" selector =" //div[@class='fieldset-wrapper-title']//span[.='Content']" />
22
22
<element name =" content" type =" input" selector =" //textarea[@name='content']" />
Original file line number Diff line number Diff line change
1
+ /Users/nsmith/vagrant-magento/magento2ce/magento2-page-builder/dev/tests/acceptance/tests/functional/Magento/FunctionalTest/PageBuilder
You can’t perform that action at this time.
0 commit comments