?
avatar javigomez
javigomez
12 Jul 2015

I ran tests after merging a5fc821 and 9753727 and got this tasks still to fix:

@puneet0191 @kshitijSharma2014 I think we are close again to have 0 errors. These are the ones that raised, could you please check, thanks:

  • 1) wrong order when comparing arrays in BannerManager0002Test::getFilters_GetListOfFilters_ShouldMatchExpected
  • 2) BannerManager0002Test::setFilter_TestFilters_ShouldFilterTags2 Initial state should be published
  • 3) wrong order when comparing arrays in ArticleManager0002Test::getFilters_GetListOfFilters_ShouldMatchExpected
  • 4) wrong order when comparing arrays in CategoryManager0002Test::getFilters_GetListOfFilters_ShouldMatchExpected
  • 5) CategoryManager0004Test::frontEndArticleState_ChangeArticleStateToTrashed_ArticleStateChanged Article Must be present
  • 6) ControlPanel0001Test::doAdminLogin_NormalLogin_LogsIntoBackEnd Expected link http://developer.joomla.org/security.html should be in on the page.
  • 7) GlobalConfiguration0001Test::getAllInputFields_ScreenLoaded_InputFieldsShouldMatchExpected Failed asserting that two arrays are equal.
  • 8) ConfigFrontEnd0001Test::testChangeSiteName Site name has changed
  • 9) ConfigFrontEnd0002Test::testChangeMetaDescription Site Meta Description has not changed

complete log:

--

There were 9 failures:

1) BannerManager0002Test::getFilters_GetListOfFilters_ShouldMatchExpected
Filter ids should match expected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => 'list_fullordering'
     1 => 'list_limit'
     2 => 'filter_state'
-    3 => 'filter_client_id'
-    4 => 'filter_category_id'
-    5 => 'filter_language'
+    3 => 'filter_category_id'
+    4 => 'filter_language'
+    5 => 'filter_client_id'
 )

tests/system/webdriver/tests/components/BannerManager0002Test.php:73

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

tests/system/webdriver/tests/components/BannerManager0002Test.php:157

3) ArticleManager0002Test::getFilters_GetListOfFilters_ShouldMatchExpected
Filter ids should match expected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => 'list_fullordering'
     1 => 'list_limit'
     2 => 'filter_published'
     3 => 'filter_category_id'
-    4 => 'filter_level'
-    5 => 'filter_access'
-    6 => 'filter_author_id'
-    7 => 'filter_language'
-    8 => 'filter_tag'
+    4 => 'filter_access'
+    5 => 'filter_language'
+    6 => 'filter_tag'
+    7 => 'filter_author_id'
+    8 => 'filter_level'
 )

tests/system/webdriver/tests/content/ArticleManager0002Test.php:73

4) CategoryManager0002Test::getFilters_GetListOfFilters_ShouldMatchExpected
Filter ids should match expected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => 'list_fullordering'
     1 => 'list_limit'
-    2 => 'filter_level'
-    3 => 'filter_published'
-    4 => 'filter_access'
-    5 => 'filter_language'
-    6 => 'filter_tag'
+    2 => 'filter_published'
+    3 => 'filter_access'
+    4 => 'filter_language'
+    5 => 'filter_tag'
+    6 => 'filter_level'
 )

tests/system/webdriver/tests/content/CategoryManager0002Test.php:73

5) CategoryManager0004Test::frontEndArticleState_ChangeArticleStateToTrashed_ArticleStateChanged
Article Must be present
Failed asserting that false is true.

tests/system/webdriver/tests/content/CategoryManager0004Test.php:200

6) ControlPanel0001Test::doAdminLogin_NormalLogin_LogsIntoBackEnd
Expected link http://developer.joomla.org/security.html should be in on the page.
Failed asserting that false is true.

tests/system/webdriver/tests/control_panel/ControlPanel0001Test.php:74

7) GlobalConfiguration0001Test::getAllInputFields_ScreenLoaded_InputFieldsShouldMatchExpected
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
     17 => Array (
-        'label' => 'Show Joomla Version'
+        'label' => 'Show Joomla! Version'
         'id' => 'jform_MetaVersion'
         'type' => 'fieldset'
         'tab' => 'page-site'
     )
     18 => Array (...)
     19 => Array (...)
     20 => Array (...)
     21 => Array (...)
     22 => Array (...)
     23 => Array (...)
     24 => Array (...)
     25 => Array (...)
     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 (...)
     40 => Array (...)
     41 => Array (...)
     42 => Array (...)
     43 => Array (...)
     44 => Array (...)
     45 => Array (...)
     46 => Array (...)
     47 => Array (...)
     48 => Array (...)
     49 => Array (...)
     50 => Array (...)
 )

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

8) ConfigFrontEnd0001Test::testChangeSiteName
Site name has changed
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Joomla Testing'
+'Joomla'

tests/system/webdriver/tests/services/ConfigFrontEnd0001Test.php:72

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

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

FAILURES!
Tests: 184, Assertions: 5475, Failures: 9, Errors: 42.
avatar javigomez javigomez - open - 12 Jul 2015
avatar puneet0191
puneet0191 - comment - 12 Jul 2015

Thanks, Will fix them up soon :smile:

avatar kshitijSharma2014
kshitijSharma2014 - comment - 12 Jul 2015

will work on them this Monday! :)

avatar zero-24 zero-24 - change - 12 Jul 2015
Labels Added: ?
avatar brianteeman brianteeman - change - 12 Jul 2015
Category Unit Tests
avatar brianteeman
brianteeman - comment - 28 Jan 2016

@puneet0191 @javigomez
Is this still an issue or can it be closed here


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7420.

avatar brianteeman brianteeman - change - 28 Jan 2016
Status New Information Required
avatar puneet0191
puneet0191 - comment - 29 Jan 2016

@brianteeman It can be closed here, Thanks!

avatar brianteeman brianteeman - change - 29 Jan 2016
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2016-01-29 06:30:09
Closed_By brianteeman
avatar brianteeman brianteeman - close - 29 Jan 2016

Add a Comment

Login with GitHub to post a comment