exluded test cases before those can be fixed ad part of the SALEOR-6… (#2025)
* exluded test cases before those can be fixed ad part of the SALEOR-6705 Exclude all failing tests task * exluded npm test -- -u
This commit is contained in:
parent
79b4eb1836
commit
e0cc89478f
20 changed files with 56 additions and 55 deletions
|
@ -75,10 +75,11 @@ export const PERMISSIONS_OPTIONS = {
|
|||
user: ONE_PERMISSION_USERS.staff,
|
||||
permissions: [PERMISSIONS.staff],
|
||||
testCase: "TC: SALEOR_3414"
|
||||
},
|
||||
translations: {
|
||||
user: ONE_PERMISSION_USERS.translations,
|
||||
permissions: [PERMISSIONS.translations],
|
||||
testCase: "TC: SALEOR_3416"
|
||||
}
|
||||
// },
|
||||
// translations: {
|
||||
// user: ONE_PERMISSION_USERS.translations,
|
||||
// permissions: [PERMISSIONS.translations],
|
||||
// testCase: "TC: SALEOR_3416"
|
||||
// } // commented as part of SALEOR-6705 task. Need to be fixed in future. Klaudia Jaroszewicz
|
||||
};
|
||||
|
|
|
@ -260,7 +260,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
});
|
||||
});
|
||||
|
||||
it("assign product to collection. TC: SALEOR_0307", () => {
|
||||
xit("assign product to collection. TC: SALEOR_0307", () => {
|
||||
const collectionName = `Assign-${startsWith}${faker.datatype.number()}`;
|
||||
const productName = `Product-To-Assign-${startsWith}${faker.datatype.number()}`;
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ import {
|
|||
} from "../../../support/pages/catalog/products/productsListPage";
|
||||
|
||||
filterTests({ definedTags: ["all"] }, () => {
|
||||
describe("Tests for using attributes in filters", () => {
|
||||
xdescribe("Tests for using attributes in filters", () => {
|
||||
const startsWith = "AttrFilter";
|
||||
|
||||
let attribute;
|
||||
|
|
|
@ -88,7 +88,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
});
|
||||
});
|
||||
|
||||
it("should add user to permission group", () => {
|
||||
xit("should add user to permission group", () => {
|
||||
const permissionName = `${startsWith}${faker.datatype.number()}`;
|
||||
createPermissionGroup({
|
||||
name: permissionName,
|
||||
|
|
|
@ -18,7 +18,7 @@ import filterTests from "../../../../support/filterTests";
|
|||
import { changeWeightUnit } from "../../../../support/pages/shippingMethodPage";
|
||||
|
||||
filterTests({ definedTags: ["all"] }, () => {
|
||||
describe("As a staff user I want to change shop default weight unit", () => {
|
||||
xdescribe("As a staff user I want to change shop default weight unit", () => {
|
||||
const startsWith = "RecalculateWeight";
|
||||
const name = `${startsWith}${faker.datatype.number()}`;
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import {
|
|||
import filterTests from "../../support/filterTests";
|
||||
|
||||
filterTests({ definedTags: ["all"] }, () => {
|
||||
describe("Tests for site settings", () => {
|
||||
xdescribe("Tests for site settings", () => {
|
||||
let address;
|
||||
|
||||
before(() => {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/// <reference types="cypress"/>
|
||||
/// <reference types="../../../support"/>
|
||||
/// <reference types="../../support"/>
|
||||
|
||||
import faker from "faker";
|
||||
|
||||
|
@ -177,7 +177,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
});
|
||||
});
|
||||
|
||||
it("should remove variant from sale", () => {
|
||||
xit("should remove variant from sale", () => {
|
||||
const name = `${startsWith}${faker.datatype.number()}`;
|
||||
let product;
|
||||
let variants;
|
||||
|
|
|
@ -23,7 +23,7 @@ import {
|
|||
} from "../../support/pages/discounts/salesPage";
|
||||
|
||||
filterTests({ definedTags: ["all"] }, () => {
|
||||
describe("Sales discounts for products", () => {
|
||||
xdescribe("Sales discounts for products", () => {
|
||||
const startsWith = "CySales-";
|
||||
|
||||
let productType;
|
||||
|
@ -146,7 +146,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
});
|
||||
})
|
||||
.then(() => {
|
||||
/* Uncomment after fixing SALEOR-3367 bug
|
||||
/* Uncomment after fixing SALEOR-3367 bug
|
||||
cy.clearSessionData()
|
||||
.loginUserViaRequest("auth", ONE_PERMISSION_USERS.discount)
|
||||
*/
|
||||
|
|
|
@ -17,7 +17,7 @@ import {
|
|||
} from "../../support/pages/discounts/salesPage";
|
||||
|
||||
filterTests({ definedTags: ["all"] }, () => {
|
||||
describe("Sales discounts for variant", () => {
|
||||
xdescribe("Sales discounts for variant", () => {
|
||||
const startsWith = "CySales-";
|
||||
|
||||
let productType;
|
||||
|
|
|
@ -254,7 +254,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
});
|
||||
});
|
||||
|
||||
it("should be able to create voucher with limit to staff only. TC: SALEOR_1909", () => {
|
||||
xit("should be able to create voucher with limit to staff only. TC: SALEOR_1909", () => {
|
||||
const voucherCode = `${startsWith}${faker.datatype.number()}`;
|
||||
const voucherValue = 50;
|
||||
dataForCheckout.auth = "auth";
|
||||
|
@ -289,7 +289,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
});
|
||||
});
|
||||
|
||||
it("should be able to create voucher with minimum value of order. TC: SALEOR_1910", () => {
|
||||
xit("should be able to create voucher with minimum value of order. TC: SALEOR_1910", () => {
|
||||
const voucherCode = `${startsWith}${faker.datatype.number()}`;
|
||||
const voucherValue = 50;
|
||||
const minOrderValue = productPrice * 1.5;
|
||||
|
@ -321,7 +321,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
});
|
||||
});
|
||||
|
||||
it("should create voucher with min product quantity. TC: SALEOR_1911", () => {
|
||||
xit("should create voucher with min product quantity. TC: SALEOR_1911", () => {
|
||||
const voucherCode = `${startsWith}${faker.datatype.number()}`;
|
||||
const voucherValue = 50;
|
||||
const minAmountOfItems = 2;
|
||||
|
|
|
@ -22,7 +22,7 @@ import { selectChannelInPicker } from "../../support/pages/channelsPage";
|
|||
import { finalizeDraftOrder } from "../../support/pages/draftOrderPage";
|
||||
|
||||
filterTests({ definedTags: ["all"] }, () => {
|
||||
describe("Draft orders", () => {
|
||||
xdescribe("Draft orders", () => {
|
||||
const startsWith = "CyDraftOrders-";
|
||||
const randomName = startsWith + faker.datatype.number();
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import {
|
|||
} from "../../support/pages/siteSettings";
|
||||
|
||||
filterTests({ definedTags: ["all"], version: "3.1.0" }, () => {
|
||||
describe("As an admin I want to manage stock reservation", () => {
|
||||
xdescribe("As an admin I want to manage stock reservation", () => {
|
||||
const startsWith = "manageStocks";
|
||||
const name = `${startsWith}${faker.datatype.number()}`;
|
||||
const productQuantity = 10;
|
||||
|
|
|
@ -115,7 +115,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
);
|
||||
});
|
||||
|
||||
it("should create order with selected channel", () => {
|
||||
xit("should create order with selected channel", () => {
|
||||
cy.visit(urlList.orders)
|
||||
.get(ORDERS_SELECTORS.createOrder)
|
||||
.click();
|
||||
|
|
|
@ -45,7 +45,7 @@ filterTests({ definedTags: ["all"] }, () => {
|
|||
});
|
||||
});
|
||||
|
||||
it("should assign attribute", () => {
|
||||
xit("should assign attribute", () => {
|
||||
const randomName = startsWith + faker.datatype.number();
|
||||
|
||||
createAttribute({ name: randomName, type: "PAGE_TYPE" });
|
||||
|
|
|
@ -57,7 +57,7 @@ filterTests({ definedTags: ["all"], version: "3.1.0" }, () => {
|
|||
cy.clearSessionData().loginUserViaRequest();
|
||||
});
|
||||
|
||||
it("should create variant in preorder", () => {
|
||||
xit("should create variant in preorder", () => {
|
||||
let variant;
|
||||
|
||||
cy.visit(productDetailsUrl(product.id))
|
||||
|
|
|
@ -57,7 +57,7 @@ filterTests({ definedTags: ["all"], version: "3.1.0" }, () => {
|
|||
cy.clearSessionData().loginUserViaRequest();
|
||||
});
|
||||
|
||||
it("should not be able to order more products then channel threshold", () => {
|
||||
xit("should not be able to order more products then channel threshold", () => {
|
||||
cy.visit(variantDetailsUrl(product.id, variantsList[0].id))
|
||||
.get(VARIANTS_SELECTORS.channelThresholdInput)
|
||||
.type(5)
|
||||
|
|
|
@ -11,7 +11,7 @@ import { createNewProductWithNewDataAndDefaultChannel } from "../../support/api/
|
|||
import filterTests from "../../support/filterTests";
|
||||
|
||||
filterTests({ definedTags: ["all"] }, () => {
|
||||
describe("Tests for images", () => {
|
||||
xdescribe("Tests for images", () => {
|
||||
beforeEach(() => {
|
||||
cy.clearSessionData().loginUserViaRequest();
|
||||
});
|
||||
|
|
|
@ -103,7 +103,7 @@ filterTests({ definedTags: ["all", "critical"], version: "3.1.0" }, () => {
|
|||
);
|
||||
});
|
||||
|
||||
it("should create variant without sku by variant creator", () => {
|
||||
xit("should create variant without sku by variant creator", () => {
|
||||
const name = `${startsWith}${faker.datatype.number()}`;
|
||||
const price = 10;
|
||||
let createdProduct;
|
||||
|
|
|
@ -13,7 +13,7 @@ import filterTests from "../support/filterTests";
|
|||
import { updateTranslationToCategory } from "../support/pages/translationsPage";
|
||||
|
||||
filterTests({ definedTags: ["all"], version: "3.0.0" }, () => {
|
||||
describe("As an admin I want to manage translations", () => {
|
||||
xdescribe("As an admin I want to manage translations", () => {
|
||||
const startsWith = "TestTranslations";
|
||||
const randomNumber = faker.datatype.number();
|
||||
const name = `${startsWith}${randomNumber}`;
|
||||
|
|
|
@ -43542,7 +43542,7 @@ exports[`Storyshots Views / Categories / Update category no products 1`] = `
|
|||
>
|
||||
<a
|
||||
class="InternalLink-root-id"
|
||||
href="/dashboard/products/?categories%5B0%5D=Q2F0ZWdvcnk6NA%3D%3D"
|
||||
href="/products/?categories%5B0%5D=Q2F0ZWdvcnk6NA%3D%3D"
|
||||
>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-outlined-id MuiButton-outlinedPrimary-id MuiButton-outlinedSizeSmall-id MuiButton-sizeSmall-id"
|
||||
|
@ -45076,7 +45076,7 @@ exports[`Storyshots Views / Categories / Update category products 1`] = `
|
|||
>
|
||||
<a
|
||||
class="InternalLink-root-id"
|
||||
href="/dashboard/products/?categories%5B0%5D=Q2F0ZWdvcnk6NA%3D%3D"
|
||||
href="/products/?categories%5B0%5D=Q2F0ZWdvcnk6NA%3D%3D"
|
||||
>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-outlined-id MuiButton-outlinedPrimary-id MuiButton-outlinedSizeSmall-id MuiButton-sizeSmall-id"
|
||||
|
@ -62999,7 +62999,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
|||
>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/attributes/"
|
||||
href="/attributes/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63046,7 +63046,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
|||
</a>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/product-types/"
|
||||
href="/product-types/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63110,7 +63110,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
|||
>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/taxes/"
|
||||
href="/taxes/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63174,7 +63174,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
|||
>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/staff/"
|
||||
href="/staff/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63221,7 +63221,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
|||
</a>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/permission-groups/"
|
||||
href="/permission-groups/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63285,7 +63285,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
|||
>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/shipping/"
|
||||
href="/shipping/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63332,7 +63332,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
|||
</a>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/warehouses/"
|
||||
href="/warehouses/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63396,7 +63396,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
|||
>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/page-types/"
|
||||
href="/page-types/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63460,7 +63460,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
|||
>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/navigation"
|
||||
href="/navigation"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63507,7 +63507,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
|||
</a>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/site-settings"
|
||||
href="/site-settings"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63560,7 +63560,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
|||
</a>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/plugins/"
|
||||
href="/plugins/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63673,7 +63673,7 @@ exports[`Storyshots Views / Configuration partial access 1`] = `
|
|||
>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/attributes/"
|
||||
href="/attributes/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63720,7 +63720,7 @@ exports[`Storyshots Views / Configuration partial access 1`] = `
|
|||
</a>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/product-types/"
|
||||
href="/product-types/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63784,7 +63784,7 @@ exports[`Storyshots Views / Configuration partial access 1`] = `
|
|||
>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/warehouses/"
|
||||
href="/warehouses/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -63848,7 +63848,7 @@ exports[`Storyshots Views / Configuration partial access 1`] = `
|
|||
>
|
||||
<a
|
||||
class="ConfigurationPage-link-id"
|
||||
href="/dashboard/page-types/"
|
||||
href="/page-types/"
|
||||
>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiCard-root-id NavigationCard-card-id MuiPaper-elevation0-id MuiPaper-rounded-id"
|
||||
|
@ -187507,7 +187507,7 @@ exports[`Storyshots Views / Products / Product edit form errors 1`] = `
|
|||
>
|
||||
<a
|
||||
class="Link-root-id Link-primary-id Link-noUnderline-id"
|
||||
href="/dashboard/product-types/pt76406"
|
||||
href="/product-types/pt76406"
|
||||
>
|
||||
Versatile
|
||||
</a>
|
||||
|
@ -189360,7 +189360,7 @@ exports[`Storyshots Views / Products / Product edit limits reached 1`] = `
|
|||
>
|
||||
<a
|
||||
class="Link-root-id Link-primary-id Link-noUnderline-id"
|
||||
href="/dashboard/product-types/pt76406"
|
||||
href="/product-types/pt76406"
|
||||
>
|
||||
Versatile
|
||||
</a>
|
||||
|
@ -191128,7 +191128,7 @@ exports[`Storyshots Views / Products / Product edit no limits 1`] = `
|
|||
>
|
||||
<a
|
||||
class="Link-root-id Link-primary-id Link-noUnderline-id"
|
||||
href="/dashboard/product-types/pt76406"
|
||||
href="/product-types/pt76406"
|
||||
>
|
||||
Versatile
|
||||
</a>
|
||||
|
@ -192630,7 +192630,7 @@ exports[`Storyshots Views / Products / Product edit no product attributes 1`] =
|
|||
>
|
||||
<a
|
||||
class="Link-root-id Link-primary-id Link-noUnderline-id"
|
||||
href="/dashboard/product-types/pt76406"
|
||||
href="/product-types/pt76406"
|
||||
>
|
||||
Versatile
|
||||
</a>
|
||||
|
@ -194296,7 +194296,7 @@ exports[`Storyshots Views / Products / Product edit no stock and no variants 1`]
|
|||
>
|
||||
<a
|
||||
class="Link-root-id Link-primary-id Link-noUnderline-id"
|
||||
href="/dashboard/product-types/pt76406"
|
||||
href="/product-types/pt76406"
|
||||
>
|
||||
Versatile
|
||||
</a>
|
||||
|
@ -195962,7 +195962,7 @@ exports[`Storyshots Views / Products / Product edit no stock, no variants and no
|
|||
>
|
||||
<a
|
||||
class="Link-root-id Link-primary-id Link-noUnderline-id"
|
||||
href="/dashboard/product-types/pt76406"
|
||||
href="/product-types/pt76406"
|
||||
>
|
||||
Versatile
|
||||
</a>
|
||||
|
@ -197628,7 +197628,7 @@ exports[`Storyshots Views / Products / Product edit no variants 1`] = `
|
|||
>
|
||||
<a
|
||||
class="Link-root-id Link-primary-id Link-noUnderline-id"
|
||||
href="/dashboard/product-types/pt76406"
|
||||
href="/product-types/pt76406"
|
||||
>
|
||||
Versatile
|
||||
</a>
|
||||
|
@ -199396,7 +199396,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`
|
|||
>
|
||||
<a
|
||||
class="Link-root-id Link-primary-id Link-noUnderline-id"
|
||||
href="/dashboard/product-types/pt76406"
|
||||
href="/product-types/pt76406"
|
||||
>
|
||||
Versatile
|
||||
</a>
|
||||
|
@ -202215,7 +202215,7 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1
|
|||
>
|
||||
<a
|
||||
class="Link-root-id Link-primary-id Link-noUnderline-id"
|
||||
href="/dashboard/product-types/pt76406"
|
||||
href="/product-types/pt76406"
|
||||
>
|
||||
Versatile
|
||||
</a>
|
||||
|
@ -203881,7 +203881,7 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
|
|||
>
|
||||
<a
|
||||
class="Link-root-id Link-primary-id Link-noUnderline-id"
|
||||
href="/dashboard/product-types/pt76406"
|
||||
href="/product-types/pt76406"
|
||||
>
|
||||
Versatile
|
||||
</a>
|
||||
|
@ -205649,7 +205649,7 @@ exports[`Storyshots Views / Products / Product edit with channels 1`] = `
|
|||
>
|
||||
<a
|
||||
class="Link-root-id Link-primary-id Link-noUnderline-id"
|
||||
href="/dashboard/product-types/pt76406"
|
||||
href="/product-types/pt76406"
|
||||
>
|
||||
Versatile
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue