POP-WINDOW is not opening in the chromium browser
See original GitHub issue test('Failed Verification', async ({ page }) => {
await page.route(
'https://outlook.office.com/actionsb2netcore/userid/ComposeExtensions/verifyCard',
async (route) => {
let response = await page.request.fetch(route.request());
let body = await response.json();
body.cards[0].verificationStatus = 'Failed';
body = JSON.stringify(body);
console.log('received verify card API');
route.fulfill({ response, body });
}
)
await goToReaderPane(page); // goes to inbox
let window = await openMail(page,mode) // opens mail in the pop-up window
await window.waitForTimeout(5000) // wait for card to make changes
await window.locator(selectors.AC_OPEN_URL).click();
await expect(window.locator(selectors.FAILED_VERIFICATION)).toBeVisible();
await expect(window.locator(selectors.FIRST_CARD_IN_PANE)).toContainText('Unknown App')
I am attaching screenshots-
firefox
Issue Analytics
- State:
- Created a year ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
82522 - No way to open a pop-up with the toolbar displayed
I have server side code in placed that sends different Javascript to the browser depending on whether or not it's a Chrome browser....
Read more >javascript - Cef Sharp not showing popup window called using ...
I've build an application using CefSharp.WinForms. All is good but when any website uses to show a popup using javascript window.open() it ...
Read more >Popups and window methods - The Modern JavaScript Tutorial
A popup window is one of the oldest methods to show additional document to ... Most modern browsers are configured to open url...
Read more >Configuring your web browser to allow pop-up windows
From the Safari menu, choose Preferences... and click the Security tab. Ensure the Block pop-up windows option is not checked. Unchecking this ...
Read more >Edge with chromium keeps opening a second window
Plus, the strange popup window that isn't a popup window seems to be duplicating the website which had been open in one of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I see
cookie
header missing in the routed case - that might be a problem. Let us investigate.The pop-up window refreshes and opens when I close the parent window, still don’t know why it doesn’t work without closing the parent window, sorry but right now I cannot share the code as the feature is not public yet. Thanks for looking into it.