Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
</actionGroup>
<waitForPageLoad stepKey="waitForProductPageLoad"/>
<actionGroup ref="AdminAddDownloadableLinkInformationActionGroup" stepKey="addDownloadableLinkInformation"/>
<selectOption selector="{{AdminProductFormSection.productWeightSelect}}" userInput="This item has weight" stepKey="selectWeightForProduct"/>
<actionGroup ref="AdminSelectWeightTypeOnProductFormActionGroup" stepKey="selectWeightForProduct">
<argument name="weightOption" value="This item has weight"/>
</actionGroup>
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProductForm"/>
<!--Assert simple product on Admin product page grid-->
<comment userInput="Assert simple product in Admin product page grid" stepKey="commentAssertProductOnAdmin"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
<fillField selector="{{AdminProductFormSection.productQuantity}}" userInput="{{simpleProductTierPrice300InStock.quantity}}" stepKey="fillSimpleProductQuantity"/>
<selectOption selector="{{AdminProductFormSection.stockStatus}}" userInput="{{simpleProductTierPrice300InStock.status}}" stepKey="selectStockStatusInStock"/>
<fillField selector="{{AdminProductFormSection.productWeight}}" userInput="{{simpleProductTierPrice300InStock.weight}}" stepKey="fillSimpleProductWeight"/>
<selectOption selector="{{AdminProductFormSection.productWeightSelect}}" userInput="{{simpleProductTierPrice300InStock.weightSelect}}" stepKey="selectProductWeight"/>
<actionGroup ref="AdminSelectWeightTypeOnProductFormActionGroup" stepKey="selectProductWeight">
<argument name="weightOption" value="{{simpleProductTierPrice300InStock.weightSelect}}"/>
</actionGroup>
<click selector="{{AdminProductFormSection.categoriesDropdown}}" stepKey="clickCategoriesDropDown"/>
<fillField selector="{{AdminProductFormSection.searchCategory}}" userInput="$$initialCategoryEntity.name$$" stepKey="fillSearchForInitialCategory"/>
<waitForPageLoad stepKey="waitForCategory1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
<actionGroup ref="AdminSubmitAdvancedInventoryFormActionGroup" stepKey="clickDoneButtonOnAdvancedInventorySection"/>
<selectOption selector="{{AdminProductFormSection.stockStatus}}" userInput="{{simpleProductEnabledFlat.status}}" stepKey="selectStockStatusInStock"/>
<fillField selector="{{AdminProductFormSection.productWeight}}" userInput="{{simpleProductEnabledFlat.weight}}" stepKey="fillSimpleProductWeight"/>
<selectOption selector="{{AdminProductFormSection.productWeightSelect}}" userInput="{{simpleProductEnabledFlat.weightSelect}}" stepKey="selectProductWeight"/>
<actionGroup ref="AdminSelectWeightTypeOnProductFormActionGroup" stepKey="selectProductWeight">
<argument name="weightOption" value="{{simpleProductEnabledFlat.weightSelect}}"/>
</actionGroup>
<click selector="{{AdminProductFormSection.categoriesDropdown}}" stepKey="clickCategoriesDropDown"/>
<fillField selector="{{AdminProductFormSection.searchCategory}}" userInput="$$initialCategoryEntity.name$$" stepKey="fillSearchForInitialCategory" />
<waitForPageLoad stepKey="waitForCategory1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
<argument name="productId" value="$$createProduct.id$$"/>
</actionGroup>
<waitForPageLoad stepKey="waitForConfigurableProductPageLoad"/>
<selectOption selector="{{AdminProductFormSection.productWeightSelect}}" userInput="This item has weight" stepKey="selectWeightForConfigurableProduct"/>
<actionGroup ref="AdminSelectWeightTypeOnProductFormActionGroup" stepKey="selectWeightForConfigurableProduct">
<argument name="weightOption" value="This item has weight"/>
</actionGroup>
<actionGroup ref="GenerateConfigurationsByAttributeCodeActionGroup" stepKey="setupConfigurationsForProduct">
<argument name="attributeCode" value="$$createConfigProductAttribute.attribute_code$$"/>
</actionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
<!-- Open Dropdown and select downloadable product option -->
<click selector="{{AdminProductDownloadableSection.sectionHeader}}" stepKey="openDownloadableSection" after="waitForSimpleProductPageLoad"/>
<uncheckOption selector="{{AdminProductDownloadableSection.isDownloadableProduct}}" stepKey="checkOptionIsDownloadable" after="openDownloadableSection"/>
<selectOption selector="{{AdminProductFormSection.productWeightSelect}}" userInput="This item has weight" stepKey="selectWeightForProduct" after="checkOptionIsDownloadable"/>
<actionGroup ref="AdminSelectWeightTypeOnProductFormActionGroup" stepKey="selectWeightForProduct" after="checkOptionIsDownloadable">
<argument name="weightOption" value="This item has weight"/>
</actionGroup>
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveDownloadableProductForm" after="selectWeightForProduct"/>
</test>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<argument name="productId" value="$$createProduct.id$$"/>
</actionGroup>
<waitForPageLoad stepKey="waitForDownloadableProductPageLoad"/>
<selectOption selector="{{AdminProductFormSection.productWeightSelect}}" userInput="This item has no weight" stepKey="selectNoWeightForProduct"/>
<actionGroup ref="AdminSelectWeightTypeOnProductFormActionGroup" stepKey="selectNoWeightForProduct"/>
<actionGroup ref="AdminAddDownloadableLinkInformationActionGroup" stepKey="addDownloadableLinkInformation"/>
<checkOption selector="{{AdminProductDownloadableSection.isLinksPurchasedSeparately}}" stepKey="checkOptionPurchaseSeparately"/>
<actionGroup ref="AddDownloadableProductLinkWithMaxDownloadsActionGroup" stepKey="addDownloadableProductLink">
Expand Down