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}`,
|
`${urlList.products}${createdProduct.id}`,
|
||||||
).waitForProgressBarToNotBeVisible();
|
).waitForProgressBarToNotBeVisible();
|
||||||
addVariantToDataGrid(name);
|
addVariantToDataGrid(name);
|
||||||
cy.get(PRODUCT_DETAILS.dataGridTable)
|
|
||||||
.should("be.visible")
|
|
||||||
.wait(1000);
|
|
||||||
enterVariantEditPage();
|
enterVariantEditPage();
|
||||||
selectChannelsForVariant();
|
selectChannelsForVariant();
|
||||||
createVariant({
|
createVariant({
|
||||||
|
|
|
@ -151,7 +151,10 @@ export function addVariantToDataGrid(variantName) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function enterVariantEditPage() {
|
export function enterVariantEditPage() {
|
||||||
cy.get(BUTTON_SELECTORS.showMoreButton)
|
cy.get(PRODUCT_DETAILS.dataGridTable)
|
||||||
|
.should("be.visible")
|
||||||
|
.wait(1000)
|
||||||
|
.get(BUTTON_SELECTORS.showMoreButton)
|
||||||
.click()
|
.click()
|
||||||
.get(PRODUCT_DETAILS.editVariant)
|
.get(PRODUCT_DETAILS.editVariant)
|
||||||
.click();
|
.click();
|
||||||
|
|
Loading…
Reference in a new issue