Closed (fixed)
Project:
Maintenance 200
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
12 Aug 2019 at 10:11 UTC
Updated:
1 Jun 2020 at 15:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
attiks commentedTitle is also added, see https://www.drupal.org/project/maintenance200/issues/3092992
Comment #4
attiks commentedComment #5
barrett commentedRerolling the previous patch since the change to routing was already made in a previous patch.
It would be great to have tests in the patch to verify the configuration tab appears in the expected location.
Comment #6
attiks commentedComment #7
attiks commentedTest added
Comment #8
barrett commentedThanks, @attiks. This is a good start but it needs a couple adjustments.
First, the test itself passes even when the change to the placement of the form isn't applied (i.e., the test passes whether the form is standalone or appears as a tab on the maintenance page). Essentially the test as written tests that there is a form at the module specified route and that it generally works.
Second, and much smaller, the test needs a description which distinguishes it from the tests in Maintenance200Test. Currently both sets of tests have a description of, "
Test maintenance 200."
Comment #9
attiks commentedI'll update the comment, but not sure if a test is needed for the task, since it's enforced by the config?
Comment #10
attiks commentedPatch for comment
It seems there's no easy way to see if it's a tab or stand-alone page, I might be able to see if there's another tab present, but not sure if it's worth it
Comment #13
barrett commentedI merged your patch and just pushed a separate commit that adds the test for the tab on the maintenance page.
Comment #14
attiks commentedNice!