Convert navigating the PB UI with the keyboard Nightwatch test to a functional JS test under PHPUnit

Created on 7 January 2025, 7 months ago

Problem/Motivation

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.

Steps to reproduce

Proposed resolution

The failing test will be removed in πŸ› Fix tests Active , convert the test to a functional JS test under PHPUnit.

πŸ“Œ Task
Status

Active

Version

2.0

Component

Other

Created by

πŸ‡©πŸ‡°Denmark ressa Copenhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ressa
  • πŸ‡ΊπŸ‡ΈUnited States chrisfromredfin Portland, Maine

    We 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 πŸ“Œ Rewrite Nightwatch tests as Playwright Active .

  • πŸ‡©πŸ‡°Denmark ressa Copenhagen

    Great to hear that new and superior solutions are being implemented, like Playwright here and Cypress elsewhere. The Drop is Always Moving!

  • Status changed to Closed: won't fix 9 days ago
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    This 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.

Production build 0.71.5 2024