File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,23 @@ test.describe('Blankslate', () => {
73
73
} )
74
74
75
75
// Default state
76
- expect ( await page . screenshot ( ) ) . toMatchSnapshot ( `Blankslate.styled-components. ${ story . title } .${ theme } .png` )
76
+ expect ( await page . screenshot ( ) ) . toMatchSnapshot ( `Blankslate.${ story . title } .${ theme } .png` )
77
77
} )
78
78
79
79
test ( 'axe @aat' , async ( { page} ) => {
80
+ await visit ( page , {
81
+ id : story . id ,
82
+ globals : {
83
+ colorScheme : theme ,
84
+ featureFlags : {
85
+ primer_react_css_modules : true ,
86
+ } ,
87
+ } ,
88
+ } )
89
+ await expect ( page ) . toHaveNoViolations ( )
90
+ } )
91
+
92
+ test ( 'axe (styled-components) @aat' , async ( { page} ) => {
80
93
await visit ( page , {
81
94
id : story . id ,
82
95
globals : {
@@ -123,7 +136,7 @@ test.describe('Blankslate', () => {
123
136
width,
124
137
height : 667 ,
125
138
} )
126
- expect ( await page . screenshot ( ) ) . toMatchSnapshot ( `Blankslate.styled-components. ${ story . title } .${ name } .png` )
139
+ expect ( await page . screenshot ( ) ) . toMatchSnapshot ( `Blankslate.${ story . title } .${ name } .png` )
127
140
} )
128
141
}
129
142
}
You can’t perform that action at this time.
0 commit comments