Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
system.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Oct 2012 at 11:50 UTC
Updated:
29 Jul 2014 at 21:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xjmClosed #1811622: Remove assumption about front page title from NodeCreationTest in favor of this issue; adding that. I'll look for others as well.
Comment #2
xjmComment #3
xjmMenuTestmay be another place to use this.Comment #5
xjmThis needs to go in
$modules.Comment #6
xjmFixed here. I checked and
MenuTestprobably wants to move away from a standard profile dependency, so leaving that out for now.Comment #8
xjmThe fail above looked unrelated so I retested.
Related issue: #1811792: drupal_set_title() should not be necessary to set the homepage title
Comment #9
xjmComment #10
tim.plunkettThis is much better than just arbitrarily checking 'user' or 'node' in different cases.
Comment #11
lars toomre commentedOverall this looks good @xjm. I will leave it as is for others to concur.
Small nit if this gets re-rolled. This in-line comment needs to be adjusted. This was a copy and paste from below.
Comment #12
xjmComment #13
lars toomre commentedAssuming this comes back green, given #10, RTBC!
Comment #14
webchickThis looks good to me. Might be a tad bit more performant too, if we start making use of this test module widely wherever we actually mean "did a page come back ok?"
Committed and pushed to 8.x. I am going to go out on a limb and say testbot will not have anymore failures over a docs change than it did before (random fails notwithstanding).
Comment #15
tstoecklerAwesome patch!
I had the same strange feeling when seeing the 'node' -> 'user' replacements.
One little thing:
I find the usage of drupal_set_title() very confusing here, and, unless I'm missing something, completely unnecessary.
Quick patch to remove that.
I think 'Test page' is more accurate than 'Test front page' as that depends on the usage.
Comment #16
xjmIt is necessary; see #1811792: drupal_set_title() should not be necessary to set the homepage title.
Comment #17
vegabajalakes13 commented#6: drupal-1811804-6.patch queued for re-testing.
Comment #18
tstoecklerOh, I didn't know about that. Thanks! How about this one, then?:
Comment #19
vegabajalakes13 commented#6: drupal-1811804-6.patch queued for re-testing.
Comment #20
vegabajalakes13 commented1811804-6.patch-PageCacheTest module. Retest complete, test passed twice #17 and #19.
Comment #21
xjmLooks good to me.
Comment #22
webchickI'm confused by that comment? It seems to be linking back to this issue?
Comment #23
webchickOk, right. So that was apparently just a copy/paste error cos the real link is over here #1811792: drupal_set_title() should not be necessary to set the homepage title.
xjm and I spoke about this, and since that issue needs tests anyway, rather than committing this as a temporary stop-gap, let's just make this change in that issue and assert that the title is set. Two birds, one patch. :D
Marking back to 'fixed' for the patch in #12.
Comment #24
xjmComment #25.0
(not verified) commentedUpdated issue summary.