ProcessMaker / ellucian-shared-tests

1 stars 0 forks source link

Create Shared Login Class #2

Open velkymx opened 4 years ago

velkymx commented 4 years ago

This class knows how to navigate to a PM3 site and login. Encapsulating that functionality into a method/function and add it to the includes folder of this repo.

swim-mer commented 4 years ago

Remove indentation error https://github.com/ProcessMaker/ellucian-shared-tests/commit/14eb8cb1d275dab433012e705df4b531a474c3cf

swim-mer commented 4 years ago

Create method https://github.com/ProcessMaker/ellucian-shared-tests/commit/548170ca4202de265edcb733cebb9f3c31fad0eb

Add parameter https://github.com/ProcessMaker/ellucian-shared-tests/commit/bcbc0e9317bc5904ab3963ef52dca439297771c4

swim-mer commented 4 years ago

I think it is worth trying to morph this into a class that inherits from the BaseTest's setUpClass() so that login will only occur once per test suite. Like in this example: https://stackoverflow.com/a/14044585