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

feat(auth_test.go): add interactive register spec #344

Merged
merged 1 commit into from
Dec 16, 2016

Conversation

vdice
Copy link
Member

@vdice vdice commented Dec 15, 2016

The caveat here is the semi-interactive compromise. I could not get interactive password entry (and re-entry for confirmation) to work -- the cli always claimed the passwords did not match. After an initial dive/experimentation into the gexpect library code we use here, I determined quite a bit of effort would be needed to shape up the code to begin to debug...

Therefore, I believe our bases are still covered (in checking behavior after an interactive register -- albiet only with username and email here). I can file a follow-up issue to revisit the aforementioned conundrum, if that is deemed necessary.

@vdice vdice added this to the v2.10 milestone Dec 15, 2016
@vdice vdice self-assigned this Dec 15, 2016
@deis-bot
Copy link

@mboersma, @Joshua-Anderson and @krancour are potential reviewers of this pull request based on my analysis of git blame information. Thanks @vdice!

@bacongobbler
Copy link
Member

bacongobbler commented Dec 15, 2016

I worked with @vdice on this particular problem and can confirm it was hell to debug. This is a great compromise. LGTM

@Joshua-Anderson
Copy link
Contributor

Nice! Deis V1 used to use gexpect with the python CLI, but when porting over to golang I had similar problems and wasn't able to track them down.

@bacongobbler
Copy link
Member

bacongobbler commented Dec 16, 2016

but when porting over to golang I had similar problems and wasn't able to track them down.

The mystery continues... 🔎

@mboersma
Copy link
Member

This is fine since it constitutes a test that would have caught the regression fixed by deis/workflow-cli#278. We can figure out the gexpect dain bramage later.

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.

5 participants