File tree Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 63
63
64
64
- name : Applitools
65
65
run : ' VRT_MODE=${{ env.VRT_MODE }} npx eyes-storybook'
66
- timeout-minutes : 30
66
+ timeout-minutes : 40
67
67
env :
68
68
NODE_OPTIONS : --openssl-legacy-provider # per https://candid.technology/error-error-0308010c-digital-envelope-routines-unsupported/
69
69
96
96
97
97
- name : Applitools
98
98
run : ' STORYBOOK_SLDS_VERSION=legacy npx eyes-storybook --conf applitools.legacy.config.js' # -u https://${REVIEW_APP_NAME}.herokuapp.com
99
- timeout-minutes : 30
99
+ timeout-minutes : 40
100
100
env :
101
101
NODE_OPTIONS : --openssl-legacy-provider # per https://candid.technology/error-error-0308010c-digital-envelope-routines-unsupported/
102
102
@@ -129,7 +129,7 @@ jobs:
129
129
130
130
- name : Applitools
131
131
run : ' STORYBOOK_SLDS_VERSION=mobile npx eyes-storybook --conf applitools.mobile.config.js' # -u https://${REVIEW_APP_NAME}.herokuapp.com
132
- timeout-minutes : 30
132
+ timeout-minutes : 40
133
133
env :
134
134
NODE_OPTIONS : --openssl-legacy-provider # per https://candid.technology/error-error-0308010c-digital-envelope-routines-unsupported/
135
135
Original file line number Diff line number Diff line change @@ -11,6 +11,34 @@ const storyOptions = {
11
11
isFullBleed : true
12
12
} ;
13
13
14
+ export const DynamicText = ( ) => {
15
+ return (
16
+ < div >
17
+ This text is dynamic and should be ignored:{ " " }
18
+ < span style = { { color : "red" } } className = "ignore-this" >
19
+ { Date . now ( ) }
20
+ </ span >
21
+ </ div >
22
+ ) ;
23
+ } ;
24
+
25
+ DynamicText . story = {
26
+ name : "Dynamic text with ignore region" ,
27
+ parameters : {
28
+ eyes : {
29
+ ignoreRegions : [
30
+ {
31
+ selector : ".ignore-this" ,
32
+ } ,
33
+ ] ,
34
+ scriptHooks : {
35
+ beforeCaptureScreenshot :
36
+ "document.querySelector('[data-testid=cancel-the-cancel] .eldyear3').style.overflow = 'visible';document.querySelector('[data-testid=cancel-the-cancel]').style.maxHeight = 'calc(100% - 16px)'" ,
37
+ } ,
38
+ } ,
39
+ } ,
40
+ } ;
41
+
14
42
generateStories (
15
43
patternName ,
16
44
examples ,
You can’t perform that action at this time.
0 commit comments