Testcase creates false positive

Created on 26 April 2024, 2 months ago
Updated 8 June 2024, 20 days ago

Problem/Motivation

While fixing 📌 Fix System tests that rely on UID1's super user behavior Active it's found that the test case testLocalTaskBlockCache asserting no local tasks results in false positive if the correct permissions were not given. Test passes even if the permission 'administer account settings' is removed.

Steps to reproduce

Proposed resolution

Add an assert to check if the page /admin/config/people/accounts was actually rendered before asserting for no local tasks.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.3

Component
System 

Last updated less than a minute ago

No maintainer
Created by

🇮🇳India sukr_s

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024