Open javigomez opened 9 years ago
The recorded session: https://www.youtube.com/watch?v=3mYfnVDisio
@puneet0191 @javigomez Result when I ran all the article tests:
C:\xampp\htdocs\gsoc\tests\system\webdriver\tests>phpunit content PHPUnit 3.7.32 by Sebastian Bergmann.
Configuration read from C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\phpuni t.xml.dist
.............EE....
Time: 1.22 hours, Memory: 16.25Mb
There were 2 errors:
1) ArticleManager0003Test::frontEndSingleArticleState_ChangeArticleState_Article StateChanged SeleniumClient\WebDriverWaitTimeoutException: Timeout for specified condition ca used by object of class: SeleniumClient\WebDriver, method invoked: findElement. Arguments: <By strategy: 'xpath', strategy factor '//input[@id='mod-search-searc hword']'>,<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\SiteContent\SitePage.php:88 C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\JoomlaWebdriverTestCase.php:83
C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\content\ArticleManager0003Test .php:133
2) ArticleManager0003Test::batchAccessLevel_ChangeBatchAccessLevel_AccessLevelCh anged 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='toolbar-delete']/button"} 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.162', 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:73 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\Http\SeleniumAdapter. php:26 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebDriver.php:350 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminPage.php:227 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminManagerPage.php:31 0 C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\content\ArticleManager0003Test .php:190
FAILURES! Tests: 19, Assertions: 719, Errors: 2.
@puneet0191 I don't know why the command on line 133 is bothering me so much. It is running successfully in your machine but in mine it gives an error. The second error is a server-side error, not a problem I think.
@puneet0191 @javigomez Result when I ran ModuleManeger0002.php, menuitemsManager0002.php and configfrontEnd0002.php
C:\xampp\htdocs\gsoc\tests\system\webdriver\tests>phpunit error PHPUnit 3.7.32 by Sebastian Bergmann.
Configuration read from C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\phpuni t.xml.dist
.........E
Time: 1.63 hours, Memory: 17.50Mb
There was 1 error:
1) ModuleManager0002Test::addModule_MenuItemsCategoryBlog_ModuleAdded 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='filter_published_chzn']/a"} 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.162', 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:73 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\Http\SeleniumAdapter. php:26 C:\xampp\htdocs\gsoc\tests\system\webdriver\SeleniumClient\WebDriver.php:350 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminManagerPage.php:22 6 C:\xampp\htdocs\gsoc\tests\system\webdriver\Pages\System\AdminManagerPage.php:31 2 C:\xampp\htdocs\gsoc\tests\system\webdriver\tests\error\ModuleManager0002Test.ph p:555
FAILURES! Tests: 10, Assertions: 1059, Errors: 1.
Errors at a5b50dcd16a615af3e75078b5a9738488194e740
cc: @puneet0191 @kshitijSharma2014