
* reference type cypress working * refactor * remove screenshots * add reference * add slash marker * run tests based on shop version * fix run tests based on shop version * fix run tests based on shop version * change base url to localhost * fix plugins * fix plugins * fix plugins * fix plugins * fix plugins * fix plugins * fix yml * fix yml * chage file names * fix files names * fix broken imports add checking for errors in grpah responses * fix broken imports add checking for errors in grpah responses * update jest * fix snapshot
11 lines
380 B
JavaScript
11 lines
380 B
JavaScript
import { SEO_FORM } from "../../../elements/shared/seo/seo-form-selectors";
|
|
export function editSeoSettings({ slug, title, description }) {
|
|
cy.get(SEO_FORM.editSeoSettings)
|
|
.click()
|
|
.get(SEO_FORM.slugInput)
|
|
.clearAndType(slug)
|
|
.get(SEO_FORM.titleInput)
|
|
.clearAndType(title)
|
|
.get(SEO_FORM.descriptionInput)
|
|
.clearAndType(description, { delay: 0 });
|
|
}
|