Change tags in tests from stagedOnly to allEnv (#2985)
This commit is contained in:
parent
d5ed6fb202
commit
b723e05b2f
5 changed files with 23 additions and 23 deletions
|
@ -131,7 +131,7 @@ describe("Adyen payments", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should purchase products with simple card",
|
"should purchase products with simple card",
|
||||||
{ tags: ["@payments", "@stagedOnly"] },
|
{ tags: ["@payments", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const simpleCard = cardData;
|
const simpleCard = cardData;
|
||||||
simpleCard.encryptedCardNumber =
|
simpleCard.encryptedCardNumber =
|
||||||
|
@ -149,7 +149,7 @@ describe("Adyen payments", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should purchase product with 3D secure 2 Auth",
|
"should purchase product with 3D secure 2 Auth",
|
||||||
{ tags: ["@payments", "@stagedOnly"] },
|
{ tags: ["@payments", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const threeDSecureCard = cardData;
|
const threeDSecureCard = cardData;
|
||||||
threeDSecureCard.encryptedCardNumber =
|
threeDSecureCard.encryptedCardNumber =
|
||||||
|
@ -167,7 +167,7 @@ describe("Adyen payments", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should purchase product with 3D secure 1 Auth",
|
"should purchase product with 3D secure 1 Auth",
|
||||||
{ tags: ["@payments", "@stagedOnly"] },
|
{ tags: ["@payments", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const threeDSecureCardOneAuth = cardData;
|
const threeDSecureCardOneAuth = cardData;
|
||||||
threeDSecureCardOneAuth.encryptedCardNumber =
|
threeDSecureCardOneAuth.encryptedCardNumber =
|
||||||
|
@ -186,7 +186,7 @@ describe("Adyen payments", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should fail with unknown security number",
|
"should fail with unknown security number",
|
||||||
{ tags: ["@payments", "@stagedOnly"] },
|
{ tags: ["@payments", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const simpleCard = cardData;
|
const simpleCard = cardData;
|
||||||
simpleCard.encryptedCardNumber =
|
simpleCard.encryptedCardNumber =
|
||||||
|
@ -202,7 +202,7 @@ describe("Adyen payments", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should fail with timeout in 3D authorization",
|
"should fail with timeout in 3D authorization",
|
||||||
{ tags: ["@payments", "@stagedOnly"] },
|
{ tags: ["@payments", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const errorCard = cardData;
|
const errorCard = cardData;
|
||||||
errorCard.encryptedCardNumber =
|
errorCard.encryptedCardNumber =
|
||||||
|
@ -216,7 +216,7 @@ describe("Adyen payments", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should fail with closed account",
|
"should fail with closed account",
|
||||||
{ tags: ["@payments", "@stagedOnly"] },
|
{ tags: ["@payments", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const closeAccount = cardData;
|
const closeAccount = cardData;
|
||||||
closeAccount.encryptedCardNumber =
|
closeAccount.encryptedCardNumber =
|
||||||
|
|
|
@ -51,7 +51,7 @@ describe("As an admin I want to manage plugins", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should change user email. TC: SALEOR_3601",
|
"should change user email. TC: SALEOR_3601",
|
||||||
{ tags: ["@plugins", "@stagedOnly", "@stable"] },
|
{ tags: ["@plugins", "@allEnv", "@stable"] },
|
||||||
() => {
|
() => {
|
||||||
const customerEmail = `${randomName}@example.com`;
|
const customerEmail = `${randomName}@example.com`;
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ describe("As an admin I want to manage plugins", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should change admin email plugin. TC: SALEOR_3602",
|
"should change admin email plugin. TC: SALEOR_3602",
|
||||||
{ tags: ["@plugins", "@stagedOnly", "@stable"] },
|
{ tags: ["@plugins", "@allEnv", "@stable"] },
|
||||||
() => {
|
() => {
|
||||||
const adminName = `Admin${randomName}`;
|
const adminName = `Admin${randomName}`;
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ describe("Stripe payments", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should purchase products with simple card",
|
"should purchase products with simple card",
|
||||||
{ tags: ["@payments", "@stagedOnly"] },
|
{ tags: ["@payments", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const simpleCard = cardData;
|
const simpleCard = cardData;
|
||||||
simpleCard.cardNumber = paymentCards.simpleCardNumber;
|
simpleCard.cardNumber = paymentCards.simpleCardNumber;
|
||||||
|
@ -110,7 +110,7 @@ describe("Stripe payments", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should not purchase products with card with insufficient funds",
|
"should not purchase products with card with insufficient funds",
|
||||||
{ tags: ["@payments", "@stagedOnly"] },
|
{ tags: ["@payments", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const simpleCard = cardData;
|
const simpleCard = cardData;
|
||||||
simpleCard.cardNumber = paymentCards.insufficientFundsCard;
|
simpleCard.cardNumber = paymentCards.insufficientFundsCard;
|
||||||
|
@ -126,7 +126,7 @@ describe("Stripe payments", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should purchase products with 3D secure card",
|
"should purchase products with 3D secure card",
|
||||||
{ tags: ["@payments", "@stagedOnly"] },
|
{ tags: ["@payments", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const threeDSecureCard = cardData;
|
const threeDSecureCard = cardData;
|
||||||
threeDSecureCard.cardNumber = paymentCards.threeDSecureAuthCard;
|
threeDSecureCard.cardNumber = paymentCards.threeDSecureAuthCard;
|
||||||
|
@ -152,7 +152,7 @@ describe("Stripe payments", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should not purchase product when 3D secure not pass",
|
"should not purchase product when 3D secure not pass",
|
||||||
{ tags: ["@payments", "@stagedOnly"] },
|
{ tags: ["@payments", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const threeDSecureCard = cardData;
|
const threeDSecureCard = cardData;
|
||||||
threeDSecureCard.cardNumber = paymentCards.threeDSecureAuthCard;
|
threeDSecureCard.cardNumber = paymentCards.threeDSecureAuthCard;
|
||||||
|
|
|
@ -62,7 +62,7 @@ describe("Staff members", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should be able to invite staff user. TC: SALEOR_3501",
|
"should be able to invite staff user. TC: SALEOR_3501",
|
||||||
{ tags: ["@staffMembers", "@stagedOnly", "@allenv"] },
|
{ tags: ["@staffMembers", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const firstName = faker.name.firstName();
|
const firstName = faker.name.firstName();
|
||||||
const emailInvite = `${startsWith}${firstName}@example.com`;
|
const emailInvite = `${startsWith}${firstName}@example.com`;
|
||||||
|
@ -82,7 +82,7 @@ describe("Staff members", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should deactivate user. TC: SALEOR_3502",
|
"should deactivate user. TC: SALEOR_3502",
|
||||||
{ tags: ["@staffMembers", "@stagedOnly", "@allenv"] },
|
{ tags: ["@staffMembers", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
updateStaffMember({ userId: user.id, isActive: true });
|
updateStaffMember({ userId: user.id, isActive: true });
|
||||||
updateUserActiveFlag(user.id);
|
updateUserActiveFlag(user.id);
|
||||||
|
@ -101,7 +101,7 @@ describe("Staff members", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should activate user. TC: SALEOR_3503",
|
"should activate user. TC: SALEOR_3503",
|
||||||
{ tags: ["@staffMembers", "@stagedOnly", "@allenv"] },
|
{ tags: ["@staffMembers", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const serverStoredEmail = email.toLowerCase();
|
const serverStoredEmail = email.toLowerCase();
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ describe("Staff members", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should remove user permissions. TC: SALEOR_3504",
|
"should remove user permissions. TC: SALEOR_3504",
|
||||||
{ tags: ["@staffMembers", "@stagedOnly", "@allenv"] },
|
{ tags: ["@staffMembers", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const serverStoredEmail = email.toLowerCase();
|
const serverStoredEmail = email.toLowerCase();
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ describe("Staff members", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should reset password. TC: SALEOR_3505",
|
"should reset password. TC: SALEOR_3505",
|
||||||
{ tags: ["@staffMembers", "@stagedOnly", "@allenv"] },
|
{ tags: ["@staffMembers", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const newPassword = faker.random.alphaNumeric(8);
|
const newPassword = faker.random.alphaNumeric(8);
|
||||||
updatePlugin(
|
updatePlugin(
|
||||||
|
@ -179,7 +179,7 @@ describe("Staff members", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should not be able to create staff member with not unique email. TC: SALEOR_3508",
|
"should not be able to create staff member with not unique email. TC: SALEOR_3508",
|
||||||
{ tags: ["@staffMembers", "@stagedOnly", "@allenv"] },
|
{ tags: ["@staffMembers", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const firstName = faker.name.firstName();
|
const firstName = faker.name.firstName();
|
||||||
const emailInvite = TEST_ADMIN_USER.email;
|
const emailInvite = TEST_ADMIN_USER.email;
|
||||||
|
@ -194,7 +194,7 @@ describe("Staff members", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should not be able to update staff member with not unique email. TC: SALEOR_3509",
|
"should not be able to update staff member with not unique email. TC: SALEOR_3509",
|
||||||
{ tags: ["@staffMembers", "@stagedOnly", "@allenv"] },
|
{ tags: ["@staffMembers", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
cy.visit(urlList.staffMembers)
|
cy.visit(urlList.staffMembers)
|
||||||
.expectSkeletonIsVisible()
|
.expectSkeletonIsVisible()
|
||||||
|
@ -222,7 +222,7 @@ describe("Staff members", () => {
|
||||||
// Test blocked by https://github.com/saleor/saleor-dashboard/issues/2847
|
// Test blocked by https://github.com/saleor/saleor-dashboard/issues/2847
|
||||||
it.skip(
|
it.skip(
|
||||||
"should update staff member name and email. TC: SALEOR_3507",
|
"should update staff member name and email. TC: SALEOR_3507",
|
||||||
{ tags: ["@staffMembers", "@stagedOnly", "@allenv"] },
|
{ tags: ["@staffMembers", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const newLastName = faker.name.lastName();
|
const newLastName = faker.name.lastName();
|
||||||
const newEmail = `${startsWith}${newLastName}@example.com`;
|
const newEmail = `${startsWith}${newLastName}@example.com`;
|
||||||
|
@ -273,7 +273,7 @@ describe("Staff members", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should create new user and successfully change password. TC: SALEOR_3510",
|
"should create new user and successfully change password. TC: SALEOR_3510",
|
||||||
{ tags: ["@staffMembers", "@stagedOnly", "@allenv"] },
|
{ tags: ["@staffMembers", "@allEnv"] },
|
||||||
() => {
|
() => {
|
||||||
const newPass = "newTestPass";
|
const newPass = "newTestPass";
|
||||||
const newLastName = faker.name.lastName();
|
const newLastName = faker.name.lastName();
|
||||||
|
|
|
@ -32,7 +32,7 @@ describe("As an admin I want to manage translations", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should be able to create new translation. TC:SALEOR_1701",
|
"should be able to create new translation. TC:SALEOR_1701",
|
||||||
{ tags: ["@translations", "@stagedOnly", "@stable"] },
|
{ tags: ["@translations", "@allEnv", "@stable"] },
|
||||||
() => {
|
() => {
|
||||||
const translatedName = `TranslatedName${randomNumber}`;
|
const translatedName = `TranslatedName${randomNumber}`;
|
||||||
const translatedDescription = `TranslatedDescription${randomNumber}`;
|
const translatedDescription = `TranslatedDescription${randomNumber}`;
|
||||||
|
@ -58,7 +58,7 @@ describe("As an admin I want to manage translations", () => {
|
||||||
|
|
||||||
it(
|
it(
|
||||||
"should be able to update translation. TC:SALEOR_1702",
|
"should be able to update translation. TC:SALEOR_1702",
|
||||||
{ tags: ["@translations", "@stagedOnly", "@stable"] },
|
{ tags: ["@translations", "@allEnv", "@stable"] },
|
||||||
() => {
|
() => {
|
||||||
const startWithUpdate = `Translations_Update_${randomNumber}`;
|
const startWithUpdate = `Translations_Update_${randomNumber}`;
|
||||||
const seoTitleUpdate = `${startWithUpdate}_seoTitle`;
|
const seoTitleUpdate = `${startWithUpdate}_seoTitle`;
|
||||||
|
|
Loading…
Reference in a new issue