Skip to content

Commit

Permalink
Cypress - add fake app on cypress tests (#571) (#573)
Browse files Browse the repository at this point in the history
Co-authored-by: Sara Tavares <29093946+stavares843@users.noreply.github.com>
  • Loading branch information
mclmax and stavares843 committed Aug 19, 2024
1 parent 2d9ba8d commit e428f2d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions cypress-tests/cypress/e2e/canary-tokens.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ describe('Token Tests', () => {
}
},
{ name: 'JS cloned website', extraFields: () => cy.get('#clonedsite').type('www.google.pt') },
{ name: 'CSS cloned website', extraFields: () => cy.get('#expected_referrer').type('www.google.pt') }
{ name: 'CSS cloned website', extraFields: () => cy.get('#expected_referrer').type('www.google.pt') },
{ name: 'Fake App', extraFields: () => cy.get('[for="whatsapp"]').click() }
]

items.forEach(item => {
Expand Down Expand Up @@ -75,4 +76,4 @@ describe('Token Tests', () => {

})
})
})
})
10 changes: 5 additions & 5 deletions cypress-tests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cypress-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"author": "",
"license": "ISC",
"devDependencies": {
"cypress": "^13.13.1"
"cypress": "^13.13.3"
}
}

0 comments on commit e428f2d

Please sign in to comment.