add wait for ProductCreate request (#2543)
This commit is contained in:
parent
0c1fa47c35
commit
6efd73230b
1 changed files with 2 additions and 0 deletions
|
@ -78,8 +78,10 @@ describe("As an admin I should be able to create product", () => {
|
|||
productOrgResp => (productData.productOrganization = productOrgResp),
|
||||
);
|
||||
cy.addAliasToGraphRequest("ProductDetails")
|
||||
.addAliasToGraphRequest("ProductCreate")
|
||||
.get(BUTTON_SELECTORS.confirm)
|
||||
.click()
|
||||
.waitForRequestAndCheckIfNoErrors("@ProductCreate")
|
||||
.confirmationMessageShouldDisappear()
|
||||
.waitForRequestAndCheckIfNoErrors("@ProductDetails")
|
||||
.get("@ProductDetails")
|
||||
|
|
Loading…
Reference in a new issue