@@ -156,7 +156,7 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
156156 test ( 'it collapses when the ESC key is pressed on narrow viewports' , async function ( assert ) {
157157 await render ( hbs `<Hds::AppSideNav id='test-app-side-nav' @breakpoint='10000px'>
158158 <span id='test-app-side-nav-body' />
159- <span class='hds-app-side-nav-hide-when-minimized' />
159+ <span class='hds-app-side-nav-- hide-when-minimized' />
160160</Hds::AppSideNav>` ) ;
161161 assert . dom ( '#test-app-side-nav' ) . hasClass ( 'hds-app-side-nav--is-minimized' ) ;
162162 await click ( '.hds-app-side-nav__toggle-button' ) ;
@@ -166,7 +166,7 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
166166
167167 await triggerKeyEvent ( '#test-app-side-nav' , 'keydown' , 'Escape' ) ;
168168 assert . dom ( '#test-app-side-nav' ) . hasClass ( 'hds-app-side-nav--is-minimized' ) ;
169- assert . dom ( '.hds-app-side-nav-hide-when-minimized' ) . hasAttribute ( 'inert' ) ;
169+ assert . dom ( '.hds-app-side-nav-- hide-when-minimized' ) . hasAttribute ( 'inert' ) ;
170170 } ) ;
171171
172172 // COLLAPSIBLE
@@ -191,7 +191,7 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
191191 test ( 'the "non-minimized" and "minimized" states have impact on its internal properties' , async function ( assert ) {
192192 await render ( hbs `<Hds::AppSideNav @isCollapsible={{true}} id='test-app-side-nav'>
193193 <span id='test-app-side-nav-body' />
194- <span class='hds-app-side-nav-hide-when-minimized' />
194+ <span class='hds-app-side-nav-- hide-when-minimized' />
195195</Hds::AppSideNav>` ) ;
196196 assert
197197 . dom ( '#test-app-side-nav' )
@@ -203,7 +203,7 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
203203 . dom ( '.hds-app-side-nav__toggle-button .hds-icon' )
204204 . hasClass ( 'hds-icon-chevrons-left' ) ;
205205 assert
206- . dom ( '.hds-app-side-nav-hide-when-minimized' )
206+ . dom ( '.hds-app-side-nav-- hide-when-minimized' )
207207 . doesNotHaveAttribute ( 'inert' ) ;
208208 assert . dom ( '#test-app-side-nav-body' ) . doesNotHaveAttribute ( 'inert' ) ;
209209 assert . dom ( 'body' , document ) . doesNotHaveStyle ( 'overflow' ) ;
@@ -217,7 +217,7 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
217217 assert
218218 . dom ( '.hds-app-side-nav__toggle-button .hds-icon' )
219219 . hasClass ( 'hds-icon-chevrons-right' ) ;
220- assert . dom ( '.hds-app-side-nav-hide-when-minimized' ) . hasAttribute ( 'inert' ) ;
220+ assert . dom ( '.hds-app-side-nav-- hide-when-minimized' ) . hasAttribute ( 'inert' ) ;
221221 assert . dom ( '#test-app-side-nav-body' ) . doesNotHaveAttribute ( 'inert' ) ;
222222 assert . dom ( 'body' , document ) . doesNotHaveStyle ( 'overflow' ) ;
223223 } ) ;
@@ -235,7 +235,7 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
235235 @onDesktopViewportChange={{this.onDesktopViewportChange}}
236236>
237237 <span id='test-app-side-nav-body' />
238- <span class='hds-app-side-nav-hide-when-minimized' />
238+ <span class='hds-app-side-nav-- hide-when-minimized' />
239239</Hds::AppSideNav>` ) ;
240240
241241 assert . strictEqual ( calls . length , 1 , 'called with initial viewport' ) ;
@@ -247,7 +247,7 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
247247 'resizing to mobile triggers a false event'
248248 ) ;
249249
250- assert . dom ( '.hds-app-side-nav-hide-when-minimized' ) . hasAttribute ( 'inert' ) ;
250+ assert . dom ( '.hds-app-side-nav-- hide-when-minimized' ) . hasAttribute ( 'inert' ) ;
251251 } ) ;
252252
253253 test ( 'when collapsed and the viewport changes from mobile to desktop, it automatically expands and is no longer inert' , async function ( assert ) {
@@ -263,19 +263,19 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
263263 @onDesktopViewportChange={{this.onDesktopViewportChange}}
264264>
265265 <span id='test-app-side-nav-body' />
266- <span class='hds-app-side-nav-hide-when-minimized' />
266+ <span class='hds-app-side-nav-- hide-when-minimized' />
267267</Hds::AppSideNav>` ) ;
268268
269269 await click ( '.hds-app-side-nav__toggle-button' ) ;
270- assert . dom ( '.hds-app-side-nav-hide-when-minimized' ) . hasAttribute ( 'inert' ) ;
270+ assert . dom ( '.hds-app-side-nav-- hide-when-minimized' ) . hasAttribute ( 'inert' ) ;
271271
272272 await this . changeBrowserSize ( false ) ;
273273 assert . deepEqual (
274274 calls [ 1 ] ,
275275 [ false ] ,
276276 'resizing to mobile triggers a false event'
277277 ) ;
278- assert . dom ( '.hds-app-side-nav-hide-when-minimized' ) . hasAttribute ( 'inert' ) ;
278+ assert . dom ( '.hds-app-side-nav-- hide-when-minimized' ) . hasAttribute ( 'inert' ) ;
279279
280280 await this . changeBrowserSize ( true ) ;
281281 assert . deepEqual (
@@ -284,7 +284,7 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
284284 'resizing to desktop triggers a true event'
285285 ) ;
286286 assert
287- . dom ( '.hds-app-side-nav-hide-when-minimized' )
287+ . dom ( '.hds-app-side-nav-- hide-when-minimized' )
288288 . doesNotHaveAttribute ( 'inert' ) ;
289289 assert . dom ( 'body' , document ) . doesNotHaveStyle ( 'overflow' ) ;
290290 } ) ;
@@ -302,7 +302,7 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
302302 @onDesktopViewportChange={{this.onDesktopViewportChange}}
303303>
304304 <span id='test-app-side-nav-body' />
305- <span class='hds-app-side-nav-hide-when-minimized' />
305+ <span class='hds-app-side-nav-- hide-when-minimized' />
306306</Hds::AppSideNav>` ) ;
307307 await this . changeBrowserSize ( false ) ;
308308 assert . deepEqual (
@@ -334,7 +334,7 @@ module('Integration | Component | hds/app-side-nav/index', function (hooks) {
334334 @onDesktopViewportChange={{this.onDesktopViewportChange}}
335335>
336336 <span id='test-app-side-nav-body' />
337- <span class='hds-app-side-nav-hide-when-minimized' />
337+ <span class='hds-app-side-nav-- hide-when-minimized' />
338338</Hds::AppSideNav><button id='button-2'>Click</button>` ) ;
339339
340340 await click ( '.hds-app-side-nav__toggle-button' ) ;
0 commit comments