File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,11 @@ jobs:
67
67
matrix :
68
68
browser : [firefox, chrome, electron]
69
69
os : [ubuntu-latest]
70
- # TODO: re-enable once macos build is stable #590
71
- # include:
72
- # - os: macos-latest
73
- # browser: edge
70
+ include :
71
+ - os : macos-latest
72
+ browser : webkit
73
+ - os : windows-latest
74
+ browser : edge
74
75
env :
75
76
COVERAGE : true
76
77
steps :
83
84
node-version : ' lts/*'
84
85
cache : yarn
85
86
87
+ - name : Install WebKit support
88
+ if : matrix.browser == 'webkit'
89
+ run : yarn add playwright-webkit --dev --mode=update-lockfile
90
+
86
91
- name : Test (E2E)
87
92
uses : cypress-io/github-action@v6
88
93
env :
@@ -95,10 +100,14 @@ jobs:
95
100
browser : ${{ matrix.browser }}
96
101
97
102
- name : Test (component)
103
+ # Component tests on webkit hang for some reason
104
+ if : matrix.browser != 'webkit'
98
105
uses : cypress-io/github-action@v6
99
106
with :
100
107
component : true
101
108
browser : ${{ matrix.browser }}
109
+ # already installed in E2E step
110
+ install : false
102
111
103
112
- name : Upload screenshots
104
113
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -60,4 +60,5 @@ module.exports = defineConfig({
60
60
} ,
61
61
62
62
morgan : false , // Disable XHR logging as it's very noisy
63
+ experimentalWebKitSupport : true ,
63
64
} )
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ describe('User Profile', () => {
144
144
. get ( '.node-data-cycle' )
145
145
. then ( ( $els ) => {
146
146
expect (
147
- Array . from ( $els , ( el ) => el . innerText )
147
+ Array . from ( $els , ( el ) => el . innerText . trim ( ) )
148
148
) . to . deep . equal ( expected )
149
149
} )
150
150
}
You can’t perform that action at this time.
0 commit comments