test: disable certain screencast tests on Firefox. (#6396)
These were regressed by 934bc672f7
Tests link: https://devops.aslushnikov.com/flakiness2.html#commits=20×tamp=1620085865166
This commit is contained in:
parent
4e0e13cf05
commit
ce7a72b217
|
|
@ -157,7 +157,8 @@ it.describe('screencast', () => {
|
|||
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, isFirefox, isWindows}, testInfo) => {
|
||||
it.fail(isFirefox && isWindows);
|
||||
const videosPath = testInfo.outputPath('');
|
||||
const size = { width: 450, height: 240 };
|
||||
const context = await browser.newContext({
|
||||
|
|
@ -180,7 +181,8 @@ it.describe('screencast', () => {
|
|||
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, isFirefox, isWindows}, testInfo) => {
|
||||
it.fail(isFirefox && isWindows);
|
||||
const size = { width: 450, height: 240 };
|
||||
const context = await browser.newContext({
|
||||
recordVideo: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue