[wp-trac] [WordPress Trac] #48977: Add a new test case for E2E test
WordPress Trac
noreply at wordpress.org
Sun Dec 15 05:30:45 UTC 2019
#48977: Add a new test case for E2E test
------------------------------+-----------------------------
Reporter: hideokamoto | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: javascript |
------------------------------+-----------------------------
Now the E2E test has only one case to test WordPress.
So we can add a new test case
** Test case
WordPress has two default content.
- Post "Hello world", post_id=1
- Page: "Sample Page", post_id=2
So we can test to these page are these page exists.
** Expect
- localhost?p=1 -> should return HTTP200
- localhost?p=2 -> should return HTTP200
- localhost?p=404 -> should return HTTP404
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48977>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list