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 Error's 5th Feb, 2015 #116

Open puneet0191 opened 9 years ago

puneet0191 commented 9 years ago

@javigomez @kshitijSharma2014 What I told you....was true :stuck_out_tongue: PHPUnit 4.4.0 by Sebastian Bergmann.

Configuration read from /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/phpunit.xml.dist

.F........EF.F..........F.....................F ........E....... 63 / 184 ( 34%) .................F.............F............F..EE.............. 126 / 184 ( 68%) ...F...E.........EEE.F.................F.............EFF..

Time: 1.84 hours, Memory: 18.75Mb

There were 9 errors:

1) BannerManager0002Test::setFilter_TestFilters_ShouldFilterBanners 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.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:83 /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:562 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/SeleniumClient/WebElement.php:76 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:255 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:302 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/components/BannerManager0002Test.php:133

2) TagManager0002Test::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 '//h1[contains(., 'Control Panel')]'>,<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/System/AdminPage.php:189 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/JoomlaWebdriverTestCase.php:83 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminLoginPage.php:28 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/JoomlaWebdriverTestCase.php:97 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/components/TagManager0002Test.php:46

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(), 'Module519410207')]"} 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(), 'Module301565908')]"} 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\WebDriverWaitTimeoutException: Timeout for specified condition caused by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: <By strategy: 'xpath', strategy factor '//a[contains(@class, 'accordion-toggle')][contains(., 'Newsfeeds')]'>,<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/Menus/MenuItemEditPage.php:293 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:113 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/menus/MenuItemsManager0001Test.php:231

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(@class, 'accordion-toggle')][contains(., 'Newsfeeds')]'>,<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/Menus/MenuItemEditPage.php:293 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:113 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/menus/MenuItemsManager0004Test.php:127

7) MenuItemsManager0004Test::addMenuItem_ListAllNewsFeedCategory_MenuAdded SeleniumClient\WebDriverWaitTimeoutException: Timeout for specified condition caused by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: <By strategy: 'xpath', strategy factor '//a[contains(@class, 'accordion-toggle')][contains(., 'Newsfeeds')]'>,<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/Menus/MenuItemEditPage.php:293 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:113 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/menus/MenuItemsManager0004Test.php:194

8) MenuItemsManager0004Test::addMenuItem_ListNewsFeedCategory_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(@class, 'accordion-toggle')][contains(., 'Newsfeeds')]'>,<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/Menus/MenuItemEditPage.php:293 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:113 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/menus/MenuItemsManager0004Test.php:275

9) UserNotesManager0001Test::setFilter_TestOrdering_ShouldOrderNotes SeleniumClient\Http\SeleniumNoSuchElementException: An element could not be located on the page using the given search parameters. Unable to locate element: {"method":"xpath","selector":"//div[@id='list_fullordering_chzn' or @id='sortTable_chzn']//ul[@class='chzn-results']/li[contains(.,'Review date')]"} 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:270 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/Pages/System/AdminManagerPage.php:160 /home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/users/UserNotesManager0001Test.php:262

There were 13 failures:

1) BannerManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ 24 => Array (

@@ @@ 27 => Array (

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/components/BannerManager0001Test.php:80

2) BannerManager0002Test::setFilter_TestFilters_ShouldFilterTags2 Initial state should be published Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'published' +'unpublished'

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/components/BannerManager0002Test.php:157

3) ContactManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ 9 => Array (

@@ @@ 28 => Array (

@@ @@ 32 => Array (

@@ @@ 42 => Array (

@@ @@ 53 => Array (

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/components/ContactManager0001Test.php:79

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

@@ @@ 12 => Array (

@@ @@ 14 => Array (

@@ @@ 16 => Array (

@@ @@ 21 => Array (

@@ @@ 24 => Array (

@@ @@ 40 => Array (

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/components/NewsFeedManager0001Test.php:79

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

@@ @@ 13 => Array (

@@ @@ 21 => Array (

@@ @@ 26 => Array (

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/components/TagManager0001Test.php:81

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

@@ @@ 13 => Array (

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/content/CategoryManager0003Test.php:80

7) GlobalConfiguration0001Test::getAllInputFields_ScreenLoaded_InputFieldsShouldMatchExpected Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ 5 => Array (

@@ @@ 11 => Array (

@@ @@ 19 => Array (

@@ @@ 46 => Array (

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/control_panel/GlobalConfiguration0001Test.php:92

8) ModuleManager0001Test::getModuleTypes_GetsTypes_EqualsExpected Module types should equal expected Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ 'client' => 'administrator'

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/extensions/ModuleManager0001Test.php:99

9) MenuItemsManager0001Test::getMenuItemTypes_ShouldMatchExpected Menu item type should match expected Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array (

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/menus/MenuItemsManager0001Test.php:123

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

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/menus/MenuManager0001Test.php:88

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

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/users/UserManager0001Test.php:108

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

13) ConfigFrontEnd0002Test::testChangeMetaDescription Site Meta Description has not changed Failed asserting that '' is not equal to .

/home/puneet/Projects/GSOC-Webdriver_system_tests_for_CMS/tests/system/webdriver/tests/services/ConfigFrontEnd0002Test.php:82

FAILURES! Tests: 184, Assertions: 7148, Failures: 13, Errors: 9.

javigomez commented 9 years ago

Mine:

phpunit --verbose
PHPUnit 3.7.29 by Sebastian Bergmann.

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

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

Time: 1.81 hours, Memory: 24.50Mb

There were 5 errors:

1) MenuItemsManager0001Test::editMenuItem_ChangeFields_FieldsChanged
SeleniumClient\WebDriverWaitTimeoutException: Timeout for specified condition caused by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: <By strategy: 'xpath', strategy factor '//a[contains(@class, 'accordion-toggle')][contains(., 'Newsfeeds')]'>,<1>

tests/system/webdriver/SeleniumClient/WebDriverWait.php:91
tests/system/webdriver/SeleniumClient/WebDriver.php:416
tests/system/webdriver/Pages/Menus/MenuItemEditPage.php:293
tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:113
tests/system/webdriver/tests/menus/MenuItemsManager0001Test.php:231

2) 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(@class, 'accordion-toggle')][contains(., 'Newsfeeds')]'>,<1>

tests/system/webdriver/SeleniumClient/WebDriverWait.php:91
tests/system/webdriver/SeleniumClient/WebDriver.php:416
tests/system/webdriver/Pages/Menus/MenuItemEditPage.php:293
tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:113
tests/system/webdriver/tests/menus/MenuItemsManager0004Test.php:127

3) MenuItemsManager0004Test::addMenuItem_ListAllNewsFeedCategory_MenuAdded
SeleniumClient\WebDriverWaitTimeoutException: Timeout for specified condition caused by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: <By strategy: 'xpath', strategy factor '//a[contains(@class, 'accordion-toggle')][contains(., 'Newsfeeds')]'>,<1>

tests/system/webdriver/SeleniumClient/WebDriverWait.php:91
tests/system/webdriver/SeleniumClient/WebDriver.php:416
tests/system/webdriver/Pages/Menus/MenuItemEditPage.php:293
tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:113
tests/system/webdriver/tests/menus/MenuItemsManager0004Test.php:194

4) MenuItemsManager0004Test::addMenuItem_ListNewsFeedCategory_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(@class, 'accordion-toggle')][contains(., 'Newsfeeds')]'>,<1>

tests/system/webdriver/SeleniumClient/WebDriverWait.php:91
tests/system/webdriver/SeleniumClient/WebDriver.php:416
tests/system/webdriver/Pages/Menus/MenuItemEditPage.php:293
tests/system/webdriver/Pages/Menus/MenuItemsManagerPage.php:113
tests/system/webdriver/tests/menus/MenuItemsManager0004Test.php:275

5) UserNotesManager0001Test::setFilter_TestOrdering_ShouldOrderNotes
SeleniumClient\Http\SeleniumNoSuchElementException:  An element could not be located on the page using the given search parameters. Unable to locate element: {"method":"xpath","selector":"//div[@id='list_fullordering_chzn' or @id='sortTable_chzn']//ul[@class='chzn-results']/li[contains(.,'Review date')]"}
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:270
tests/system/webdriver/Pages/System/AdminManagerPage.php:160
tests/system/webdriver/tests/users/UserNotesManager0001Test.php:262

--

There were 10 failures:

1) BannerManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
     24 => Array (
-        'label' => 'Created by'
+        'label' => 'Created By'
         'id' => 'jform_created_by'
         'type' => 'input'
         'tab' => 'publishing'
     )
     25 => Array (
-        'label' => 'Created by alias'
+        'label' => 'Created by Alias'

@@ @@
     27 => Array (
-        'label' => 'Modified by'
+        'label' => 'Modified By'
         'id' => 'jform_modified_by'
         'type' => 'input'
         'tab' => 'publishing'
     )
     28 => Array (...)
     29 => Array (...)
     30 => Array (...)
     31 => Array (...)
     32 => Array (...)
 )

tests/system/webdriver/tests/components/BannerManager0001Test.php:80

2) ContactManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
     9 => Array (
-        'label' => 'Postal / ZIP Code'
+        'label' => 'Postal/ZIP Code'

@@ @@
     28 => Array (
-        'label' => 'Created date'
+        'label' => 'Created Date'
         'id' => 'jform_created'
         'type' => 'input'
         'tab' => 'publishing'
     )
     29 => Array (
-        'label' => 'Created by'
+        'label' => 'Created By'

@@ @@
     32 => Array (
-        'label' => 'Modified by'
+        'label' => 'Modified By'

@@ @@
     42 => Array (
-        'label' => 'Display format'
+        'label' => 'Display Format'

@@ @@
     53 => Array (
-        'label' => 'Mobile phone'
+        'label' => 'Mobile Phone'
         'id' => 'jform_params_show_mobile'
         'type' => 'select'
         'tab' => 'attrib-display'
     )
     54 => Array (...)
     55 => Array (...)
     56 => Array (...)
     57 => Array (...)
     58 => Array (...)
     59 => Array (...)
     60 => Array (...)
     61 => Array (...)
     62 => Array (...)
     63 => Array (...)
     64 => Array (...)
     65 => Array (...)
     66 => Array (...)
     67 => Array (...)
     68 => Array (...)
     69 => Array (...)
     70 => Array (...)
     71 => Array (...)
     72 => Array (...)
     73 => Array (...)
     74 => Array (...)
     75 => Array (...)
     76 => Array (...)
     77 => Array (...)
     78 => Array (...)
     79 => Array (...)
     80 => Array (...)
 )

tests/system/webdriver/tests/components/ContactManager0001Test.php:79

3) NewsFeedManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
     10 => Array (
-        'label' => 'First image'
+        'label' => 'First Image'

@@ @@
     12 => Array (
-        'label' => 'Alt text'
+        'label' => 'Alt Text'

@@ @@
     14 => Array (
-        'label' => 'Second image'
+        'label' => 'Second Image'

@@ @@
     16 => Array (
-        'label' => 'Alt text'
+        'label' => 'Alt Text'

@@ @@
     21 => Array (
-        'label' => 'Created by'
+        'label' => 'Created By'

@@ @@
     24 => Array (
-        'label' => 'Modified by'
+        'label' => 'Modified By'

@@ @@
     40 => Array (
-        'label' => 'Feed display order'
+        'label' => 'Feed Display Order'
         'id' => 'jform_params_feed_display_order'
         'type' => 'select'
         'tab' => 'attrib-jbasic'
     )
 )

tests/system/webdriver/tests/components/NewsFeedManager0001Test.php:79

4) TagManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
     10 => Array (
-        'label' => 'Created by'
+        'label' => 'Created By'

@@ @@
     13 => Array (
-        'label' => 'Modified by'
+        'label' => 'Modified By'

@@ @@
     21 => Array (
-        'label' => 'CSS Class for tag link'
+        'label' => 'CSS Class for tag link.'
         'id' => 'jform_params_tag_link_class'
         'type' => 'input'
         'tab' => 'attrib-basic'
     )
     22 => Array (
-        'label' => 'Teaser image'
+        'label' => 'Teaser Image.'

@@ @@
     26 => Array (
-        'label' => 'Full image'
+        'label' => 'Full Image'
         'id' => 'jform_images_image_fulltext'
         'type' => 'input'
         'tab' => 'images'
     )
     27 => Array (...)
     28 => Array (...)
     29 => Array (...)
 )

tests/system/webdriver/tests/components/TagManager0001Test.php:81

5) CategoryManager0003Test::getAllInputFields_ScreenDisplayed_EqualExpected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
     11 => Array (
-        'label' => 'Created by'
+        'label' => 'Created By'

@@ @@
     13 => Array (
-        'label' => 'Modified by'
+        'label' => 'Modified By'
         'id' => 'jform_modified_user_id'
         'type' => 'input'
         'tab' => 'publishing'
     )
     14 => Array (...)
     15 => Array (...)
     16 => Array (...)
     17 => Array (...)
     18 => Array (...)
     19 => Array (...)
     20 => Array (...)
     21 => Array (...)
     22 => Array (...)
 )

tests/system/webdriver/tests/content/CategoryManager0003Test.php:80

6) GlobalConfiguration0001Test::getAllInputFields_ScreenLoaded_InputFieldsShouldMatchExpected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
     5 => Array (
-        'label' => 'Mouse-over Edit Icons for'
+        'label' => 'Mouse-over edit icons for'

@@ @@
     11 => Array (
-        'label' => 'Feed Email Address'
+        'label' => 'Feed email'

@@ @@
     19 => Array (
-        'label' => 'Use URL Rewriting'
+        'label' => 'Use URL rewriting'

@@ @@
     46 => Array (
-        'label' => 'Send Mail'
+        'label' => 'Send mail'
         'id' => 'jform_mailonline'
         'type' => 'fieldset'
         'tab' => 'page-server'
     )
     47 => Array (...)
     48 => Array (...)
     49 => Array (...)
     50 => Array (...)
 )

tests/system/webdriver/tests/control_panel/GlobalConfiguration0001Test.php:92

7) ModuleManager0001Test::getModuleTypes_GetsTypes_EqualsExpected
Module types should equal expected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
         'client' => 'administrator'
-        'name' => 'Admin sub-Menu'
+        'name' => 'Admin Sub-Menu'
     )
     26 => Array (...)
     27 => Array (...)
     28 => Array (...)
     29 => Array (...)
     30 => Array (...)
     31 => Array (...)
     32 => Array (...)
     33 => Array (...)
     34 => Array (...)
     35 => Array (...)
     36 => Array (...)
     37 => Array (...)
     38 => Array (...)
     39 => Array (...)
 )

tests/system/webdriver/tests/extensions/ModuleManager0001Test.php:99

8) MenuItemsManager0001Test::getMenuItemTypes_ShouldMatchExpected
Menu item type should match expected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    'group' => 'Newsfeeds'
+    'group' => 'News Feeds'
     'type' => 'List All News Feed Categories '
 )

tests/system/webdriver/tests/menus/MenuItemsManager0001Test.php:123

9) MenuManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => Array (...)
     1 => Array (
-        'label' => 'Menu type'
+        'label' => 'Menu Type'
         'id' => 'jform_menutype'
         'type' => 'input'
         'tab' => 'header'
     )
     2 => Array (...)
 )

tests/system/webdriver/tests/menus/MenuManager0001Test.php:88

10) UserManager0001Test::getAllInputFields_ScreenDisplayed_EqualExpected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
     9 => Array (
-        'label' => 'Receive System emails'
+        'label' => 'Receive System Emails'
         'id' => 'jform_sendEmail'
         'type' => 'fieldset'
         'tab' => 'details'
     )
     10 => Array (...)
     11 => Array (...)
     12 => Array (...)
     13 => Array (...)
     14 => Array (...)
     15 => Array (...)
     16 => Array (...)
     17 => Array (...)
     18 => Array (...)
 )

tests/system/webdriver/tests/users/UserManager0001Test.php:108

FAILURES!
Tests: 184, Assertions: 7303, Failures: 10, Errors: 5.

I'm wondering if I did anything wrong because yours:

mine:

Why would I have more assertions?

puneet0191 commented 9 years ago

Good catch, I am not sure why would it have different no of assertions for us...I was sure about the results being different

kshitijSharma2014 commented 9 years ago

@javigomez @puneet0191 I am getting only one error and I am pasting the error log here.

C:\xampp\htdocs\joomlacms\tests\system\webdriver\tests>phpunit users/UserNotesMa nager0001Test.php PHPUnit 3.7.32 by Sebastian Bergmann.

Configuration read from C:\xampp\htdocs\joomlacms\tests\system\webdriver\tests\p hpunit.xml.dist

.....E

Time: 8.97 minutes, Memory: 17.25Mb

There was 1 error:

1) UserNotesManager0001Test::setFilter_TestOrdering_ShouldOrderNotes 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='list_fullordering_chzn' or @id='sortTable _chzn']//ul[@class='chzn-results']/li[contains(.,'Review date')]"} 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.70', os.name: 'Windows 8.1', os.arc h: 'x86', os.version: '6.3', java.version: '1.8.0_31' Driver info: driver.version: unknown

C:\xampp\htdocs\joomlacms\tests\system\webdriver\SeleniumClient\Http\SeleniumAda pter.php:73 C:\xampp\htdocs\joomlacms\tests\system\webdriver\SeleniumClient\Http\SeleniumAda pter.php:26 C:\xampp\htdocs\joomlacms\tests\system\webdriver\SeleniumClient\WebDriver.php:35 0 C:\xampp\htdocs\joomlacms\tests\system\webdriver\Pages\System\AdminManagerPage.p hp:270 C:\xampp\htdocs\joomlacms\tests\system\webdriver\Pages\System\AdminManagerPage.p hp:160 C:\xampp\htdocs\joomlacms\tests\system\webdriver\tests\users\UserNotesManager000 1Test.php:262

FAILURES! Tests: 6, Assertions: 198, Errors: 1.

kshitijSharma2014 commented 9 years ago

@puneet0191 @javigomez I ran the whole test suite today and this is the result. There are total 184 tests but you will see 179 tests in the result as I forgot to put test tag back to first 5 tests in UsernotesManager0001Test.php. I have run those separately and they are running without any errors and failures.

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

Configuration read from C:\xampp\htdocs\joomlacms\tests\system\webdriver\tests\p hpunit.xml.dist

............................................... ................ 63 / 179 ( 35% ) ............................................................... 126 / 179 ( 70%)

.................E..............................E....

Time: 5.29 hours, Memory: 26.75Mb

There were 2 errors:

1) MenuItemsManager0004Test::addMenuItem_SingleNewsFeed_MenuItemAdded SeleniumClient\WebDriverWaitTimeoutException: Timeout for specified condition ca used by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: <By strategy: 'xpath', strategy factor '//a[contains(text(),'Joomla! Connect')]'>,<1>

C:\xampp\htdocs\joomlacms\tests\system\webdriver\SeleniumClient\WebDriverWait.ph p:91 C:\xampp\htdocs\joomlacms\tests\system\webdriver\SeleniumClient\WebDriver.php:41 6 C:\xampp\htdocs\joomlacms\tests\system\webdriver\Pages\SiteContent\SiteContentFe aturedPage.php:164 C:\xampp\htdocs\joomlacms\tests\system\webdriver\tests\menus\MenuItemsManager000 4Test.php:139

2) UserNotesManager0001Test::setFilter_TestOrdering_ShouldOrderNotes 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='list_fullordering_chzn' or @id='sortTable _chzn']//ul[@class='chzn-results']/li[contains(.,'Review date')]"} 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.70', os.name: 'Windows 8.1', os.arc h: 'x86', os.version: '6.3', java.version: '1.8.0_31' Driver info: driver.version: unknown

C:\xampp\htdocs\joomlacms\tests\system\webdriver\SeleniumClient\Http\SeleniumAda pter.php:73 C:\xampp\htdocs\joomlacms\tests\system\webdriver\SeleniumClient\Http\SeleniumAda pter.php:26 C:\xampp\htdocs\joomlacms\tests\system\webdriver\SeleniumClient\WebDriver.php:35 0 C:\xampp\htdocs\joomlacms\tests\system\webdriver\Pages\System\AdminManagerPage.p hp:270 C:\xampp\htdocs\joomlacms\tests\system\webdriver\Pages\System\AdminManagerPage.p hp:160 C:\xampp\htdocs\joomlacms\tests\system\webdriver\tests\users\UserNotesManager000 1Test.php:262

FAILURES! Tests: 179, Assertions: 7313, Errors: 2.

puneet0191 commented 9 years ago

@kshitijSharma2014 For the second error try to change the text from Review date to 'Review Date' that might be the problem I think