? Failure

User tests: Successful: Unsuccessful:

avatar puneet0191
puneet0191
1 Aug 2013

.

avatar puneet0191 puneet0191 - open - 1 Aug 2013
avatar wilsonge
wilsonge - comment - 3 Aug 2013

Hi Puneet,
3 of the 4 tests are failing on my master branch:

    <testcase name="frontEndCategoryChange_ChangeCategoryState_CategoryStateChanged" class="CategoryManager0004Test" file="C:\Users\George User\Documents\Ampps\www\joomla-tests\tests\system\webdriver\tests\content\CategoryManager0004Test.php" line="61" assertions="93" time="112.179070">
      <failure type="PHPUnit_Framework_ExpectationFailedException">CategoryManager0004Test::frontEndCategoryChange_ChangeCategoryState_CategoryStateChanged
Beginners Must Not be Present
Failed asserting that 0 matches expected 1.

C:\Users\George User\Documents\Ampps\www\joomla-tests\tests\system\webdriver\tests\content\CategoryManager0004Test.php:160
</failure>
    </testcase>
    <testcase name="frontEndCategoryState_ChangeCategoryState_FrontEndCategoryChanged" class="CategoryManager0004Test" file="C:\Users\George User\Documents\Ampps\www\joomla-tests\tests\system\webdriver\tests\content\CategoryManager0004Test.php" line="184" assertions="61" time="75.358793"/>
    <testcase name="frontEndCategoryBlogState_ChangeBlogState_BlogStateChanged" class="CategoryManager0004Test" file="C:\Users\George User\Documents\Ampps\www\joomla-tests\tests\system\webdriver\tests\content\CategoryManager0004Test.php" line="262" assertions="80" time="109.438573">
      <failure type="PHPUnit_Framework_ExpectationFailedException">CategoryManager0004Test::frontEndCategoryBlogState_ChangeBlogState_BlogStateChanged
First Blog Now shows as published when looged in
Failed asserting that 0 matches expected 1.

C:\Users\George User\Documents\Ampps\www\joomla-tests\tests\system\webdriver\tests\content\CategoryManager0004Test.php:361
</failure>
    </testcase>
    <testcase name="frontEndCategoryListState_ChangeCategoryListState_ListStateChanged" class="CategoryManager0004Test" file="C:\Users\George User\Documents\Ampps\www\joomla-tests\tests\system\webdriver\tests\content\CategoryManager0004Test.php" line="381" assertions="12" time="31.580725">
      <error type="SeleniumClient\WebDriverWaitTimeoutException">CategoryManager0004Test::frontEndCategoryListState_ChangeCategoryListState_ListStateChanged
SeleniumClient\WebDriverWaitTimeoutException: Timeout for specified condition caused by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: &lt;By strategy: 'xpath', strategy factor '//tbody/tr[2]/td/a[contains(text(),'Getting Help')]'&gt;,&lt;1&gt;

C:\Users\George User\Documents\Ampps\www\joomla-tests\tests\system\webdriver\SeleniumClient\WebDriverWait.php:91
C:\Users\George User\Documents\Ampps\www\joomla-tests\tests\system\webdriver\SeleniumClient\WebDriver.php:416
C:\Users\George User\Documents\Ampps\www\joomla-tests\tests\system\webdriver\tests\content\CategoryManager0004Test.php:387
</error>
    </testcase>
avatar puneet0191
puneet0191 - comment - 3 Aug 2013

George, I have checked all the tests they are passing in my local Branch, can you please re run the tests and let me know.

avatar wilsonge
wilsonge - comment - 4 Aug 2013

Hi Puneet,
Tried again and got same error set. Am going to try and work out what's making them fail tomorrow so we can work out what the difference is between mine and your branch :)

avatar brianteeman brianteeman - change - 21 Aug 2014
The description was changed
Status New Pending
Build .
avatar brianteeman brianteeman - change - 2 Sep 2014
Category Unit Tests
avatar nicksavov nicksavov - change - 16 Oct 2014
Labels Added: ?
avatar brianteeman brianteeman - change - 1 Jan 2015
Labels Removed: ?
avatar brianteeman
brianteeman - comment - 22 Jan 2015

Is this still a valid PR there has been no update for a long time @wilsonge @puneet0191


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/1634.
avatar puneet0191
puneet0191 - comment - 23 Jan 2015

@brianteeman This can be closed, issue is fixed in Gsoc webdriver repo.

avatar puneet0191 puneet0191 - change - 23 Jan 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-01-23 06:27:58
avatar puneet0191 puneet0191 - close - 23 Jan 2015

Add a Comment

Login with GitHub to post a comment