fix for flaky TC:2902 test (#2423)
This commit is contained in:
parent
2e292c2e06
commit
5c48f5387e
2 changed files with 4 additions and 4 deletions
|
@ -87,9 +87,6 @@ describe("As an admin I should be able to create variant", () => {
|
|||
`${urlList.products}${createdProduct.id}`,
|
||||
).waitForProgressBarToNotBeVisible();
|
||||
addVariantToDataGrid(name);
|
||||
cy.get(PRODUCT_DETAILS.dataGridTable)
|
||||
.should("be.visible")
|
||||
.wait(1000);
|
||||
enterVariantEditPage();
|
||||
selectChannelsForVariant();
|
||||
createVariant({
|
||||
|
|
|
@ -151,7 +151,10 @@ export function addVariantToDataGrid(variantName) {
|
|||
}
|
||||
|
||||
export function enterVariantEditPage() {
|
||||
cy.get(BUTTON_SELECTORS.showMoreButton)
|
||||
cy.get(PRODUCT_DETAILS.dataGridTable)
|
||||
.should("be.visible")
|
||||
.wait(1000)
|
||||
.get(BUTTON_SELECTORS.showMoreButton)
|
||||
.click()
|
||||
.get(PRODUCT_DETAILS.editVariant)
|
||||
.click();
|
||||
|
|
Loading…
Reference in a new issue