Changeset 56197
- Timestamp:
- 07/11/2023 03:39:39 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/e2e/specs/cache-control-headers-directives.test.js
r56134 r56197 2 2 visitAdminPage, 3 3 createNewPost, 4 publishPost, 4 5 trashAllPosts, 5 6 createURL, … … 14 15 15 16 it( 'No private directive present in cache control when user not logged in.', async () => { 16 await createNewPost( { 17 title: 'Hello World', 18 post_status: 'publish', 19 } ); 17 await createNewPost( { title: 'Hello World' } ); 18 await publishPost(); 20 19 await logout(); 21 20 … … 28 27 29 28 it( 'Private directive header present in cache control when logged in.', async () => { 30 await visitAdminPage( '/ wp-admin' );29 await visitAdminPage( '/' ); 31 30 32 31 const response = await page.goto( createURL( '/wp-admin' ) );
Note: See TracChangeset
for help on using the changeset viewer.