correct dependencies in step definition files

This commit is contained in:
mahula 2023-02-22 11:56:08 +01:00
parent d8e72f42bc
commit 74a054e2b4
3 changed files with 6 additions and 6 deletions

View File

@ -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"]')

View File

@ -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')

View File

@ -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) {