tests for variants
This commit is contained in:
parent
ad3c1de234
commit
62cf68c841
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"baseUrl": "http://localhost:9000/dashboard/",
|
||||
"baseUrl": "https://saleor-1743-tests-for-variants.dashboard.saleor.rocks/",
|
||||
"defaultCommandTimeout": 15000,
|
||||
"requestTimeout": 15000,
|
||||
"viewportWidth": 1400,
|
||||
|
|
|
@ -46,9 +46,9 @@ class VariantsSteps {
|
|||
.get(VARIANTS_SELECTORS.addWarehouseButton)
|
||||
.click();
|
||||
cy.contains(VARIANTS_SELECTORS.warehouseOption, warehouseName).click();
|
||||
cy.addAliasToGraphRequest("VariantCreate");
|
||||
cy.addAliasToGraphRequest("ProductVariantDetails");
|
||||
cy.get(VARIANTS_SELECTORS.saveButton).click();
|
||||
cy.wait("@VariantCreate");
|
||||
cy.wait("@ProductVariantDetails");
|
||||
}
|
||||
}
|
||||
export default VariantsSteps;
|
||||
|
|
Loading…
Reference in a new issue