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()
|
||||
.addAliasToGraphRequest("AssignProductAttribute")
|
||||
.assignElements(startsWith, false)
|
||||
.confirmationMessageShouldDisappear()
|
||||
.confirmationMessageShouldAppear()
|
||||
.waitForRequestAndCheckIfNoErrors("@AssignProductAttribute");
|
||||
getProductType(productType.id);
|
||||
})
|
||||
|
@ -71,7 +71,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
.click()
|
||||
.addAliasToGraphRequest("AssignProductAttribute")
|
||||
.assignElements(startsWith, false)
|
||||
.confirmationMessageShouldDisappear()
|
||||
.confirmationMessageShouldAppear()
|
||||
.wait("@AssignProductAttribute");
|
||||
getProductType(productType.id);
|
||||
})
|
||||
|
@ -96,6 +96,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
productTypeDetailsUrl(productType.id)
|
||||
)
|
||||
.get(BUTTON_SELECTORS.deleteIcon)
|
||||
.should("be.enabled")
|
||||
.click()
|
||||
.addAliasToGraphRequest("UnassignProductAttribute")
|
||||
.get(BUTTON_SELECTORS.submit)
|
||||
|
@ -123,6 +124,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
)
|
||||
.get(BUTTON_SELECTORS.deleteIcon)
|
||||
.click()
|
||||
.should("be.enabled")
|
||||
.addAliasToGraphRequest("UnassignProductAttribute")
|
||||
.get(BUTTON_SELECTORS.submit)
|
||||
.click()
|
||||
|
|
Loading…
Reference in a new issue