describe("A full test of the reddit site", function(){ it("visits the page and logs in", function(){ cy.visit("www.reddit.com/") cy.get("a:contains('log in')").click() var url = cy.url() console.log(url) }) })
Снимок экрана, показывающий, как выглядит точный URL-адрес
Идет в http://www.reddit.com/__/# / tests /интеграция / examples / reddit. js вместо reddit.com