Ocelot-Social/cypress/integration/UserProfile.SocialMedia/the_old_url_is_not_displayed.js

7 lines
198 B
JavaScript

import { Then } from "cypress-cucumber-preprocessor/steps";
Then('the old url is not displayed', () => {
cy.get("a[href='https://freeradical.zone/peter-pan']")
.should('have.length', 0)
})