Skip to content

Commit a7965d1

Browse files
committed
updates to README
1 parent ec68fd6 commit a7965d1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,18 +93,17 @@ console.log(url[0]);
9393
- `password`
9494
- Example: ```await gunet.loginWith(page, `${process.env.CAS_USER}`, `${process.env.CAS_PASSWORD}`);```
9595
* `assertTicketGrantingCookie`
96-
- Check that we received a TickerGrantingCookie (TGT)
96+
- Check that we received a TickerGrantingCookie (TGT). **Only** in the CAS login page, **not** in applications
9797
- Argument: `page` element
9898
- Example: `await gunet.assertTicketGrantingCookie(page);`
9999
* `casLogin`
100-
- Perform all necessary elements of checking for successful SSO login utilizing a provided web page element. Useful when performing an SSO login is just *one* of many steps of a scenario.
100+
- Perform all necessary elements of checking for successful SSO login utilizing a provided web page element.
101101
- Arguments:
102102
* `page` element
103-
* `url` of SSO
104103
* `user` to use
105104
* `password` to use
106105
* `cas_lang` to use. Can be one of `en` or `el`
107-
- Example: ```await gunet.casLogin(page, url[0], `${process.env.CAS_USER}`,`${process.env.CAS_PASSWORD}`,`${process.env.CAS_LANG}`);```
106+
- Example: ```await gunet.casLogin(page, `${process.env.CAS_USER}`,`${process.env.CAS_PASSWORD}`,`${process.env.CAS_LANG}`);```
108107

109108
## Usage
110109
### Customization

0 commit comments

Comments
 (0)