Skip to content

Commit 2d00c6d

Browse files
committed
Test some checkboxes after migration
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent e38239f commit 2d00c6d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/functional/functional_test.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)