Skip to content

Commit

Permalink
Merge pull request #296 from galasa-dev/mcobbett-gherkin-login-instru…
Browse files Browse the repository at this point in the history
…ctions

extra instructions for using credentials with 3270 gherkin
  • Loading branch information
techcobweb authored Oct 1, 2024
2 parents 4c7a191 + 7b829b0 commit 4131f4a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
10 changes: 10 additions & 0 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@
}
],
"results": {
"gherkin-docs.md": [
{
"hashed_secret": "c61db10457a740b07845146f2d1b391c133a6ebf",
"is_secret": false,
"is_verified": false,
"line_number": 138,
"type": "Secret Keyword",
"verified_result": null
}
],
"pkg/auth/authTokensDelete_test.go": [
{
"hashed_secret": "29c7b29566c2061be32787040eebc84258040a64",
Expand Down
21 changes: 15 additions & 6 deletions gherkin-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,24 @@ or
- `AND type "xxx" on terminal A in field labelled "yyy"` if you want to name the terminal to send the text to.
- `AND type "xxx" on terminal`

#### Logging into a terminal application
- 'AND type credentials MYCREDS1 username on terminal`
- 'AND type credentials MYCREDS1 password on terminal`
or
- 'AND type credentials MYCREDS1 username on terminal A`
- 'AND type credentials MYCREDS1 password on terminal A`

... where `MYCREDS1` is a variable, matching the name of a credential in the system.

For example, within a local `credentials.properties` file it may look like this:
```
secure.credentials.MYCREDS1.username=myuserid
secure.credentials.MYCREDS1.password=mypassw0rd
```

#### Position the terminal
- `AND move terminal cursor to field "xxx"`

#### Using credentials from the credentials store
- `AND type credentials xxx username on terminal`
- `AND type credentials xxx username on terminal A`

- `AND type credentials xxx password on terminal`
- `AND type credentials xxx password on terminal A`

#### Waiting for responses
- `AND wait for terminal keyboard`
Expand Down

0 comments on commit 4131f4a

Please sign in to comment.