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

Current status of tests #93

Open javigomez opened 9 years ago

javigomez commented 9 years ago

Configuration read from /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/phpunit.xml.dist

.............E.F........F.F.FF................F .F........F.F... 63 / 194 ( 32%) .....................F.....F.....FF............................ 126 / 194 ( 64%) EE..............E..EE...E..E.................................E. 189 / 194 ( 97%) .....

Time: 1.91 hours, Memory: 22.25Mb

There were 9 errors:

1) ContactManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected SeleniumClient\Http\SeleniumNoSuchElementException: An element could not be located on the page using the given search parameters. Unable to locate element: {"method":"xpath","selector":"//ul[@class='nav nav-tabs']//a[contains(@href, 'attrib-display')]"} 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: 'surfer-172-29-66-61-proxy.surfnet.iacbox', ip: '172.29.66.61', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.6.0_65' Driver info: driver.version: unknown

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:73 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebDriver.php:350 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminEditPage.php:91 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/components/ContactManager0001Test.php:77

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 '//a[contains(text(),'article_ABC11672926546')]'>,<1>

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebDriverWait.php:91 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebDriver.php:416 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/SiteContent/SiteContentFeaturedPage.php:164 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/extensions/ModuleManager0002Test.php:394

3) ModuleManager0002Test::addModule_MenuItemsCategoryBlog_ModuleAdded 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: 'surfer-172-29-66-61-proxy.surfnet.iacbox', ip: '172.29.66.61', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.6.0_65' Driver info: driver.version: unknown

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:83 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebDriver.php:562 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebElement.php:76 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminManagerPage.php:255 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminManagerPage.php:302 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/extensions/ModuleManager0002Test.php:546

4) MenuItemsManager0001Test::addMenuItem_CategoryBlog_MenuAdded SeleniumClient\Http\SeleniumNoSuchElementException: An element could not be located on the page using the given search parameters. Unable to locate element: {"method":"xpath","selector":"//ul[@class='nav nav-tabs']//a[contains(@href, 'attrib-metadata')]"} 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: 'surfer-172-29-66-61-proxy.surfnet.iacbox', ip: '172.29.66.61', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.6.0_65' Driver info: driver.version: unknown

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:73 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebDriver.php:350 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminEditPage.php:338 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminEditPage.php:356 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/Menus/MenuItemEditPage.php:275 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminEditPage.php:382 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:122 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/menus/MenuItemsManager0001Test.php:197

5) MenuItemsManager0002Test::addMenu_SingleArticle_MenuAdded 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: 'surfer-172-29-66-61-proxy.surfnet.iacbox', ip: '172.29.66.61', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.6.0_65' Driver info: driver.version: unknown

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:83 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebDriver.php:562 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebElement.php:76 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminManagerPage.php:255 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:110 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/menus/MenuItemsManager0002Test.php:117

6) MenuItemsManager0002Test::addMenu_CategoryBlog_MenuAdded SeleniumClient\Http\SeleniumNoSuchElementException: An element could not be located on the page using the given search parameters. Unable to locate element: {"method":"xpath","selector":"//ul[@class='nav nav-tabs']//a[contains(@href, 'attrib-metadata')]"} 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: 'surfer-172-29-66-61-proxy.surfnet.iacbox', ip: '172.29.66.61', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.6.0_65' Driver info: driver.version: unknown

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:73 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebDriver.php:350 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminEditPage.php:338 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminEditPage.php:356 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/Menus/MenuItemEditPage.php:275 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminEditPage.php:382 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:122 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/menus/MenuItemsManager0002Test.php:195

7) MenuItemsManager0003Test::addMenu_ListAllContactCategories_MenuAdded SeleniumClient\Http\SeleniumNoSuchElementException: An element could not be located on the page using the given search parameters. Unable to locate element: {"method":"xpath","selector":"//ul[@class='nav nav-tabs']//a[contains(@href, 'attrib-metadata')]"} 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: 'surfer-172-29-66-61-proxy.surfnet.iacbox', ip: '172.29.66.61', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.6.0_65' Driver info: driver.version: unknown

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:73 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebDriver.php:350 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminEditPage.php:338 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminEditPage.php:356 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/Menus/MenuItemEditPage.php:275 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminEditPage.php:382 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:122 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/menus/MenuItemsManager0003Test.php:268

