mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
- Refactor Cypress tests to make them more language independent. Co-Authored-By: mahula <lenzmath@posteo.de>
9 lines
255 B
JavaScript
9 lines
255 B
JavaScript
import { When } from "cypress-cucumber-preprocessor/steps";
|
|
|
|
When('I edit and save the link', () => {
|
|
cy.get('input#editSocialMedia')
|
|
.clear()
|
|
.type('https://freeradical.zone/tinkerbell')
|
|
.get('[data-test="add-save-button"]')
|
|
.click()
|
|
}) |