mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch '3.2.x'
* 3.2.x: [ticket/14488] Delete cookies to get correct session ID during login
This commit is contained in:
commit
d17257c346
1 changed files with 2 additions and 0 deletions
|
@ -424,6 +424,8 @@ class phpbb_ui_test_case extends phpbb_test_case
|
|||
$this->visit('ucp.php');
|
||||
$this->assertContains($this->lang('LOGIN_EXPLAIN_UCP'), self::$webDriver->getPageSource());
|
||||
|
||||
self::$webDriver->manage()->deleteAllCookies();
|
||||
|
||||
self::find_element('cssSelector', 'input[name=username]')->sendKeys($username);
|
||||
self::find_element('cssSelector', 'input[name=password]')->sendKeys($username . $username);
|
||||
self::find_element('cssSelector', 'input[name=login]')->click();
|
||||
|
|
Loading…
Add table
Reference in a new issue