8) MenuItemsManager0004Test::addMenuItem_SingleNewsFeed_MenuItemAdded 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: 'surfer-172-29-66-61-proxy.surfnet.iacbox', ip: '172.29.66.61', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.6.0_65' Driver info: driver.version: unknown

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:83 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebDriver.php:562 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebElement.php:76 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminManagerPage.php:255 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:181 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/menus/MenuItemsManager0004Test.php:143

9) UserNotesManager0001Test::addUserNotes_WithGivenFields_UserNotesAdded 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_users&view=notes']'>,<1>

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebDriverWait.php:91 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/SeleniumClient/WebDriver.php:416 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminManagerPage.php:261 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/System/AdminManagerPage.php:312 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/users/UserNotesManager0001Test.php:152

There were 13 failures:

1) ContactManager0001Test::getTabIds_ScreenDisplayed_EqualExpected Contact labels should match expected values. Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => 'details' 1 => 'misc' 2 => 'publishing'

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/components/ContactManager0001Test.php:111

2) NewsFeedManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ 10 => Array (

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/components/NewsFeedManager0001Test.php:79

3) NewsFeedManager0001Test::getTabIds_ScreenDisplayed_EqualExpected Tab labels should match expected values. Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => 'details' 1 => 'images' 2 => 'publishing' 3 => 'attrib-jbasic'

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/components/NewsFeedManager0001Test.php:111

4) NewsFeedManager0001Test::addFeed_WithGivenFields_FeedAdded Actual name, caption should match expected Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => 'Test_Feed1411911701'

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/components/NewsFeedManager0001Test.php:160

5) NewsFeedManager0001Test::editFeed_ChangeFields_FieldsChanged Actual values should match expected Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array (

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/components/NewsFeedManager0001Test.php:187

6) TagManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ 18 => Array (

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/components/TagManager0001Test.php:81

7) TagManager0001Test::getTabIds_ScreenDisplayed_EqualExpected Tab labels should match expected values. Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => 'details' 1 => 'publishing' 2 => 'attrib-basic' 3 => 'attrib-images'

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/components/TagManager0001Test.php:118

8) WeblinkManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ 31 => Array (

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/components/WeblinkManager0001Test.php:79

9) WeblinkManager0001Test::getTabIds_ScreenDisplayed_EqualExpected Weblink labels should match expected values. Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => 'details' 1 => 'images' 2 => 'publishing' 3 => 'attrib-jbasic'

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/components/WeblinkManager0001Test.php:111

10) ArticleManager0003Test::frontEndEditArticle_ChangeArticleText_ArticleTextChanged URL for page does not match expected value. Failed asserting that 'http://localhost/repos/joomla-cms/?view=form&layout=edit&a_id=87&return=aHR0cDovL2xvY2FsaG9zdC9yZXBvcy9qb29tbGEtY21zL2luZGV4LnBocA==' contains "/index.php/component/content/?view=form&layout=edit&a_id=".

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/Pages/SiteContent/SitePage.php:92 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/JoomlaWebdriverTestCase.php:83 /Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/content/ArticleManager0003Test.php:285

11) CategoryManager0003Test::getAllInputFields_ScreenDisplayed_EqualExpected Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ 18 => Array (

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/content/CategoryManager0003Test.php:80

12) CategoryManager0004Test::frontEndCategoryChange_ChangeCategoryState_CategoryStateChanged Article Must be present Failed asserting that false is true.

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/content/CategoryManager0004Test.php:76

13) CategoryManager0004Test::frontEndCategoryState_StateChangedToArchived_StateChanged Article Must be present Failed asserting that false is true.

/Applications/XAMPP/xamppfiles/htdocs/repos/joomla-cms/tests/system/webdriver/tests/content/CategoryManager0004Test.php:125

FAILURES! Tests: 194, Assertions: 7163, Failures: 13, Errors: 9. logout

[Process completed]

puneet0191 commented 9 years ago

@javigomez We can close this, wrong results because of a wrong merge on Staging branch of Joomla-CMS