mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Regex for URL matches "I am on page ..." Fixed some category/search related errors
6 lines
170 B
JavaScript
6 lines
170 B
JavaScript
import { Then } from "cypress-cucumber-preprocessor/steps";
|
|
|
|
Then("I am on page {string}", page => {
|
|
cy.location("pathname")
|
|
.should("match", new RegExp(page));
|
|
}); |