File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -77,37 +77,6 @@ describe('cache test: /camps/categories', () => {
7777 cy . expectCacheMiss ( uri )
7878 } )
7979
80- it ( 'invalidates /camp/{campId}/categories for new contentNode child' , ( ) => {
81- const uri = `/api/camps/${ grgrCampId } /categories`
82-
83- Cypress . session . clearAllSavedSessions ( )
84- cy . login ( bipiUser )
85-
86- // warm up cache
87- cy . expectCacheMiss ( uri )
88- cy . expectCacheHit ( uri )
89-
90- // add new child to root content node (9d7b3a220fb4) of category (ebfd46a1c181)
91- cy . apiPost ( '/api/content_node/column_layouts' , {
92- parent : '/api/content_node/column_layouts/9d7b3a220fb4' ,
93- slot : '1' ,
94- contentType : '/api/content_types/f17470519474' ,
95- } ) . then ( ( response ) => {
96- const newContentNodeUri = response . body . _links . self . href
97-
98- // ensure cache was invalidated
99- cy . waitForCacheMiss ( uri )
100- cy . expectCacheHit ( uri )
101-
102- // delete newly created contentNode
103- cy . apiDelete ( newContentNodeUri )
104-
105- // ensure cache was invalidated
106- cy . waitForCacheMiss ( uri )
107- cy . expectCacheHit ( uri )
108- } )
109- } )
110-
11180 it ( 'invalidates /camp/{campId}/categories for new category' , ( ) => {
11281 const uri = `/api/camps/${ grgrCampId } /categories`
11382
You can’t perform that action at this time.
0 commit comments