Click is not recognized sporadically in the 3.3.0 version
See original GitHub issueWhat are you trying to achieve?
The test tries to click the sign in button on a login page.
What do you get instead?
When I’m watching closely the scenario run, it is obvious that the click happened as the usual authentication URL appears after login, however, it seems from the logs that the click was not recognized and the test retries it (but it doesn’t succeed as obviously the sign in button is not visible anymore).
Important notes
- the issue is sporadic but happens quite often
- the issue is only reproducible with the Codecept 3.3.0 version (I tried the 3.2.3 version as well and the issue did not occurr)
- so far I experienced this issue only with this one element
Provide console output if related. Use
--verbose
mode for more details.
I wait for enabled "#submit", 30
I click "#submit"
[1] Retrying... Attempt #2
[1] Retrying... Attempt #3
[1] Retrying... Attempt #4
[1] Retrying... Attempt #5
[1] Retrying... Attempt #6
[1] Error | Error: Clickable element "#submit" was not found by text|CSS|XPath
[1] Error | Error: Clickable element "#submit" was not found by text|CSS|XPath
[1] Error | Error: Clickable element "#submit" was not found by text|CSS|XPath
[1] Error | Error: Clickable element "#submit" was not found by text|CSS|XPath
[1] Error | Error: Clickable element "#submit" was not found by text|CSS|XPath
[1] Error | Error: Clickable element "#submit" was not found by text|CSS|XPath
Details
- CodeceptJS version: 3.3.0
- NodeJS Version: 14.17.5
- Operating System: Windows 10
- playwright version (if related): 1.18.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
.find not working, after click event, .html shows the component ...
I have a button that, when clicked, triggers a . The actual component is working, but the test is not. Components export default...
Read more >USB Device Not Recognized Error on Windows 10 [FIXED]
Are you getting a “USB device not recognized ” error whenever you plug in a USB device? In this video tutorial, I'll show...
Read more >Why is this jQuery click function not working? - Stack Overflow
It sounds stupid, but sometimes we think that jQuery is not working and all that stuffs and the problem is on the positioning...
Read more >Docker for Windows 3.x release notes
This page contains release notes for Docker Desktop for Windows 3.x. ... Fixed an issue where the diagnostics were sometimes not uploaded correctly...
Read more >How to Fix XAMPP If It's Not Working (3 Common Solutions)
You can also access the error log by by clicking on the Logs button next to the Apache Config button: The XAMPP control...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This could be realted to Playwright 1.18 or because of timeout was lowered to 5s
Please try to increase
timeout
value in Playwright config:Thank you @DavertMik , increasing the timeout worked.