Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add patchtester description #253

Merged
merged 2 commits into from
Aug 5, 2016
Merged

Add patchtester description #253

merged 2 commits into from
Aug 5, 2016

Conversation

zero-24
Copy link
Contributor

@zero-24 zero-24 commented Jul 31, 2016

Summary of Changes

Since Patch Tester 3.0.0 Alpha 2 also the weblinks structure is supported by the patchtester so add here how to use it.

Testing Instructions

Please double check my english ;)

@zero-24
Copy link
Contributor Author

zero-24 commented Aug 1, 2016

Can someone have a look here? Travis fails but i don't change any production code?! Also it only fails on PHP 5.5?

InstallWeblinksCest: Install weblinks
Signature: InstallWeblinksCest:installWeblinks
Test: tests/acceptance/install/InstallWeblinksCest.php:installWeblinks
Scenario --
 I do administrator login 
  I open Joomla Administrator Login Page
  [GET] http://localhost/tests/joomla-cms3/administrator/index.php
  Fill Username Text Field
  Fill Password Text Field
  I click Login button
  I wait to see Administrator Control Panel
 get Weblinks repository folder from acceptance.suite.yml (see _support/AcceptanceHelper.php)
 I get configuration "url"
 I install extension from url "http://localhost/tests/joomla-cms3/pkg-webl..."
  [GET] http://localhost/tests/joomla-cms3/administrator/index.php?option=com_installer
  I enter the url
  [Selenium browser Logs] 
  20:50:36.125 WARNING - Expected 'none', URL, or filter function but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped.
  20:50:36.125 WARNING - Expected declaration but found '*'.  Skipped to next declaration.
  20:50:36.125 WARNING - Expected 'none', URL, or filter function but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped.
  20:50:36.125 WARNING - Expected declaration but found '*'.  Skipped to next declaration.
  20:50:36.125 WARNING - Expected end of value but found '\9 '.  Error in parsing value for 'background-color'.  Declaration dropped.
  20:50:36.126 WARNING - Error in parsing value for 'background-image'.  Declaration dropped.
  20:50:36.126 WARNING - Error in parsing value for 'background-image'.  Declaration dropped.
  20:50:36.126 WARNING - Error in parsing value for 'background-image'.  Declaration dropped.
  20:50:36.126 WARNING - Expected 'none', URL, or filter function but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped.
  20:50:36.126 WARNING - Expected declaration but found '*'.  Skipped to next declaration.
  20:50:36.126 WARNING - Expected 'none', URL, or filter function but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped.
  20:50:36.126 WARNING - Expected declaration but found '*'.  Skipped to next declaration.
  20:50:36.126 WARNING - Expected end of value but found '\9 '.  Error in parsing value for 'background-color'.  Declaration dropped.
  20:50:36.126 WARNING - Unknown property '-moz-border-radius'.  Declaration dropped.
  20:50:36.231 WARNING - Use of getAttributeNode() is deprecated. Use getAttribute() instead.

  [Selenium driver Logs] 
  20:51:04.859 INFO - [fxdriver.nsCommandProcessor] Received command: findElement
  20:51:04.865 INFO - [fxdriver.nsCommandProcessor] Received command: getElementText
  20:51:05.124 INFO - [fxdriver.nsCommandProcessor] Received command: findElement
  20:51:05.130 INFO - [fxdriver.nsCommandProcessor] Received command: getElementText
  20:51:05.389 INFO - [fxdriver.nsCommandProcessor] Received command: findElement
  20:51:05.397 INFO - [fxdriver.nsCommandProcessor] Received command: getElementText
  20:51:05.656 INFO - [fxdriver.nsCommandProcessor] Received command: findElement
  20:51:05.662 INFO - [fxdriver.nsCommandProcessor] Received command: getElementText
  20:51:05.921 INFO - [fxdriver.nsCommandProcessor] Received command: findElement
  20:51:05.928 INFO - [fxdriver.nsCommandProcessor] Received command: getElementText
  20:51:06.187 INFO - [fxdriver.nsCommandProcessor] Received command: findElement
  20:51:06.194 INFO - [fxdriver.nsCommandProcessor] Received command: getElementText
  20:51:06.455 INFO - [fxdriver.nsCommandProcessor] Received command: getAvailableLogTypes
  20:51:06.463 INFO - [fxdriver.nsCommandProcessor] Received command: getLog
  20:51:07.385 INFO - [fxdriver.nsCommandProcessor] Received command: getLog

  [Selenium client Logs] 
  20:51:05.919 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Executing: [find element: By.id: system-message-container])
  20:51:05.925 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Done: [find element: By.id: system-message-container]
  20:51:05.926 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Executing: [get text: 64 [[FirefoxDriver: firefox on LINUX (fa7a76da-c2af-434c-9436-f2d748db6dcf)] -> id: system-message-container]])
  20:51:05.933 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Done: [get text: 64 [[FirefoxDriver: firefox on LINUX (fa7a76da-c2af-434c-9436-f2d748db6dcf)] -> id: system-message-container]]
  20:51:06.185 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Executing: [find element: By.id: system-message-container])
  20:51:06.191 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Done: [find element: By.id: system-message-container]
  20:51:06.192 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Executing: [get text: 64 [[FirefoxDriver: firefox on LINUX (fa7a76da-c2af-434c-9436-f2d748db6dcf)] -> id: system-message-container]])
  20:51:06.199 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Done: [get text: 64 [[FirefoxDriver: firefox on LINUX (fa7a76da-c2af-434c-9436-f2d748db6dcf)] -> id: system-message-container]]
  20:51:06.452 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Executing: [fetching available log types])
  20:51:06.459 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Done: [fetching available log types]
  20:51:06.461 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Executing: [fetching logs for: browser])
  20:51:07.211 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Done: [fetching logs for: browser]
  20:51:07.382 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Executing: [fetching logs for: driver])
  20:51:07.459 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Done: [fetching logs for: driver]
  20:51:07.485 INFO - org.openqa.selenium.remote.server.DriverServlet org.openqa.selenium.remote.server.rest.ResultConfig.handle Executing: [fetching logs for: client])

  [Selenium server Logs]  EMPTY 
  Screenshot and page source were saved into '/home/travis/build/joomla-extensions/weblinks/tests/_output/' dir
 ERROR 
------------------------------------------------------------------------------

@yvesh yvesh merged commit 8ef7777 into joomla-extensions:master Aug 5, 2016
@yvesh
Copy link
Member

yvesh commented Aug 5, 2016

Thank you @zero-24

@zero-24
Copy link
Contributor Author

zero-24 commented Aug 5, 2016

Thanks @yvesh !

@zero-24 zero-24 deleted the patch-2 branch August 5, 2016 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants