diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_the_social_media_link_{string}.js b/cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_the_social_media_link_{string}.js index 6b65e361b..cc80a3a96 100644 --- a/cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_the_social_media_link_{string}.js +++ b/cypress/support/step_definitions/UserProfile.SocialMedia/I_delete_the_social_media_link_{string}.js @@ -1,4 +1,4 @@ -import { When } from "cypress-cucumber-preprocessor/steps"; +import { When } from "@badeball/cypress-cucumber-preprocessor"; When('I delete the social media link {string}', (link) => { cy.get('[data-test="delete-button"]') @@ -9,4 +9,4 @@ When('I delete the social media link {string}', (link) => { .click() cy.get('.ds-list-item-content > a') .contains(link).should('not.exist') -}) \ No newline at end of file +}) diff --git a/cypress/support/step_definitions/UserProfile.SocialMedia/I_have_added_the_social_media_link_{string}.js b/cypress/support/step_definitions/UserProfile.SocialMedia/I_have_added_the_social_media_link_{string}.js index 78a0191d2..d0daab843 100644 --- a/cypress/support/step_definitions/UserProfile.SocialMedia/I_have_added_the_social_media_link_{string}.js +++ b/cypress/support/step_definitions/UserProfile.SocialMedia/I_have_added_the_social_media_link_{string}.js @@ -1,4 +1,4 @@ -import { Given } from "cypress-cucumber-preprocessor/steps"; +import { Given } from "@badeball/cypress-cucumber-preprocessor"; Given('I have added the social media link {string}', (link) => { cy.visit('/settings/my-social-media') @@ -10,4 +10,4 @@ Given('I have added the social media link {string}', (link) => { .click() cy.get('.ds-list-item-content > a') .contains(link) -}) \ No newline at end of file +}) diff --git a/cypress/support/step_definitions/common/I_see_a_toaster_with_status_{string}.js b/cypress/support/step_definitions/common/I_see_a_toaster_with_status_{string}.js index aa07d787c..c7bd91e29 100644 --- a/cypress/support/step_definitions/common/I_see_a_toaster_with_status_{string}.js +++ b/cypress/support/step_definitions/common/I_see_a_toaster_with_status_{string}.js @@ -1,4 +1,4 @@ -import { Then } from "cypress-cucumber-preprocessor/steps"; +import { Then } from "@badeball/cypress-cucumber-preprocessor"; Then("I see a toaster with status {string}", (status) => { switch (status) { @@ -6,4 +6,4 @@ Then("I see a toaster with status {string}", (status) => { cy.get(".iziToast.iziToast-color-green").should("be.visible"); break; } -}) \ No newline at end of file +})