Convert [most?] browser tests to unit tests

Created on 12 December 2021, over 3 years ago
Updated 26 February 2025, about 1 month ago

Problem/Motivation

Even though we're testing interactions that would happen in a browser, I don't think we actually need to test grants _with_ a browser. IOW, we can mock up the requests and responses and save a lot of time on the test runner by running these through the Drupal request handling logic, but not need to do the calls with Mink. Need to flesh out this idea.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Closed: won't fix

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bradjones1 Digital Nomad Life

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡±Netherlands bojan_dev

    In 6.0 we migrate some tests to Kernel tests, but some are still needed in browser, e.g: when dealing with Authorization Code Grant there is a case where a grant form is presented in the authorization flow.

Production build 0.71.5 2024