aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ui/permission_roles_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-02-17 14:11:27 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-02-18 11:22:02 +0100
commit7d41fe01362d7752ca64981791b56b5133d39848 (patch)
tree91b7fac8a27395707884485c11948b43359196ba /tests/ui/permission_roles_test.php
parent7c96d0abcd2b41b0c76396a10da92dc94b5274bb (diff)
downloadforums-7d41fe01362d7752ca64981791b56b5133d39848.tar
forums-7d41fe01362d7752ca64981791b56b5133d39848.tar.gz
forums-7d41fe01362d7752ca64981791b56b5133d39848.tar.bz2
forums-7d41fe01362d7752ca64981791b56b5133d39848.tar.xz
forums-7d41fe01362d7752ca64981791b56b5133d39848.zip
[ticket/14315] Properly get sid from cookies and simplify take_screenshot
PHPBB3-14315
Diffstat (limited to 'tests/ui/permission_roles_test.php')
-rw-r--r--tests/ui/permission_roles_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/permission_roles_test.php b/tests/ui/permission_roles_test.php
index 3bc35c5b68..3501124fc1 100644
--- a/tests/ui/permission_roles_test.php
+++ b/tests/ui/permission_roles_test.php
@@ -19,7 +19,6 @@ class ui_permission_roles_test extends phpbb_ui_test_case
public function test_permission_roles()
{
- $this->logout();
$this->login();
$this->admin_login();
$this->add_lang('acp/permissions');
@@ -28,6 +27,7 @@ class ui_permission_roles_test extends phpbb_ui_test_case
// Select forums
$elements = self::find_element('cssSelector', 'select#forum')
->findElements(\Facebook\WebDriver\WebDriverBy::tagName('option'));
+
foreach ($elements as $element)
{
$element->click();