Skip to content

Commit

Permalink
Let screenshots be on-demand only
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Oct 21, 2024
1 parent af14c0f commit 96a41cc
Show file tree
Hide file tree
Showing 28 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion examples/content-css-modules/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('https://extension.js.org/')
await page.waitForSelector('body > div.content_script')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/content-env/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('https://extension.js.org/')
await page.waitForSelector('body > div.content_script')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/content-esm/template.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('https://extension.js.org/')
await page.waitForSelector('body > div.content_script')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/content-extension-config/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ test('should load all images successfully', async ({page}) => {
await test.expect(results.every((result) => result)).toBeTruthy()
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('https://extension.js.org/')
await page.waitForSelector('body > div.content_script')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/content-less-modules/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('https://extension.js.org/')
await page.waitForSelector('body > div.content_script')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/content-less/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('https://extension.js.org/')
await page.waitForSelector('body > div.content_script')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/content-sass-modules/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('https://extension.js.org/')
await page.waitForSelector('body > div.content_script')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/content-sass/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('https://extension.js.org/')
await page.waitForSelector('body > div.content_script')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/content-typescript/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('https://extension.js.org/')
await page.waitForSelector('body > div.content_script')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/content/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('https://extension.js.org/')
await page.waitForSelector('body > div.content_script')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-config-babel/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-config-eslint/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-config-lint/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-config-prettier/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-config-stylelint/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-crypto/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-env/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-less/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-node-apis/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-preact/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-react-router/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-react/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-sass/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-svelte/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-tailwind/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(255, 255, 255)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-typescript/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new-vue/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down
2 changes: 1 addition & 1 deletion examples/new/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test('should exist a default color value', async ({page}) => {
await test.expect(color).toEqual('rgb(201, 201, 201)')
})

test('takes a screenshot of the page', async ({page}) => {
test.skip('takes a screenshot of the page', async ({page}) => {
await page.goto('chrome://newtab/')
await page.waitForSelector('h1')
await takeScreenshot(page, path.join(__dirname, 'screenshot.png'))
Expand Down

0 comments on commit 96a41cc

Please sign in to comment.