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

Update ModuleManagerPage.php #99

Closed kshitijSharma2014 closed 9 years ago

kshitijSharma2014 commented 9 years ago

@puneet0191 @javigomez solving module failure

puneet0191 commented 9 years ago

@kshitijSharma2014 Tested this one, but doesn't solve all the errors see Images image

and this one also image

kshitijSharma2014 commented 9 years ago

@puneet0191 thanks, I am checking this again.

puneet0191 commented 9 years ago

@kshitijSharma2014 I don't know if somthings in wrong with my OS, but I am still getting errors in Module Manager..I think we should park this PR and may be wait for @javigomez to confirm if he able to run the tests without errors. I am creating an issue for this one as well

Thanks

javigomez commented 9 years ago

I haven't run the tests yet, but the error log I saw an issue that it happened to us in the past. Maybe is related. Adding this explanation for documentation however I'll run the tests later:

We do not recommend to use the "contains" XPath command:

//tbody/tr/td[3]/a[contains(text(),'test')]

, instead use:

//tbody/tr/td[3]/a[text() = 'test']

Because contains can return several items. see:

d6c8d652-ecc9-11e3-80d0-16d27368053f

In the following example I'm searching for 'text' but since XPath follows the DOM it stops when it founds a link that contains 'text' word, but in this case is finding the wrong element, is selecting 'texte2' instead of 'text':

2771f184-ed96-11e3-997c-e049d14835b0

The solution is not to use the contains function, see:

5a8554d0-ed96-11e3-9fec-f137f89aad8e

So we need to switch in all previous test the XPath like this:

//tbody/tr/td[3]/a[contains(text(),'test')]

into this:

//tbody/tr/td[3]/a[text() = 'test']
javigomez commented 9 years ago

This is my error log. Note that to run it I have used Staging and merged with kshitijSharma2014:module-error/failure. So my error log includes the current pull:

JAVI:tests javiergomez$ php ./phpunit.phar 
PHPUnit 4.4.1 by Sebastian Bergmann.

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

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

Time: 1.64 hours, Memory: 20.25Mb

There were 21 errors:

2) RedirectManager0002Test::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_redirect']'>,<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/Components/RedirectManagerPage.php:90
tests/system/webdriver/tests/components/RedirectManager0002Test.php:149

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 were 5 failures:

1) RedirectManager0001Test::addRedirect_WithFieldDefaults_RedirectAdded
Test link should be in row 1
Failed asserting that 3 matches expected 1.

tests/system/webdriver/tests/components/RedirectManager0001Test.php:134

2) RedirectManager0001Test::addRedirect_WithGivenFields_RedirectAdded
Test Link should be in row 1
Failed asserting that 2 matches expected 1.

tests/system/webdriver/tests/components/RedirectManager0001Test.php:159

3) RedirectManager0002Test::setFilter_TestFilters_ShouldFilterRedirect
Redirect should not show
Failed asserting that 1 is false.

tests/system/webdriver/tests/components/RedirectManager0002Test.php:124

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

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

5) 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: 6146, Failures: 5, Errors: 21.
puneet0191 commented 9 years ago

@javigomez Thanks :+1:

javigomez commented 9 years ago

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

puneet0191 commented 9 years ago

@javigomez @kshitijSharma2014 I have tested, out scripts against the latest code, staging branch and here is the output of Article Manager Tests: image

kshitijSharma2014 commented 9 years ago

Yes! same output came in my local machine.

puneet0191 commented 9 years ago

@javigomez @kshitijSharma2014 Before fixing Category Manager Input Field Array this was the result from Category Manager Tests image

After Fixing the Input Fields Array, this is the result of the test execution image

puneet0191 commented 9 years ago

@javigomez @kshitijSharma2014 Redirect Manager Tests, 0001Test gives me this result: image

puneet0191 commented 9 years ago

@javigomez @kshitijSharma2014 Here is the latest result of MenuItemsManager Tests after doing the Fixes: image

puneet0191 commented 9 years ago

@javigomez @kshitijSharma2014 This is the state of ConfigFrontEnd0002Test image

puneet0191 commented 9 years ago

@kshitijSharma2014 Merging this PR, I just checked, the changes are required, Results for ModuleManager tests was the following: image

kshitijSharma2014 commented 9 years ago

@puneet0191 @javigomez I ran whole extension folder and got this result:

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

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

...............EE....E.....E....

Time: 1.7 hours, Memory: 24.50Mb

There were 4 errors:

1) ModuleManager0001Test::addModule_WithGivenFields_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: 'KSHITIJ', ip: '192.168.0.114', 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:83 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\Http\SeleniumAdapter. php:26 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebDriver.php:562 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebElement.php:76 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminManagerPage.php:25 5 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\Extensions\ModuleManagerPage.p hp:173 C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\extensions\ModuleManager0001Te st.php:165

2) ModuleManager0001Test::editModule_ChangeFields_FieldsChanged SeleniumClient\WebDriverWaitTimeoutException: Timeout for specified condition ca used by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: <By strategy: 'xpath', strategy factor '//form[@id='module-form']'>,< 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\System\AdminEditPage.php:74 C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\JoomlaWebdriverTestCase.php:83

C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminManagerPage.php:62

C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\Extensions\ModuleManagerPage.p hp:174 C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\extensions\ModuleManager0001Te st.php:198

3) ModuleManager0002Test::addModule_MenuItemSingleArticle_ModuleAdded SeleniumClient\Http\SeleniumNoSuchWindowException: A request to switch to a dif ferent window could not be satisfied because the window could not be found. Wind ow not found. The browser window may have been closed. Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33' System info: host: 'KSHITIJ', ip: '192.168.0.114', 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:107 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\Http\SeleniumAdapter. php:26 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebDriver.php:612 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebElement.php:93 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminEditPage.php:341 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminEditPage.php:356 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminEditPage.php:382 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\Content\ArticleEditPage.php:16 2 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\Content\ArticleManagerPage.php :99 C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\extensions\ModuleManager0002Te st.php:337

4) PluginManager0001Test::changePluginState_ChangeEnabledUsingToolbar_EnabledCha nged Undefined variable: resultObject

C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebDriverWait.php:62 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebDriver.php:416 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminManagerPage.php:26 1 C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\extensions\PluginManager0001Te st.php:171

FAILURES! Tests: 32, Assertions: 1250, Errors: 4.

puneet0191 commented 9 years ago

@kshitijSharma2014 Can you possibly think of a reason why you are getting these errors? if you can find out the problem, just do a PR for fixing them.

Thanks

kshitijSharma2014 commented 9 years ago

@puneet0191 I just started working on it.

kshitijSharma2014 commented 9 years ago

@puneet0191 I ran those tests individually which were giving error and now they ran successfully so I think everything is fine now with the suite.