You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2016/09/19 15:28:36 UTC
directory-fortress-core git commit: add updated Selenium test
instructions for fortress-web
Repository: directory-fortress-core
Updated Branches:
refs/heads/master 1a7d04de4 -> 552afc513
add updated Selenium test instructions for fortress-web
Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/552afc51
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/552afc51
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/552afc51
Branch: refs/heads/master
Commit: 552afc51331edcab7c61e2573b10b3f13991b2d0
Parents: 1a7d04d
Author: Shawn McKinney <sm...@apache.org>
Authored: Mon Sep 19 10:28:29 2016 -0500
Committer: Shawn McKinney <sm...@apache.org>
Committed: Mon Sep 19 10:28:29 2016 -0500
----------------------------------------------------------------------
README-QUICKSTART-APACHEDS.md | 13 +++++++++++--
README-QUICKSTART-SLAPD.md | 13 +++++++++++--
2 files changed, 22 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/552afc51/README-QUICKSTART-APACHEDS.md
----------------------------------------------------------------------
diff --git a/README-QUICKSTART-APACHEDS.md b/README-QUICKSTART-APACHEDS.md
index f3eff9d..c791e48 100644
--- a/README-QUICKSTART-APACHEDS.md
+++ b/README-QUICKSTART-APACHEDS.md
@@ -460,13 +460,22 @@ During this section, you will be asked to setup Apache Fortress Web Application
6. Click on the links, to pull up various views on the data stored in the directory.
-7. Run the selenium automated test:
+7. Run the Selenium Web driver integration tests with Firefox (default):
```
mvn test -Dtest=FortressWebSeleniumITCase
```
- *Requires Firefox on target machine.*
+8. Run the tests using Chrome:
+
+ ```
+ mvn test -Dtest=FortressWebSeleniumITCase -Dweb.driver=chrome
+ ```
+
+ Note: The Selenium tests require that:
+ * Either Firefox or Chrome installed to target machine.
+ * **FORTRESS_CORE_HOME**/*FortressJUnitTest* successfully run. This will load some test data to grind on.
+ * [FortressWebDemoUsers](./src/main/resources/FortressWebDemoUsers.xml) policy loaded into target LDAP server.
___________________________________________________________________________________
#### END OF README-QUICKSTART-APACHEDS
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/552afc51/README-QUICKSTART-SLAPD.md
----------------------------------------------------------------------
diff --git a/README-QUICKSTART-SLAPD.md b/README-QUICKSTART-SLAPD.md
index a6b4425..a07a913 100644
--- a/README-QUICKSTART-SLAPD.md
+++ b/README-QUICKSTART-SLAPD.md
@@ -443,13 +443,22 @@ During this section, you will be asked to setup Apache Fortress Web Application
6. Click on the links, to pull up various views on the data stored in the directory.
-7. Run the selenium automated test:
+7. Run the Selenium Web driver integration tests with Firefox (default):
```
mvn test -Dtest=FortressWebSeleniumITCase
```
- *Requires Firefox on target machine.*
+8. Run the tests using Chrome:
+
+ ```
+ mvn test -Dtest=FortressWebSeleniumITCase -Dweb.driver=chrome
+ ```
+
+ Note: The Selenium tests require that:
+ * Either Firefox or Chrome installed to target machine.
+ * **FORTRESS_CORE_HOME**/*FortressJUnitTest* successfully run. This will load some test data to grind on.
+ * [FortressWebDemoUsers](./src/main/resources/FortressWebDemoUsers.xml) policy loaded into target LDAP server.
___________________________________________________________________________________
#### END OF README-QUICKSTART-SLAPD
\ No newline at end of file