-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox Integration tests #39
Conversation
Signed-off-by: aryangupta701 <garyan447@gmail.com>
5a4b729
to
470e383
Compare
I think it is not yet supported by playwright : microsoft/playwright#7297 |
04f11f3
to
20714f4
Compare
source/Background/index.ts
Outdated
console.log(`ZAP Service worker calling ZAP on ${zapurl}`); | ||
console.log(zapApiUrl(zapurl, 'reportObject')); | ||
console.log(encodeURIComponent(zapkey)); | ||
// console.log(`ZAP Service worker calling ZAP on ${zapurl}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commented out additions should all be removed 😁
import * as http from 'http'; | ||
import fs from 'fs'; | ||
|
||
describe('Firefox Integration Test', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theres lots of code common with the chrome test here.
We should just have one test which covers both browsers.
Where we need to do things diffferently then we should either wrap the tests, pass in parameters or call broweser specific functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay
ec840dd
to
13c9772
Compare
Signed-off-by: aryangupta701 <garyan447@gmail.com>
13c9772
to
afd0a66
Compare
Thank you! |
Nice work! |
Added integration tests for firefox.