[wp-trac] [WordPress Trac] #54409: E2E Tests: Update test for saved draft with no title
WordPress Trac
noreply at wordpress.org
Wed Nov 10 01:49:16 UTC 2021
#54409: E2E Tests: Update test for saved draft with no title
--------------------------------------+----------------------
Reporter: davidbaumwald | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+----------------------
Changes (by desrosj):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"52096" 52096]:
{{{
#!CommitTicketReference repository="" revision="52096"
Build/Test Tools: Make adjustments to how Quick Draft tests confirm
expected behavior.
Twenty Twenty-One contained a filter on `the_title` to change the default
post title to “Untitled”.
Whenever possible, the default behavior of Core without theme
modifications should be confirmed in tests. The default behavior here is
for a post title to be “(no title)” when one is not entered.
This change also makes an adjustment to be more specific when retrieving
the text to verify results to prevent dates and post statuses from being
pulled in.
Props davidbaumwald, desrosj, peterwilsoncc, hellofromTonya.
Fixes #54409.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54409#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list