Skip to content

Commit

Permalink
Cypress - add fake app on cypress tests (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 authored Aug 19, 2024
1 parent fe3e243 commit d98b52f
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 d98b52f

Please sign in to comment.