Skip to content

Commit

Permalink
fix: add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tobi-bams committed Oct 1, 2024
1 parent bb2372b commit 20f5c26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export default defineConfig({
experimentalMemoryManagement: true,
numTestsKeptInMemory: 1,
video: true,
env: {
CYPRESS_LOG_LEVEL: 'debug',
},
},
component: {
supportFile: './cypress/support/components.ts',
Expand Down
3 changes: 2 additions & 1 deletion cypress/e2e/addContent/addTweet.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ describe('Add Tweet Content', () => {
}).as('addTweet2')

cy.wait('@addTweet2').then((intersection) => {
cy.log(intersection.response)
console.log(intersection.response)
cy.log(JSON.stringify(intersection.response))
}) // This is because add source is currently skipped,

cy.get('.Toastify__toast-body').should('have.text', 'Content Added')
Expand Down

0 comments on commit 20f5c26

Please sign in to comment.