Open puneet0191 opened 9 years ago
for Modules0001:
$ php ./phpunit.phar extensions/ModuleManager0001Test.php
PHPUnit 4.4.1 by Sebastian Bergmann.
Configuration read from tests/system/webdriver/tests/phpunit.xml.dist
......E.
Time: 3.6 minutes, Memory: 9.00Mb
There was 1 error:
1) ModuleManager0001Test::editModule_ChangeFields_FieldsChanged
SeleniumClient\Http\SeleniumStaleElementReferenceException: An element command failed because the referenced element is no longer attached to the DOM. Element is no longer attached to the DOM
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33'
System info: host: 'JAVI.local', ip: '192.168.1.129', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.1', java.version: '1.6.0_65'
Driver info: driver.version: unknown
tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:83
tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26
tests/system/webdriver/SeleniumClient/WebDriver.php:562
tests/system/webdriver/SeleniumClient/WebElement.php:76
tests/system/webdriver/Pages/System/AdminManagerPage.php:255
tests/system/webdriver/Pages/System/AdminManagerPage.php:312
tests/system/webdriver/tests/extensions/ModuleManager0001Test.php:209
FAILURES!
Tests: 8, Assertions: 239, Errors: 1.
cc: @puneet0191, @kshitijSharma2014
In modules 0002:
$ php ./phpunit.phar extensions/ModuleManager0002Test.php
PHPUnit 4.4.1 by Sebastian Bergmann.
Configuration read from tests/system/webdriver/tests/phpunit.xml.dist
.E.EE
Time: 6.59 minutes, Memory: 11.50Mb
There were 3 errors:
1) ModuleManager0002Test::addModule_ArticleCategories_ModuleAdded_2
SeleniumClient\WebDriverWaitTimeoutException: Timeout for specified condition caused by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: <By strategy: 'xpath', strategy factor '//ul/li/a[@href='index.php?option=com_content']'>,<1>
tests/system/webdriver/SeleniumClient/WebDriverWait.php:91
tests/system/webdriver/SeleniumClient/WebDriver.php:416
tests/system/webdriver/Pages/System/AdminPage.php:189
tests/system/webdriver/tests/JoomlaWebdriverTestCase.php:83
tests/system/webdriver/Pages/Content/ArticleManagerPage.php:107
tests/system/webdriver/tests/extensions/ModuleManager0002Test.php:176
2) ModuleManager0002Test::addModule_MenuItemSingleArticle_ModuleAdded
SeleniumClient\WebDriverWaitTimeoutException: Timeout for specified condition caused by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: <By strategy: 'xpath', strategy factor '//ul/li/a[@href='index.php?option=com_content']'>,<1>
tests/system/webdriver/SeleniumClient/WebDriverWait.php:91
tests/system/webdriver/SeleniumClient/WebDriver.php:416
tests/system/webdriver/Pages/System/AdminPage.php:189
tests/system/webdriver/tests/JoomlaWebdriverTestCase.php:83
tests/system/webdriver/Pages/Content/ArticleManagerPage.php:107
tests/system/webdriver/tests/extensions/ModuleManager0002Test.php:338
3) ModuleManager0002Test::addModule_MenuItemsCategoryBlog_ModuleAdded
SeleniumClient\WebDriverWaitTimeoutException: Timeout for specified condition caused by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: <By strategy: 'xpath', strategy factor '//ul/li/a[@href='index.php?option=com_content']'>,<1>
tests/system/webdriver/SeleniumClient/WebDriverWait.php:91
tests/system/webdriver/SeleniumClient/WebDriver.php:416
tests/system/webdriver/Pages/System/AdminPage.php:189
tests/system/webdriver/tests/JoomlaWebdriverTestCase.php:83
tests/system/webdriver/Pages/Content/ArticleManagerPage.php:107
tests/system/webdriver/tests/extensions/ModuleManager0002Test.php:468
FAILURES!
Tests: 5, Assertions: 282, Errors: 3.
@javigomez Can you please run the tests ModuleManager0001Test.php, ModuleManager0002Test.php and paste the result for the execution, me and @kshitijSharma2014 are getting different errors and we can't finalize the exact problem for this issue.