Closed (won't fix)
Project:
Project Browser
Version:
2.0.x-dev
Component:
Other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2025 at 20:23 UTC
Updated:
4 Aug 2025 at 01:23 UTC
Jump to comment: Most recent
The Nightwatch test which involves navigating through the PB UI with the keyboard is failing. Since 99% of our tests are functional JS test under PHPUnit anyway, let's convert it to that.
The failing test will be removed in #3496236: Fix tests, convert the test to a functional JS test under PHPUnit.
Comments
Comment #2
chrisfromredfinWe currently have Nightwatch tests up and running again. The keyboard-based navigation support in Nightwatch is superior to what we can do in Mink / FunctionalJavaScript tests with PHPUnit.
I think this will probably eventually be Closed (won't fix) as we'll likely convert the Nightwatch tests to Playwright in #3501481: Rewrite Nightwatch tests as Playwright.
Comment #3
ressaGreat to hear that new and superior solutions are being implemented, like Playwright here and Cypress elsewhere. The Drop is Always Moving!
Comment #4
phenaproximaThis has turned out to be extremely hard, maybe impossible, in PHPUnit because Mink doesn't seem to have very clear or good keyboard support. Screw it. If we've got Nightwatch running, we can stick with that; hopefully we can go to Playwright in the future and that will make things easier on us.