Closed didd closed 3 years ago
The example test is actually broken. If you go to https://playwright.dev/ and inspect the page you will find that there isn't and element with the class home-navigation
. What is happening here is the page.innerText(".home-navigation")
actually waits for the element to become visible. So, innerText
times out after 30 seconds (by default), but by then the test times out too.
As an aside, they redesigned the docs and must have forgotten to update the tests.
Good catch @nrhoffmann, created a corresponding patch here which fixes that #194
Expected Behavior
3 passed
Current Behavior
Timeout of 30000ms exceeded
Steps to Reproduce
I used the example given here. Then run :
Detail
Environment