Wolfgang Huß bda0b3f088 Fix Cypress tests for the users social media
- Refactor Cypress tests to make them more language independent.

Co-Authored-By: mahula <lenzmath@posteo.de>
2022-11-23 14:22:45 +01:00

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()
})