Fix tests for products attributes (#2016)
This commit is contained in:
parent
8c667cc7b8
commit
2c8607e1e5
1 changed files with 4 additions and 2 deletions
|
@ -48,7 +48,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
||||||
.click()
|
.click()
|
||||||
.addAliasToGraphRequest("AssignProductAttribute")
|
.addAliasToGraphRequest("AssignProductAttribute")
|
||||||
.assignElements(startsWith, false)
|
.assignElements(startsWith, false)
|
||||||
.confirmationMessageShouldDisappear()
|
.confirmationMessageShouldAppear()
|
||||||
.waitForRequestAndCheckIfNoErrors("@AssignProductAttribute");
|
.waitForRequestAndCheckIfNoErrors("@AssignProductAttribute");
|
||||||
getProductType(productType.id);
|
getProductType(productType.id);
|
||||||
})
|
})
|
||||||
|
@ -71,7 +71,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
||||||
.click()
|
.click()
|
||||||
.addAliasToGraphRequest("AssignProductAttribute")
|
.addAliasToGraphRequest("AssignProductAttribute")
|
||||||
.assignElements(startsWith, false)
|
.assignElements(startsWith, false)
|
||||||
.confirmationMessageShouldDisappear()
|
.confirmationMessageShouldAppear()
|
||||||
.wait("@AssignProductAttribute");
|
.wait("@AssignProductAttribute");
|
||||||
getProductType(productType.id);
|
getProductType(productType.id);
|
||||||
})
|
})
|
||||||
|
@ -96,6 +96,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
||||||
productTypeDetailsUrl(productType.id)
|
productTypeDetailsUrl(productType.id)
|
||||||
)
|
)
|
||||||
.get(BUTTON_SELECTORS.deleteIcon)
|
.get(BUTTON_SELECTORS.deleteIcon)
|
||||||
|
.should("be.enabled")
|
||||||
.click()
|
.click()
|
||||||
.addAliasToGraphRequest("UnassignProductAttribute")
|
.addAliasToGraphRequest("UnassignProductAttribute")
|
||||||
.get(BUTTON_SELECTORS.submit)
|
.get(BUTTON_SELECTORS.submit)
|
||||||
|
@ -123,6 +124,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
||||||
)
|
)
|
||||||
.get(BUTTON_SELECTORS.deleteIcon)
|
.get(BUTTON_SELECTORS.deleteIcon)
|
||||||
.click()
|
.click()
|
||||||
|
.should("be.enabled")
|
||||||
.addAliasToGraphRequest("UnassignProductAttribute")
|
.addAliasToGraphRequest("UnassignProductAttribute")
|
||||||
.get(BUTTON_SELECTORS.submit)
|
.get(BUTTON_SELECTORS.submit)
|
||||||
.click()
|
.click()
|
||||||
|
|
Loading…
Reference in a new issue