-
Notifications
You must be signed in to change notification settings - Fork 325
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
fix(test): π§ Making e2e Tests work again. #1308
Conversation
Signed-off-by: Nishant Arora <[email protected]>
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.
explainers.
test/e2e/ipfs-companion.test.js
Outdated
// if (url.includes('landing-pages/permissions/request.html')) { | ||
// //By.tagName is deprecated, replacement is called By.css() for some reason. | ||
// browser.findElement(By.css('button')).click() |
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.
test/e2e/ipfs-companion.test.js
Outdated
// - using custom profiles. | ||
// - Clicking grant permissions button on line-74, but that results in a popup which is not interactable. | ||
// - using capabilities (in builder section, to handler alert popups and accept all). | ||
// https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/lib/capabilities_exports_Capabilities.html | ||
// selenium has different interfaces for chrome permissions, e.g.: https://github.com/SeleniumHQ/selenium/blob/selenium-4.10.0/javascript/node/selenium-webdriver/test/chrome/permission_test.js#L37 |
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.
tried all of this, does not work.
@SgtPooki : can you take on reviewing this and getting it over the line? |
Related to: #1300
In this PR:
host_permissions
cannot be granted, yet!More in comments.