mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
tests: disable video tests on Firefox + Tracing (#10096)
This commit is contained in:
parent
d336f18166
commit
fd2bbe0c1a
@ -159,7 +159,8 @@ it.describe('screencast', () => {
|
|||||||
expect(error.message).toContain('"videoSize" option requires "videosPath" to be specified');
|
expect(error.message).toContain('"videoSize" option requires "videosPath" to be specified');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should work with old options', async ({ browser }, testInfo) => {
|
it('should work with old options', async ({ browser, browserName }, testInfo) => {
|
||||||
|
it.fixme(browserName === 'firefox' && !!process.env.PWTEST_TRACE, 'https://github.com/microsoft/playwright/issues/10060');
|
||||||
const videosPath = testInfo.outputPath('');
|
const videosPath = testInfo.outputPath('');
|
||||||
const size = { width: 450, height: 240 };
|
const size = { width: 450, height: 240 };
|
||||||
const context = await browser.newContext({
|
const context = await browser.newContext({
|
||||||
@ -182,7 +183,8 @@ it.describe('screencast', () => {
|
|||||||
expect(error.message).toContain('recordVideo.dir: expected string, got undefined');
|
expect(error.message).toContain('recordVideo.dir: expected string, got undefined');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should capture static page', async ({ browser }, testInfo) => {
|
it('should capture static page', async ({ browser, browserName }, testInfo) => {
|
||||||
|
it.fixme(browserName === 'firefox' && !!process.env.PWTEST_TRACE, 'https://github.com/microsoft/playwright/issues/10060');
|
||||||
const size = { width: 450, height: 240 };
|
const size = { width: 450, height: 240 };
|
||||||
const context = await browser.newContext({
|
const context = await browser.newContext({
|
||||||
recordVideo: {
|
recordVideo: {
|
||||||
@ -307,7 +309,8 @@ it.describe('screencast', () => {
|
|||||||
expect(fs.existsSync(path)).toBeTruthy();
|
expect(fs.existsSync(path)).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should capture navigation', async ({ browser, server }, testInfo) => {
|
it('should capture navigation', async ({ browser, browserName, server }, testInfo) => {
|
||||||
|
it.fixme(browserName === 'firefox' && !!process.env.PWTEST_TRACE, 'https://github.com/microsoft/playwright/issues/10060');
|
||||||
const context = await browser.newContext({
|
const context = await browser.newContext({
|
||||||
recordVideo: {
|
recordVideo: {
|
||||||
dir: testInfo.outputPath(''),
|
dir: testInfo.outputPath(''),
|
||||||
@ -341,6 +344,7 @@ it.describe('screencast', () => {
|
|||||||
it('should capture css transformation', async ({ browser, server, headless, browserName, platform }, testInfo) => {
|
it('should capture css transformation', async ({ browser, server, headless, browserName, platform }, testInfo) => {
|
||||||
it.fixme(!headless, 'Fails on headed');
|
it.fixme(!headless, 'Fails on headed');
|
||||||
it.fixme(browserName === 'webkit' && platform === 'win32');
|
it.fixme(browserName === 'webkit' && platform === 'win32');
|
||||||
|
it.fixme(browserName === 'firefox' && !!process.env.PWTEST_TRACE, 'https://github.com/microsoft/playwright/issues/10060');
|
||||||
|
|
||||||
const size = { width: 320, height: 240 };
|
const size = { width: 320, height: 240 };
|
||||||
// Set viewport equal to screencast frame size to avoid scaling.
|
// Set viewport equal to screencast frame size to avoid scaling.
|
||||||
@ -368,7 +372,8 @@ it.describe('screencast', () => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should work for popups', async ({ browser, server }, testInfo) => {
|
it('should work for popups', async ({ browser, server, browserName }, testInfo) => {
|
||||||
|
it.fixme(browserName === 'firefox' && !!process.env.PWTEST_TRACE, 'https://github.com/microsoft/playwright/issues/10060');
|
||||||
const videosPath = testInfo.outputPath('');
|
const videosPath = testInfo.outputPath('');
|
||||||
const size = { width: 450, height: 240 };
|
const size = { width: 450, height: 240 };
|
||||||
const context = await browser.newContext({
|
const context = await browser.newContext({
|
||||||
@ -398,8 +403,9 @@ it.describe('screencast', () => {
|
|||||||
expect(videoFiles.length).toBe(2);
|
expect(videoFiles.length).toBe(2);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should scale frames down to the requested size ', async ({ browser, server, headless }, testInfo) => {
|
it('should scale frames down to the requested size ', async ({ browser, browserName, server, headless }, testInfo) => {
|
||||||
it.fixme(!headless, 'Fails on headed');
|
it.fixme(!headless, 'Fails on headed');
|
||||||
|
it.fixme(browserName === 'firefox' && !!process.env.PWTEST_TRACE, 'https://github.com/microsoft/playwright/issues/10060');
|
||||||
|
|
||||||
const context = await browser.newContext({
|
const context = await browser.newContext({
|
||||||
recordVideo: {
|
recordVideo: {
|
||||||
@ -502,7 +508,8 @@ it.describe('screencast', () => {
|
|||||||
expect(videoPlayer.videoHeight).toBe(600);
|
expect(videoPlayer.videoHeight).toBe(600);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should capture static page in persistent context', async ({ launchPersistent }, testInfo) => {
|
it('should capture static page in persistent context', async ({ launchPersistent, browserName }, testInfo) => {
|
||||||
|
it.fixme(browserName === 'firefox' && !!process.env.PWTEST_TRACE, 'https://github.com/microsoft/playwright/issues/10060');
|
||||||
const size = { width: 320, height: 240 };
|
const size = { width: 320, height: 240 };
|
||||||
const { context, page } = await launchPersistent({
|
const { context, page } = await launchPersistent({
|
||||||
recordVideo: {
|
recordVideo: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user