-
Notifications
You must be signed in to change notification settings - Fork 22
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
#8206: playwright tests for MS Edge sidebar links #8216
Conversation
|
||
await sideBarPage.getByRole("link", { name: "Markdown Text Link" }).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.
You can also assert that the expected page was opened. See: https://playwright.dev/docs/pages#handling-popups
// await expect(mainFrame.getByText("Alpha")).toBeVisible(); | ||
// | ||
// const srcdocFrame = mainFrame.frameLocator("iframe").first(); | ||
// await srcdocFrame.getByRole("link", { name: "IFrame Link" }).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.
During manual testing in MS Edge on Mac the browser crashes when clicking link in the iframe. (Because our interception logic does not intercept it)
No loom links were found in the first post. Please add one there if you'd like to it to appear on Slack. Do not edit this comment manually. |
What does this PR do?
@pixies/test/sidebar-links
for testingRemaining Work
@fregante on main and 1.8.13-alpha.1 build the gear icon isn't doing anything for me in MS Edge. It doesn't change style on hover and isn't responding to clicks when I test manually (but seems like it might be working on CI?, but closing the sidepanel): seems to be fine for me on local builds on MS Edge. Seems like my extension got into a bad stateDiscussion
Potential Improvements
Future Work
Checklist