Skip to content

Commit e8abdf7

Browse files
committed
fix test
1 parent ec2c022 commit e8abdf7

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

e2e/specs/httpCache/categories.cy.js

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)