File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,6 +72,12 @@ public function test_ucp_module()
7272
7373 $ this ->assertContainsLang ('NOTIFY_WEBPUSH_ENABLE ' , $ crawler ->filter ('label[for="subscribe_webpush"] ' )->text ());
7474 $ this ->assertContainsLang ('NOTIFICATION_METHOD_PHPBB_WPN_WEBPUSH ' , $ crawler ->filter ('th.mark ' )->eq (2 )->text ());
75+
76+ $ wp_list = $ crawler ->filter ('.table1 ' );
77+ $ this ->assert_checkbox_is_checked ($ wp_list , 'notification.type.quote_notification.method.phpbb.wpn.webpush ' );
78+ $ this ->assert_checkbox_is_checked ($ wp_list , 'notification.type.pm_notification.method.phpbb.wpn.webpush ' );
79+ $ this ->assert_checkbox_is_unchecked ($ wp_list , 'notification.type.bookmark_notification.method.phpbb.wpn.webpush ' );
80+ $ this ->assert_checkbox_is_unchecked ($ wp_list , 'notification.type.group_request_notification.method.phpbb.wpn.webpush ' );
7581 }
7682
7783 public function test_dropdown_subscribe_button ()
You can’t perform that action at this time.
0 commit comments