uncomment and add test number (#3073)

This commit is contained in:
Karol 2023-01-31 14:01:24 +01:00 committed by GitHub
parent 7321ca959f
commit b702aba701
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ describe("Tests for page types", () => {
});
it(
"should create page type",
"should create page type. TC: SALEOR_2301",
{ tags: ["@pages", "@allEnv", "@stable"] },
() => {
const randomName = startsWith + faker.datatype.number();
@ -47,7 +47,10 @@ describe("Tests for page types", () => {
},
);
xit("should assign attribute", { tags: ["@pages", "@allEnv"] }, () => {
it(
"should assign attribute. TC: SALEOR_2302",
{ tags: ["@pages", "@allEnv"] },
() => {
const randomName = startsWith + faker.datatype.number();
createAttribute({ name: randomName, type: "PAGE_TYPE" });
@ -65,5 +68,6 @@ describe("Tests for page types", () => {
.then(pageType => {
expect(pageType.attributes[0].name).to.eq(randomName);
});
});
},
);
});