diff --git a/test/TestExpectations.json b/test/TestExpectations.json
index fd2c64cdbb8..c2c819add0e 100644
--- a/test/TestExpectations.json
+++ b/test/TestExpectations.json
@@ -3376,12 +3376,6 @@
"parameters": ["cdp", "firefox"],
"expectations": ["FAIL", "PASS"]
},
- {
- "testIdPattern": "[screenshot.spec] Screenshots ElementHandle.screenshot should capture full element when larger than viewport",
- "platforms": ["win32"],
- "parameters": ["cdp", "firefox"],
- "expectations": ["FAIL"]
- },
{
"testIdPattern": "[screenshot.spec] Screenshots ElementHandle.screenshot should work for an element with an offset",
"platforms": ["darwin", "linux", "win32"],
@@ -3412,66 +3406,12 @@
"parameters": ["cdp", "firefox"],
"expectations": ["FAIL", "PASS"]
},
- {
- "testIdPattern": "[screenshot.spec] Screenshots Page.screenshot should clip rect",
- "platforms": ["darwin", "linux", "win32"],
- "parameters": ["firefox", "webDriverBiDi"],
- "expectations": ["FAIL"]
- },
- {
- "testIdPattern": "[screenshot.spec] Screenshots Page.screenshot should clip rect",
- "platforms": ["darwin", "linux", "win32"],
- "parameters": ["cdp", "firefox"],
- "expectations": ["FAIL", "PASS"]
- },
- {
- "testIdPattern": "[screenshot.spec] Screenshots Page.screenshot should return base64",
- "platforms": ["darwin", "linux", "win32"],
- "parameters": ["firefox", "webDriverBiDi"],
- "expectations": ["FAIL"]
- },
- {
- "testIdPattern": "[screenshot.spec] Screenshots Page.screenshot should return base64",
- "platforms": ["darwin", "linux", "win32"],
- "parameters": ["cdp", "firefox"],
- "expectations": ["FAIL", "PASS"]
- },
{
"testIdPattern": "[screenshot.spec] Screenshots Page.screenshot should take fullPage screenshots",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["cdp", "firefox"],
"expectations": ["FAIL"]
},
- {
- "testIdPattern": "[screenshot.spec] Screenshots Page.screenshot should take fullPage screenshots",
- "platforms": ["darwin", "linux", "win32"],
- "parameters": ["firefox", "webDriverBiDi"],
- "expectations": ["FAIL"]
- },
- {
- "testIdPattern": "[screenshot.spec] Screenshots Page.screenshot should take fullPage screenshots without captureBeyondViewport",
- "platforms": ["darwin", "linux", "win32"],
- "parameters": ["firefox", "webDriverBiDi"],
- "expectations": ["FAIL"]
- },
- {
- "testIdPattern": "[screenshot.spec] Screenshots Page.screenshot should take fullPage screenshots without captureBeyondViewport",
- "platforms": ["darwin", "linux", "win32"],
- "parameters": ["cdp", "firefox"],
- "expectations": ["FAIL", "PASS"]
- },
- {
- "testIdPattern": "[screenshot.spec] Screenshots Page.screenshot should work",
- "platforms": ["darwin", "linux", "win32"],
- "parameters": ["firefox", "webDriverBiDi"],
- "expectations": ["FAIL"]
- },
- {
- "testIdPattern": "[screenshot.spec] Screenshots Page.screenshot should work",
- "platforms": ["darwin", "linux", "win32"],
- "parameters": ["cdp", "firefox"],
- "expectations": ["FAIL", "PASS"]
- },
{
"testIdPattern": "[stacktrace.spec] Stack trace should work for none error objects",
"platforms": ["darwin", "linux", "win32"],
@@ -3842,12 +3782,6 @@
"parameters": ["cdp", "chrome", "headful"],
"expectations": ["FAIL", "PASS"]
},
- {
- "testIdPattern": "[screenshot.spec] Screenshots ElementHandle.screenshot should capture full element when larger than viewport",
- "platforms": ["darwin", "win32"],
- "parameters": ["firefox", "headless", "webDriverBiDi"],
- "expectations": ["FAIL"]
- },
{
"testIdPattern": "[screenshot.spec] Screenshots ElementHandle.screenshot should work for an element with an offset",
"platforms": ["darwin", "linux", "win32"],
diff --git a/test/assets/frames/nested-frames.html b/test/assets/frames/nested-frames.html
index de1987586ff..e9c5d83c031 100644
--- a/test/assets/frames/nested-frames.html
+++ b/test/assets/frames/nested-frames.html
@@ -1,4 +1,8 @@