mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
correct dependencies in step definition files
This commit is contained in:
parent
43ee62787b
commit
d7d28798ed
@ -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) => {
|
When('I delete the social media link {string}', (link) => {
|
||||||
cy.get('[data-test="delete-button"]')
|
cy.get('[data-test="delete-button"]')
|
||||||
|
|||||||
@ -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) => {
|
Given('I have added the social media link {string}', (link) => {
|
||||||
cy.visit('/settings/my-social-media')
|
cy.visit('/settings/my-social-media')
|
||||||
|
|||||||
@ -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) => {
|
Then("I see a toaster with status {string}", (status) => {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user