tests(fixit): garden win/webkit/input tests (#14721)
Bumping images to 300+ to work around the non-sensible minimal size.
This commit is contained in:
parent
fccee89b41
commit
48ab172bda
|
|
@ -25,8 +25,8 @@ it('should get the proper default viewport size', async ({ page, server }) => {
|
|||
|
||||
it('should set the proper viewport size', async ({ page, server }) => {
|
||||
await verifyViewport(page, 1280, 720);
|
||||
await page.setViewportSize({ width: 123, height: 456 });
|
||||
await verifyViewport(page, 123, 456);
|
||||
await page.setViewportSize({ width: 345, height: 456 });
|
||||
await verifyViewport(page, 345, 456);
|
||||
});
|
||||
|
||||
it('should return correct outerWidth and outerHeight', async ({ page }) => {
|
||||
|
|
|
|||
|
|
@ -473,8 +473,7 @@ test.describe('cli codegen', () => {
|
|||
});
|
||||
|
||||
test('should update active model on action', async ({ page, openRecorder, browserName, headless }) => {
|
||||
test.fixme(browserName === 'webkit' && headless);
|
||||
test.fixme(browserName === 'firefox' && headless);
|
||||
test.fixme(browserName !== 'chromium');
|
||||
|
||||
const recorder = await openRecorder();
|
||||
await recorder.setContentAndWait(`<input id="checkbox" type="checkbox" name="accept" onchange="checkbox.name='updated'"></input>`);
|
||||
|
|
|
|||
|
|
@ -109,8 +109,7 @@ it('should traverse only form elements', async function({ page, browserName, pla
|
|||
});
|
||||
|
||||
it('clicking checkbox should activate it', async ({ page, browserName, headless, platform }) => {
|
||||
it.fixme(browserName === 'webkit' && headless);
|
||||
it.fixme(browserName === 'firefox' && headless && platform === 'darwin');
|
||||
it.fixme(browserName !== 'chromium');
|
||||
|
||||
await page.setContent(`<input type=checkbox></input>`);
|
||||
await page.click('input');
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ it.describe('page screenshot', () => {
|
|||
it('should render white background on jpeg file', async ({ page, server, isElectron }) => {
|
||||
it.fixme(isElectron, 'omitBackground with jpeg does not work');
|
||||
|
||||
await page.setViewportSize({ width: 100, height: 100 });
|
||||
await page.setViewportSize({ width: 300, height: 300 });
|
||||
await page.goto(server.EMPTY_PAGE);
|
||||
const screenshot = await page.screenshot({ omitBackground: true, type: 'jpeg' });
|
||||
expect(screenshot).toMatchSnapshot('white.jpg');
|
||||
|
|
@ -314,7 +314,7 @@ it.describe('page screenshot', () => {
|
|||
it('path option should detect jpeg', async ({ page, server, isElectron }, testInfo) => {
|
||||
it.fixme(isElectron, 'omitBackground with jpeg does not work');
|
||||
|
||||
await page.setViewportSize({ width: 100, height: 100 });
|
||||
await page.setViewportSize({ width: 300, height: 300 });
|
||||
await page.goto(server.EMPTY_PAGE);
|
||||
const outputPath = testInfo.outputPath('screenshot.jpg');
|
||||
const screenshot = await page.screenshot({ omitBackground: true, path: outputPath });
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 911 B After Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 923 B After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 908 B After Width: | Height: | Size: 3.1 KiB |
Loading…
Reference in a new issue