From 673f9f8741a2880000ea0dcdbc2516825500087e Mon Sep 17 00:00:00 2001 From: Daniel Rozenberg Date: Tue, 7 Jan 2025 17:45:32 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9D=84=EF=B8=8F=20Fix=20flaky=20test=20`[v1.?= =?UTF-8?q?0]=20amp-social-share=20>=20chrome=20>=20Viewer=20environment?= =?UTF-8?q?=20>=20clicking=20tabs=20between=20multiple=20social-shares=20a?= =?UTF-8?q?nd=20opens=20on=20"enter"=20keypress`=20(#40217)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../amp-social-share/1.0/test-e2e/test-amp-social-share.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/extensions/amp-social-share/1.0/test-e2e/test-amp-social-share.js b/extensions/amp-social-share/1.0/test-e2e/test-amp-social-share.js index db169ada0c6b..473453d3b577 100644 --- a/extensions/amp-social-share/1.0/test-e2e/test-amp-social-share.js +++ b/extensions/amp-social-share/1.0/test-e2e/test-amp-social-share.js @@ -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'); }); }); }