question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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- image firefox image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
dgozmancommented, Jun 15, 2022

I see cookie header missing in the routed case - that might be a problem. Let us investigate.

0reactions
divysharma007commented, Jun 27, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found