Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Behat tests to bypass the OAuth login #62

Closed
eddiejaoude opened this issue Mar 5, 2015 · 2 comments
Closed

Behat tests to bypass the OAuth login #62

eddiejaoude opened this issue Mar 5, 2015 · 2 comments

Comments

@eddiejaoude
Copy link
Contributor

No description provided.

@eddiejaoude eddiejaoude added this to the v0.2: Micro Services milestone Mar 5, 2015
@eddiejaoude eddiejaoude self-assigned this Mar 7, 2015
@eddiejaoude eddiejaoude mentioned this issue Mar 8, 2015
7 tasks
@eddiejaoude eddiejaoude removed their assignment Mar 8, 2015
@eddiejaoude
Copy link
Contributor Author

Tried a few approaches, none worked.

@jaffamonkey
Copy link

Assuming UI tests: Use session tokens that do not expire, then you can pass them in request header for tests you want to bypass login process. Other option is to enable method to turning authentication off, for specific tests. But there is good argument that authentication should be part of every test, as a passing test without it, runs risk masking an issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants