Skip to content

Commit 3202075

Browse files
committed
test: added custom header E2E test
1 parent 8dcf91a commit 3202075

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
describe('custom headers', () => {
2+
it('should load custom headers', () => {
3+
cy.request('/').then((request) => {
4+
cy.wrap(request.headers['x-custom-header']).should('equal', 'my custom header value')
5+
})
6+
})
7+
})

0 commit comments

Comments
 (0)