Skip to content

Commit

Permalink
❄️ Fix flaky test `[v1.0] amp-social-share > chrome > Viewer environm…
Browse files Browse the repository at this point in the history
…ent > clicking tabs between multiple social-shares and opens on "enter" keypress` (#40217)
  • Loading branch information
danielrozenberg authored Jan 7, 2025
1 parent 37ffbde commit 673f9f8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@ describes.endtoend(
await expect(windows.length).to.equal(2);
await controller.switchToWindow(windows[1]);

await expect(controller.getCurrentUrl()).to.equal(
'https://www.tumblr.com/login?redirect_to=https%3A%2F%2Fwww.tumblr.com%2Fwidgets%2Fshare%2Ftool%3FshareSource%3Dlegacy%26canonicalUrl%3D%26url%3Dhttp%253A%252F%252Fexample.com%252F%26posttype%3Dlink%26title%3Damp-social-share%26caption%3D%26content%3Dhttp%253A%252F%252Fexample.com%252F'
);
await expect(controller.getCurrentUrl()).to.contain('tumblr.com');
});
});
}
Expand Down

0 comments on commit 673f9f8

Please sign in to comment.