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