[
https://issues.apache.org/jira/browse/PLUTO-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neil Griffin updated PLUTO-661:
-------------------------------
Description:
Currently the Portlet 3.0 TCK pom.xml descriptor has a hard-coded path to the
Chrome binary:
{code:xml|title=pom.xml}
<test.browser.webDriver>c:/ntutil/chromedriver.exe</test.browser.webDriver>
{code}
This task will enable the Portlet 3.0 TCK to use an alternate Firefox/Chrome
browser binary and assume Chrome can be run headless ([a feature introduced for
Linux/Mac in Chrome 59, Windows support in Chrome
60|https://developers.google.com/web/updates/2017/04/headless-chrome]). When
finished, testing the TCK can be accomplished with commands similar to the
following:
{noformat}
# Headless Chrome with alternate chromedriver path
cd portlet-tck_3.0/
mvn test -Prun-tck -Dtest.browser=chrome
-Dtest.browser.webDriver=/Users/foo/bin/chromedriver
{noformat}
{noformat}
# Non-headless (full UI) Chrome with alternate chromedriver path
cd portlet-tck_3.0/
mvn test -Prun-tck -Dtest.browser=chrome
-Dtest.browser.webDriver=/Users/foo/bin/chromedriver
{noformat}
{noformat}
# Non-headless (full UI) Firefox with alternate Firefox binary path
cd portlet-tck_3.0/
mvn test -Prun-tck -Dtest.browser=firefox
-Dtest.browser.webDriver=/Applications/Firefox.app
{noformat}
was:
Currently the Portlet 3.0 TCK pom.xml descriptor has a hard-coded path to the
Chrome binary:
{code:xml|title=pom.xml}
<test.browser.webDriver>c:/ntutil/chromedriver.exe</test.browser.webDriver>
{code}
This task will enable the Portlet 3.0 TCK to use an alternate Firefox/Chrome
browser binary and assume Chrome can be run headless. When finished, testing
the TCK can be accomplished with commands similar to the following:
{noformat}
# Headless Chrome with alternate chromedriver path
cd portlet-tck_3.0/
mvn test -Prun-tck -Dtest.browser=chrome
-Dtest.browser.webDriver=/Users/foo/bin/chromedriver
{noformat}
{noformat}
# Non-headless (full UI) Chrome with alternate chromedriver path
cd portlet-tck_3.0/
mvn test -Prun-tck -Dtest.browser=chrome
-Dtest.browser.webDriver=/Users/foo/bin/chromedriver
{noformat}
{noformat}
# Non-headless (full UI) Firefox with alternate Firefox binary path
cd portlet-tck_3.0/
mvn test -Prun-tck -Dtest.browser=firefox
-Dtest.browser.webDriver=/Applications/Firefox.app
{noformat}
> Enable the Portlet 3.0 TCK to use an alternate Firefox/Chrome browser binary
> and assume Chrome can be run headless
> ------------------------------------------------------------------------------------------------------------------
>
> Key: PLUTO-661
> URL: https://issues.apache.org/jira/browse/PLUTO-661
> Project: Pluto
> Issue Type: Improvement
> Components: tck
> Affects Versions: 3.0.0
> Reporter: Vernon Singleton
> Assignee: Scott Nicklous
> Priority: Minor
>
> Currently the Portlet 3.0 TCK pom.xml descriptor has a hard-coded path to the
> Chrome binary:
> {code:xml|title=pom.xml}
> <test.browser.webDriver>c:/ntutil/chromedriver.exe</test.browser.webDriver>
> {code}
> This task will enable the Portlet 3.0 TCK to use an alternate Firefox/Chrome
> browser binary and assume Chrome can be run headless ([a feature introduced
> for Linux/Mac in Chrome 59, Windows support in Chrome
> 60|https://developers.google.com/web/updates/2017/04/headless-chrome]). When
> finished, testing the TCK can be accomplished with commands similar to the
> following:
> {noformat}
> # Headless Chrome with alternate chromedriver path
> cd portlet-tck_3.0/
> mvn test -Prun-tck -Dtest.browser=chrome
> -Dtest.browser.webDriver=/Users/foo/bin/chromedriver
> {noformat}
> {noformat}
> # Non-headless (full UI) Chrome with alternate chromedriver path
> cd portlet-tck_3.0/
> mvn test -Prun-tck -Dtest.browser=chrome
> -Dtest.browser.webDriver=/Users/foo/bin/chromedriver
> {noformat}
> {noformat}
> # Non-headless (full UI) Firefox with alternate Firefox binary path
> cd portlet-tck_3.0/
> mvn test -Prun-tck -Dtest.browser=firefox
> -Dtest.browser.webDriver=/Applications/Firefox.app
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)