Skip to content

Commit

Permalink
add notes about manual testing
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Jun 12, 2024
1 parent 6a9993b commit 6f8b132
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ will overwrite variables set in the execution environment.
4. `make` or `docker-compose up -d` within the project root.
5. Visit http://ssp-hub.local to see SimpleSAMLphp

_Note:_ there is an unresolved problem that requires a change to BASE_URL_PATH for ssp-idp1.local in docker-compose.yml due to a requirement in silauth that it be a full URL. For automated testing, it must not have a port number, but for manual testing it needs the port number.

### Configure a container for debugging with Xdebug

1. Add a volume map for run-debug.sh on the container you wish to debug.
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ services:
MYSQL_DATABASE: "silauth"
MYSQL_USER: "silauth"
MYSQL_PASSWORD: "silauth"
BASE_URL_PATH: "http://ssp-idp1.local/"
BASE_URL_PATH: "http://ssp-idp1.local/" # change this to "http://ssp-idp1.local:8085" for manual browser testing

ssp-idp2.local:
build: .
Expand Down
3 changes: 3 additions & 0 deletions docs/functional_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ then
The tests are found in `/features`. They are similar to the manual tests listed below.

# Manual Testing

See [Local Testing](../README.md#local-testing) for instructions to set up your local development environment.

## Main SP authenticates through Main Idp. Third SP is also authenticated. Second SP must re-authenticate.
### Ensure main SP goes to discovery page and can login through the main IdP
* Kill all your cookies for ssp\*
Expand Down

0 comments on commit 6f8b132

Please sign in to comment.