File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
spec/system/page_objects/modals
test/javascripts/acceptance Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ def note=(note)
19
19
end
20
20
21
21
def confirm
22
- find ( ".modal-footer .btn-primary" ) . click
22
+ find ( ".d-modal__footer .btn-primary" ) . click
23
23
end
24
24
end
25
25
end
Original file line number Diff line number Diff line change @@ -262,13 +262,13 @@ acceptance("Discourse Assign | user menu", function (needs) {
262
262
assert . false ( markRead , "mark-read request isn't sent" ) ;
263
263
assert . strictEqual (
264
264
query (
265
- ".dismiss-notification-confirmation .modal-body "
265
+ ".dismiss-notification-confirmation .d-modal__body "
266
266
) . textContent . trim ( ) ,
267
267
I18n . t ( "notifications.dismiss_confirmation.body.assigns" , { count : 173 } ) ,
268
268
"dismiss confirmation modal is shown"
269
269
) ;
270
270
271
- await click ( ".modal-footer .btn-primary" ) ;
271
+ await click ( ".d-modal__footer .btn-primary" ) ;
272
272
assert . true ( markRead , "mark-read request is sent" ) ;
273
273
assert . dom ( ".notifications-dismiss" ) . doesNotExist ( "dismiss button is gone" ) ;
274
274
assert
@@ -312,7 +312,7 @@ acceptance("Discourse Assign | user menu", function (needs) {
312
312
await click ( ".notifications-dismiss" ) ;
313
313
assert . false ( markRead , "a request to the server is not made" ) ;
314
314
assert
315
- . dom ( ".dismiss-notification-confirmation .modal-body " )
315
+ . dom ( ".dismiss-notification-confirmation .d-modal__body " )
316
316
. exists ( "the dismiss notification confirmation modal is present" ) ;
317
317
} ) ;
318
318
} ) ;
You can’t perform that action at this time.
0 commit comments