Skip to content

Commit

Permalink
removed console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
andyforrest committed Jun 19, 2023
1 parent bfb2c79 commit f42b6a2
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,12 @@ describe('Test in frontend that the privacy request view', () => {


cy.task('getMails').then((mails) => {
// console.log(mails)
console.log(mails[1].body)
cy.wrap(mails[0].body).should('have.string', `A new information request has been submitted by ${Cypress.env('email')}.`);

let str = mails[1].body;

let firstSplit = str.split('URL: ')[1];
console.log(firstSplit)
let link = firstSplit.split('\n')[0];
console.log(link)

cy.visit(link);
cy.get('.controls > .btn').click()
Expand Down

0 comments on commit f42b6a2

Please sign in to comment.