Create a trait specifically for interacting with Project Browser in functional JS tests

Created on 29 January 2025, 2 months ago

Problem/Motivation

The Project Browser PHPUnit tests are messy and hard to read because of a few things:

  • They don't always reliably wait on elements or page conditions.
  • They tend to use really complicated CSS selectors, and inconsistently at that.

Proposed resolution

We should have a new test trait, ProjectBrowserUiTestTrait, which provides helper methods to interact coherently with Project Browser, abstracting away the appropriate waits and such.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

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

Merge Requests

Comments & Activities

  • Issue created by @phenaproxima
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • Merge request !698Resolve #3503148 "Create a trait" β†’ (Merged) created by phenaproxima
  • Pipeline finished with Canceled
    2 months ago
    Total: 183s
    #409513
  • Pipeline finished with Failed
    2 months ago
    Total: 500s
    #409517
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • Pipeline finished with Failed
    2 months ago
    Total: 474s
    #409531
  • Pipeline finished with Failed
    2 months ago
    Total: 341s
    #409535
  • Pipeline finished with Failed
    2 months ago
    Total: 434s
    #409538
  • Pipeline finished with Canceled
    about 2 months ago
    Total: 124s
    #427884
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • Pipeline finished with Failed
    about 2 months ago
    Total: 426s
    #427885
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • Pipeline finished with Failed
    about 2 months ago
    Total: 285s
    #427895
  • Pipeline finished with Failed
    about 2 months ago
    Total: 321s
    #427898
  • Pipeline finished with Success
    about 2 months ago
    Total: 883s
    #427904
  • Pipeline finished with Success
    about 2 months ago
    Total: 1920s
    #427920
  • Pipeline finished with Skipped
    about 1 month ago
    #429222
  • First commit to issue fork.
  • Pipeline finished with Skipped
    about 1 month ago
    #429223
  • πŸ‡ΊπŸ‡ΈUnited States chrisfromredfin Portland, Maine

    This is good with contains for me as it's supported by Mink.

  • Pipeline finished with Failed
    about 1 month ago
    Total: 814s
    #433061
  • Pipeline finished with Failed
    about 1 month ago
    Total: 677s
    #433891
  • Pipeline finished with Failed
    about 1 month ago
    Total: 1200s
    #433899
  • Pipeline finished with Failed
    about 1 month ago
    Total: 739s
    #433937
  • Pipeline finished with Canceled
    about 1 month ago
    Total: 71s
    #433951
  • Pipeline finished with Success
    about 1 month ago
    Total: 1020s
    #433953
  • Pipeline finished with Success
    about 1 month ago
    Total: 1033s
    #433960
  • Pipeline finished with Failed
    about 1 month ago
    Total: 869s
    #433996
  • Pipeline finished with Canceled
    about 1 month ago
    Total: 453s
    #434039
  • Pipeline finished with Success
    about 1 month ago
    Total: 993s
    #434050
  • Pipeline finished with Success
    about 1 month ago
    Total: 883s
    #434059
  • Pipeline finished with Success
    about 1 month ago
    Total: 1193s
    #434071
  • Pipeline finished with Skipped
    about 1 month ago
    #434096
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024