File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
__tests__/components/__snapshots__ Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ exports[`<Header /> component renders with DARK theme 1`] = `
168
168
>
169
169
<button
170
170
className = " c5"
171
+ data-cy = " js"
171
172
onClick = { [Function ]}
172
173
>
173
174
<svg
@@ -194,6 +195,7 @@ exports[`<Header /> component renders with DARK theme 1`] = `
194
195
</button >
195
196
<button
196
197
className = " c5"
198
+ data-cy = " mode"
197
199
onClick = { [Function ]}
198
200
>
199
201
<svg
@@ -399,6 +401,7 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
399
401
>
400
402
<button
401
403
className = " c5"
404
+ data-cy = " js"
402
405
onClick = { [Function ]}
403
406
>
404
407
<svg
@@ -425,6 +428,7 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
425
428
</button >
426
429
<button
427
430
className = " c5"
431
+ data-cy = " mode"
428
432
onClick = { [Function ]}
429
433
>
430
434
<svg
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ exports[`<Toggle /> renders JS toggle in DARK more 1`] = `
39
39
<div >
40
40
<button
41
41
className = " c0"
42
+ data-cy = " js"
42
43
onClick = { [Function ]}
43
44
>
44
45
<svg
@@ -105,6 +106,7 @@ exports[`<Toggle /> renders JS toggle in LIGHT more 1`] = `
105
106
<div >
106
107
<button
107
108
className = " c0"
109
+ data-cy = " js"
108
110
onClick = { [Function ]}
109
111
>
110
112
<svg
@@ -171,6 +173,7 @@ exports[`<Toggle /> renders the MODE toggle in DARK mode 1`] = `
171
173
<div >
172
174
<button
173
175
className = " c0"
176
+ data-cy = " mode"
174
177
onClick = { [Function ]}
175
178
>
176
179
<svg
@@ -231,6 +234,7 @@ exports[`<Toggle /> renders the MODE toggle in LIGHT mode 1`] = `
231
234
<div >
232
235
<button
233
236
className = " c0"
237
+ data-cy = " mode"
234
238
onClick = { [Function ]}
235
239
>
236
240
<svg
Original file line number Diff line number Diff line change 35
35
],
36
36
"testPathIgnorePatterns" : [
37
37
" <rootDir>/__tests__/config/" ,
38
- " <rootDir>/__tests__/helpers/"
38
+ " <rootDir>/__tests__/helpers/" ,
39
+ " <rootDir>/cypress/"
39
40
]
40
41
},
41
42
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments