Skip to content

Commit 0d3152f

Browse files
committed
chore: debug preview test
1 parent 56d5a06 commit 0d3152f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cypress/integration/default/preview.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
describe('Preview Mode', () => {
22
it('enters and exits preview mode', () => {
3+
Cypress.Cookies.debug(true)
4+
cy.getCookies().then((cookie) => cy.log('cookies', cookie))
35
// preview mode is off by default
46
cy.visit('/previewTest')
5-
cy.findByText('Is preview? No', {selector: 'h1'})
7+
cy.findByText('Is preview? No', { selector: 'h1' })
68

79
// enter preview mode
810
cy.request('/api/enterPreview').then((response) => {

0 commit comments

Comments
 (0)