Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: NEW Add a basic Behat test to set MFA to be required, and ensure "I log in as" skips MFA registration #219

Conversation

robbieaverill
Copy link
Contributor

We need to override the "I am logged in with X permissions" Behat context step to ensure it skips MFA registration. This is done in a class override, but all other modules with Behat tests that use this (all of them) will fail unless they are aware of MFA. This is a limitation we'll need to keep in mind when implementing CWP kitchen sink-wide Behat test runs.

Resolves #99

@robbieaverill robbieaverill reopened this Jun 24, 2019
@robbieaverill robbieaverill changed the title NEW Add a basic Behat test to set MFA to be required, and ensure "I log in as" skips MFA registration WIP: NEW Add a basic Behat test to set MFA to be required, and ensure "I log in as" skips MFA registration Jun 24, 2019
@robbieaverill
Copy link
Contributor Author

I need to look at the build failures, but will come back to it later. I can't reproduce them locally.

tests/Behat/Context/LoginContext.php Show resolved Hide resolved
behat.yml Show resolved Hide resolved
Copy link
Contributor

@NightJar NightJar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks for answering those questions. Just tests to fix :)

@robbieaverill robbieaverill force-pushed the pulls/4.0/behat-tests branch from e85d2d2 to 3a097e2 Compare June 25, 2019 23:06
@robbieaverill robbieaverill force-pushed the pulls/4.0/behat-tests branch from 3a097e2 to f49b7ae Compare June 25, 2019 23:21
@robbieaverill
Copy link
Contributor Author

Will reopen this when it's working

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

Successfully merging this pull request may close these issues.

Introduce Behat
2 participants