File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 37
37
- uses : int128/comment-action@v1
38
38
with :
39
39
post : |
40
- <img width="800" src="${{ steps.upload-artifact-wiki.outputs.url }}/cypress/screenshots/App.cy.tsx/App%20--%20mounts.png">
41
-
42
- <img width="800" src="${{ steps.upload-artifact-wiki.outputs.url }}/cypress/screenshots/App.cy.tsx/App%20--%20opens%20the%20bookmark%20editor.png">
40
+ <table>
41
+ <tr>
42
+ <td><img src="${{ steps.upload-artifact-wiki.outputs.url }}/cypress/screenshots/App.cy.tsx/App%20--%20mounts.png"></td>
43
+ <td><img src="${{ steps.upload-artifact-wiki.outputs.url }}/cypress/screenshots/App.cy.tsx/App%20--%20enables%20dark%20mode.png"></td>
44
+ </tr>
45
+ <tr>
46
+ <td><img src="${{ steps.upload-artifact-wiki.outputs.url }}/cypress/screenshots/App.cy.tsx/App%20--%20opens%20the%20bookmark%20editor.png"></td>
47
+ <td></td>
48
+ </tr>
49
+ </table>
Original file line number Diff line number Diff line change 1
1
import { defineConfig } from 'cypress'
2
2
3
- const width = 1200
4
- const height = width * ( 9 / 16 )
3
+ const width = 1280
4
+ const height = 800
5
5
6
6
export default defineConfig ( {
7
7
component : {
@@ -17,7 +17,7 @@ export default defineConfig({
17
17
// https://www.cypress.io/blog/2021/03/01/generate-high-resolution-videos-and-screenshots/
18
18
if ( browser . name === 'chrome' && browser . isHeadless ) {
19
19
launchOptions . args . push ( `--window-size=${ width } ,${ height } ` )
20
- launchOptions . args . push ( '--force-device-scale-factor=2 ' )
20
+ launchOptions . args . push ( '--force-device-scale-factor=1 ' )
21
21
}
22
22
return launchOptions
23
23
} )
You can’t perform that action at this time.
0 commit comments