Open puneet0191 opened 9 years ago
@javigomez I have updated the branch, and this is the result to the suite exectiion, can you try and execute on your machine so that we can confirm the issues.
This is my results @puneet0191 and @kshitijSharma2014 :+1:
phpunit --verbose
PHPUnit 3.7.29 by Sebastian Bergmann.
Configuration read from /tests/system/webdriver/tests/phpunit.xml.dist
............................................EE. ...............E 63 / 184 ( 34%)
............................................................... 126 / 184 ( 68%)
.......................................................F..
Time: 1.85 hours, Memory: 22.00Mb
There were 3 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.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: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.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: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::changeArticleState_ChangePublishedUsingToolbar_PublishedChanged
Undefined variable: resultObject
/tests/system/webdriver/SeleniumClient/WebDriverWait.php:62
/tests/system/webdriver/SeleniumClient/WebDriver.php:416
/tests/system/webdriver/Pages/System/AdminManagerPage.php:261
/tests/system/webdriver/Pages/System/AdminManagerPage.php:308
/tests/system/webdriver/tests/content/ArticleManager0001Test.php:192
--
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: 7518, Failures: 1, Errors: 3.
@javigomez The errors in Redirect Manager is a bug and has been reported as github issues, verified by few developers, I am not sure when it is going to be fixed. I think we are in a very good place as of now...what do you think Time to merge it?
adding the issue https://github.com/joomla/joomla-cms/issues/5659 for contextualisation
Thanks to the fix provided by @thebeuving at https://github.com/joomla/joomla-cms/pull/5972 the test pass:
phpunit --verbose components/RedirectManager0002Test.php
PHPUnit 3.7.29 by Sebastian Bergmann.
Configuration read from /Users/javiergomez/Documents/joomla-vagrant/www/repos/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/phpunit.xml.dist
....
Time: 2.59 minutes, Memory: 4.75Mb
OK (4 tests, 160 assertions)
great!, I see the PR is still open...Do u think we should wait?
Updated and merged
Next error is the one affecting frontend config:
phpunit --verbose services/ConfigFrontEnd0002Test.php
PHPUnit 3.7.29 by Sebastian Bergmann.
Configuration read from REDSHOPtests/system/webdriver/tests/phpunit.xml.dist
F
Time: 17.19 seconds, Memory: 5.75Mb
There was 1 failure:
1) ConfigFrontEnd0002Test::testChangeMetaDescription
Site Meta Description has not changed
Failed asserting that 'JoomlaTestMetaDescription' is not equal to <string:JoomlaTestMetaDescription>.
REDSHOPtests/system/webdriver/tests/services/ConfigFrontEnd0002Test.php:81
FAILURES!
Tests: 1, Assertions: 19, Failures: 1.
I have recorded a video of the issue: http://www.youtube.com/watch?v=IplPAInAANw @puneet0191 @kshitijSharma2014 do you mind checking?
@javigomez I will check on my machine once, not sure what is the problem in the test
@puneet0191 @javigomez I am also getting this failure.
@javigomez @kshitijSharma2014 If that is the case, can we create an issue? may be it is OS specific issue, we all work on different OS's for me doesn't fail in Ubuntu
regarding the error at articles I haven't found anything #114
Updating the Error Log, Suite Executed on 1st Feb, 2015.
Configuration read from /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/phpunit.xml.dist
............................................EE. ................ 63 / 184 ( 34%) ...............................................EE.............. 126 / 184 ( 68%) .......E.........EE...................................F...
Time: 1.91 hours, Memory: 17.75Mb
There were 7 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.44.0', revision: '76d78cf', time: '2014-10-23 20:02:37' System info: host: 'puneet-ThinkPad-T430', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'i386', os.version: '3.16.0-29-generic', java.version: '1.7.0_75' Driver info: driver.version: unknown
/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:73 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/WebDriver.php:350 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:38 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:304 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/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.44.0', revision: '76d78cf', time: '2014-10-23 20:02:37' System info: host: 'puneet-ThinkPad-T430', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'i386', os.version: '3.16.0-29-generic', java.version: '1.7.0_75' Driver info: driver.version: unknown
/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:73 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/WebDriver.php:350 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:38 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:304 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/components/RedirectManager0002Test.php:172
3) ModuleManager0001Test::addModule_WithGivenFields_ModuleAdded SeleniumClient\Http\SeleniumNoSuchElementException: An element could not be located on the page using the given search parameters. Unable to locate element: {"method":"xpath","selector":"//tbody/tr/td//a[contains(text(), 'Module104493261')]"} For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.44.0', revision: '76d78cf', time: '2014-10-23 20:02:37' System info: host: 'puneet-ThinkPad-T430', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'i386', os.version: '3.16.0-29-generic', java.version: '1.7.0_75' Driver info: driver.version: unknown
/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:73 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/WebDriver.php:350 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:50 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:61 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/Extensions/ModuleManagerPage.php:174 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/extensions/ModuleManager0001Test.php:165
4) ModuleManager0001Test::editModule_ChangeFields_FieldsChanged SeleniumClient\Http\SeleniumNoSuchElementException: An element could not be located on the page using the given search parameters. Unable to locate element: {"method":"xpath","selector":"//tbody/tr/td//a[contains(text(), 'Module1224785145')]"} For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.44.0', revision: '76d78cf', time: '2014-10-23 20:02:37' System info: host: 'puneet-ThinkPad-T430', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'i386', os.version: '3.16.0-29-generic', java.version: '1.7.0_75' Driver info: driver.version: unknown
/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:73 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/WebDriver.php:350 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:50 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:61 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/Extensions/ModuleManagerPage.php:174 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/extensions/ModuleManager0001Test.php:198
5) MenuItemsManager0001Test::editMenuItem_ChangeFields_FieldsChanged SeleniumClient\Http\SeleniumNoSuchElementException: An element could not be located on the page using the given search parameters. Unable to locate element: {"method":"xpath","selector":"//tbody/tr/td//a[contains(text(), 'Menu Item 397251981')]"} For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.44.0', revision: '76d78cf', time: '2014-10-23 20:02:37' System info: host: 'puneet-ThinkPad-T430', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'i386', os.version: '3.16.0-29-generic', java.version: '1.7.0_75' Driver info: driver.version: unknown
/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:73 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/WebDriver.php:350 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:50 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:139 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/menus/MenuItemsManager0001Test.php:237
6) MenuItemsManager0004Test::addMenuItem_SingleNewsFeed_MenuItemAdded 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(),'Joomla! Connect')]'>,<1>
/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/WebDriverWait.php:91 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/WebDriver.php:416 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/SiteContent/SiteContentFeaturedPage.php:164 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/menus/MenuItemsManager0004Test.php:139
7) MenuItemsManager0004Test::addMenuItem_ListAllNewsFeedCategory_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":"//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.44.0', revision: '76d78cf', time: '2014-10-23 20:02:37' System info: host: 'puneet-ThinkPad-T430', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'i386', os.version: '3.16.0-29-generic', java.version: '1.7.0_75' Driver info: driver.version: unknown
/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:73 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/Http/SeleniumAdapter.php:26 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/WebDriver.php:350 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:38 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:177 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/menus/MenuItemsManager0004Test.php:217
There was 1 failure:
1) ConfigFrontEnd0001Test::testChangeSiteName Site name has changed Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'Joomla Testing' +'Joomla'
/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/services/ConfigFrontEnd0001Test.php:72
FAILURES! Tests: 184, Assertions: 7413, Failures: 1, Errors: 7.