Category "automated-tests"

Python playwright: wait for arbitrary DOM state

I've been tooling around with Playwright on Python (v1.16) and thought I'd migrate some of our Cypress tests as an experiment. However, I've run into several sn

How to create xpath locator when element does not have any attributes

How can I access the element using xpath selector if that particular element does not have any attributes? <?xml version="1.0" encoding="UTF-8"?> <chal

cy.url() and/or cy.location('href') does not return a string

I have an editor page. When I add any content and click the "Save" button my URL will change, adding a random id in the URL. I want to check if my ID's are chan

CucumberException: Failed to instantiate class stepDefinitions When run tests

Please help. I think that there is a mistake when initializing the page public class AuthStepDefinitions { private final AuthPage authPage = new AuthPage();