uncomment and add test number (#3073)
This commit is contained in:
parent
7321ca959f
commit
b702aba701
1 changed files with 23 additions and 19 deletions
|
@ -22,7 +22,7 @@ describe("Tests for page types", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should create page type",
|
"should create page type. TC: SALEOR_2301",
|
||||||
{ tags: ["@pages", "@allEnv", "@stable"] },
|
{ tags: ["@pages", "@allEnv", "@stable"] },
|
||||||
() => {
|
() => {
|
||||||
const randomName = startsWith + faker.datatype.number();
|
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();
|
const randomName = startsWith + faker.datatype.number();
|
||||||
|
|
||||||
createAttribute({ name: randomName, type: "PAGE_TYPE" });
|
createAttribute({ name: randomName, type: "PAGE_TYPE" });
|
||||||
|
@ -65,5 +68,6 @@ describe("Tests for page types", () => {
|
||||||
.then(pageType => {
|
.then(pageType => {
|
||||||
expect(pageType.attributes[0].name).to.eq(randomName);
|
expect(pageType.attributes[0].name).to.eq(randomName);
|
||||||
});
|
});
|
||||||
});
|
},
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue