You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After switching to the iframe with dynamically created document, TestCafe can't find the existing element:
AssertionError: expectedfalsetobetruthy+expected-actual-false+undefined
Browser: Chrome87.0.4280.141/Windows103|fixture`Test`.page`http://localhost:3000/`;4|5|test('test',asynct=>{6|awaitt7|.switchToIframe('#frame')>8|.expect(Selector('#test').withText('The Test Text').exists).ok();9|});10|
Although the element described by such selector present in the iframe. But if we replace "withText" method with "withExactText" then the test will pass successfully.
After switching to the iframe with dynamically created document, TestCafe can't find the existing element:
Although the element described by such selector present in the iframe. But if we replace "withText" method with "withExactText" then the test will pass successfully.
testcafe-iframe-bug.zip
The text was updated successfully, but these errors were encountered: