joomla-projects / GSOC-Webdriver_system_tests_for_CMS

[READ-ONLY] This repo is no longer in active development. Please see https://github.com/joomla/joomla-cms | REPOSITORY NOT ANYMORE IN USE, see readme
https://github.com/joomla-projects/GSOC-Webdriver_system_tests_for_CMS/blob/staging/README.md
GNU General Public License v2.0
0 stars 3 forks source link

Log with today's errors #111

Open javigomez opened 9 years ago

javigomez commented 9 years ago

Errors at a5b50dcd16a615af3e75078b5a9738488194e740

PHPUnit 4.4.1 by Sebastian Bergmann.

Configuration read from tests/system/webdriver/tests/phpunit.xml.dist

............................................EE. ............EEEE  63 / 184 ( 34%)
...EEEEEEEEEE......................................E.EE........ 126 / 184 ( 68%)
.........EEE...........................................F..

Time: 1.66 hours, Memory: 25.75Mb

There were 22 errors:

1) RedirectManager0002Test::setFilter_TestFilters_ShouldFilterRedirect
SeleniumClient\Http\SeleniumNoSuchElementException:  An element could not be located on the page using the given search parameters. Unable to locate element: {"method":"xpath","selector":"//thead//input[@name='checkall-toggle' or @name='toggle']"}
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.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.131', 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:73
tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26
tests/system/webdriver/SeleniumClient/WebDriver.php:350
tests/system/webdriver/Pages/System/AdminManagerPage.php:38
tests/system/webdriver/Pages/System/AdminManagerPage.php:304
tests/system/webdriver/tests/components/RedirectManager0002Test.php:134

2) RedirectManager0002Test::setFilter_TestFilters_ShouldFilterTags2
SeleniumClient\Http\SeleniumNoSuchElementException:  An element could not be located on the page using the given search parameters. Unable to locate element: {"method":"xpath","selector":"//thead//input[@name='checkall-toggle' or @name='toggle']"}
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.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.131', 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:73
tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26
tests/system/webdriver/SeleniumClient/WebDriver.php:350
tests/system/webdriver/Pages/System/AdminManagerPage.php:38
tests/system/webdriver/Pages/System/AdminManagerPage.php:304
tests/system/webdriver/tests/components/RedirectManager0002Test.php:172

3) ArticleManager0001Test::addArticle_WithFieldDefaults_ArticleAdded
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/content/ArticleManager0001Test.php:122

4) ArticleManager0001Test::addArticle_WithGivenFields_ArticleAdded
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/content/ArticleManager0001Test.php:144

5) ArticleManager0001Test::editArticle_ChangeFields_FieldsChanged
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/content/ArticleManager0001Test.php:169

6) ArticleManager0001Test::changeArticleState_ChangePublishedUsingToolbar_PublishedChanged
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/content/ArticleManager0001Test.php:186

7) ArticleManager0002Test::setFilter_SetFilterValues_ShouldExecuteFilter
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/content/ArticleManager0002Test.php:87

8) ArticleManager0002Test::setFilter_TestFilters_ShouldFilterTags
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/content/ArticleManager0002Test.php:111

9) ArticleManager0002Test::setFilter_TestFilters_ShouldFilterTags2
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/content/ArticleManager0002Test.php:150

10) ArticleManager0003Test::SiteArchivedArticle_ChangeToArchived_ArticleArchived
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/content/ArticleManager0003Test.php:79

11) ArticleManager0003Test::frontEndSingleArticleState_ChangeArticleState_ArticleStateChanged
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/content/ArticleManager0003Test.php:118

12) ArticleManager0003Test::batchAccessLevel_ChangeBatchAccessLevel_AccessLevelChanged
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/content/ArticleManager0003Test.php:182

13) ArticleManager0003Test::batchCopy_BatchCopyArticle_ArticleCopied
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/content/ArticleManager0003Test.php:207

14) ArticleManager0003Test::batchMove_BatchMoveArticle_ArticleMoved
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/content/ArticleManager0003Test.php:246

15) ArticleManager0003Test::frontEndEditArticle_ChangeArticleText_ArticleTextChanged
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/content/ArticleManager0003Test.php:278

16) ArticleManager0003Test::addArticle_FeaturedArticle_ArticleAdded
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/content/ArticleManager0003Test.php:330

17) 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

18) 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

19) 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

20) MenuItemsManager0002Test::addMenu_SingleArticle_MenuAdded
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/menus/MenuItemsManager0002Test.php:106

21) MenuItemsManager0002Test::addMenu_CategoryBlog_MenuAdded
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/menus/MenuItemsManager0002Test.php:177

22) MenuItemsManager0002Test::addMenu_CategoryList_MenuAdded
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/menus/MenuItemsManager0002Test.php:271

--

There was 1 failure:

1) ConfigFrontEnd0002Test::testChangeMetaDescription
Site Meta Description has not changed
Failed asserting that 'JoomlaTestMetaDescription' is not equal to <string:JoomlaTestMetaDescription>.

tests/system/webdriver/tests/services/ConfigFrontEnd0002Test.php:81

FAILURES!
Tests: 184, Assertions: 6259, Failures: 1, Errors: 22.

cc: @puneet0191 @kshitijSharma2014

javigomez commented 9 years ago

The recorded session: https://www.youtube.com/watch?v=3mYfnVDisio

kshitijSharma2014 commented 9 years ago

@puneet0191 @javigomez Result when I ran all the article tests:

C:\xampp\htdocs\gsoc\tests\system\webdriver\tests>phpunit content PHPUnit 3.7.32 by Sebastian Bergmann.

Configuration read from C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\phpuni t.xml.dist

.............EE....

Time: 1.22 hours, Memory: 16.25Mb

There were 2 errors:

1) ArticleManager0003Test::frontEndSingleArticleState_ChangeArticleState_Article StateChanged SeleniumClient\WebDriverWaitTimeoutException: Timeout for specified condition ca used by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: <By strategy: 'xpath', strategy factor '//input[@id='mod-search-searc hword']'>,<1>

C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebDriverWait.php:91 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebDriver.php:416 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\SiteContent\SitePage.php:88 C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\JoomlaWebdriverTestCase.php:83

C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\content\ArticleManager0003Test .php:133

2) ArticleManager0003Test::batchAccessLevel_ChangeBatchAccessLevel_AccessLevelCh anged SeleniumClient\Http\SeleniumNoSuchElementException: An element could not be loc ated on the page using the given search parameters. Unable to locate element: {" method":"xpath","selector":"//div[@id='toolbar-delete']/button"} For documentation on this error, please visit: http://seleniumhq.org/exceptions/ no_such_element.html Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33' System info: host: 'KSHITIJ', ip: '10.100.98.162', os.name: 'Windows 8.1', os.ar ch: 'amd64', os.version: '6.3', java.version: '1.8.0_25' Driver info: driver.version: unknown

C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\Http\SeleniumAdapter. php:73 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\Http\SeleniumAdapter. php:26 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebDriver.php:350 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminPage.php:227 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminManagerPage.php:31 0 C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\content\ArticleManager0003Test .php:190

FAILURES! Tests: 19, Assertions: 719, Errors: 2.

kshitijSharma2014 commented 9 years ago

@puneet0191 I don't know why the command on line 133 is bothering me so much. It is running successfully in your machine but in mine it gives an error. The second error is a server-side error, not a problem I think.

kshitijSharma2014 commented 9 years ago

@puneet0191 @javigomez Result when I ran ModuleManeger0002.php, menuitemsManager0002.php and configfrontEnd0002.php

C:\xampp\htdocs\gsoc\tests\system\webdriver\tests>phpunit error PHPUnit 3.7.32 by Sebastian Bergmann.

Configuration read from C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\phpuni t.xml.dist

.........E

Time: 1.63 hours, Memory: 17.50Mb

There was 1 error:

1) ModuleManager0002Test::addModule_MenuItemsCategoryBlog_ModuleAdded SeleniumClient\Http\SeleniumNoSuchElementException: An element could not be loc ated on the page using the given search parameters. Unable to locate element: {" method":"xpath","selector":"//div[@id='filter_published_chzn']/a"} For documentation on this error, please visit: http://seleniumhq.org/exceptions/ no_such_element.html Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33' System info: host: 'KSHITIJ', ip: '10.100.98.162', os.name: 'Windows 8.1', os.ar ch: 'amd64', os.version: '6.3', java.version: '1.8.0_25' Driver info: driver.version: unknown

C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\Http\SeleniumAdapter. php:73 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\Http\SeleniumAdapter. php:26 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebDriver.php:350 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminManagerPage.php:22 6 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminManagerPage.php:31 2 C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\error\ModuleManager0002Test.ph p:555

FAILURES! Tests: 10, Assertions: 1059, Errors: 1.