Admin: a browser test that every main screen has one h1 and a breadcrumb

Open
#740 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
laravel, php, postgresql
Domain
testing

Research direction

The payload names no files. Start by finding the existing test that searches admin page sources for strings and the browser test setup the project already uses. Then find where the breadcrumb and showTitle are rendered for admin pages. Done means one browser test that visits a list, an item, settings, a plugin area and an error page, and fails when any of them lacks exactly one h1 or has an empty breadcrumb.

Written by the indexing model from the issue text.

Description

area/admin area/tests when/later

Admin pages are now named by the breadcrumb, with the page heading visually hidden; pages without a breadcrumb pass showTitle by hand. A page that forgets it has a hidden title and no visible name. Today a test only searches the page sources for strings.

Add one browser test visiting the main screen types (a list, an item, settings, a plugin area, an error page) that checks for exactly one h1 and a non-empty breadcrumb.

Dominant language
PHP
Stars
1
Forks
1
Avg merge
1h 40m
Merged PRs (30d)
143

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from temecms/teme

All issues in temecms/teme

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.