fix tests, freeze debian 11
This commit is contained in:
parent
cb89757ad0
commit
4c9219fe37
|
|
@ -36,6 +36,8 @@
|
|||
"revision": "2108",
|
||||
"installByDefault": true,
|
||||
"revisionOverrides": {
|
||||
"debian11-x64": "2105",
|
||||
"debian11-arm64": "2105",
|
||||
"mac10.14": "1446",
|
||||
"mac10.15": "1616",
|
||||
"mac11": "1816",
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ export class WebKit extends BrowserType {
|
|||
override doRewriteStartupLog(error: ProtocolError): ProtocolError {
|
||||
if (!error.logs)
|
||||
return error;
|
||||
if (error.logs.includes('Failed to open display'))
|
||||
if (error.logs.includes('Failed to open display') || error.logs.includes('cannot open display'))
|
||||
error.logs = '\n' + wrapInASCIIBox(kNoXServerRunningError, 1);
|
||||
return error;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,7 +45,8 @@ it.describe('element screenshot', () => {
|
|||
expect(screenshot).toMatchSnapshot('screenshot-element-bounding-box.png');
|
||||
});
|
||||
|
||||
it('should take into account padding and border', async ({ page }) => {
|
||||
it('should take into account padding and border', async ({ page, isLinux, headless, browserName }) => {
|
||||
it.fixme(isLinux && !headless && browserName === 'webkit', 'Corner rendered differently after migrating from gtk3 to gtk4');
|
||||
await page.setViewportSize({ width: 500, height: 500 });
|
||||
await page.setContent(`
|
||||
<div style="height: 14px">oooo</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue