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

convert cucumber to capybara #457

Merged
merged 8 commits into from
Mar 5, 2018
Merged

convert cucumber to capybara #457

merged 8 commits into from
Mar 5, 2018

Conversation

mi-wood
Copy link
Member

@mi-wood mi-wood commented Feb 17, 2018

Context

  • Move off of cucumber to decrease time to write controller test

@mi-wood mi-wood changed the title checkpoint to test on travis convert cucumber to capybara Feb 17, 2018
@mi-wood
Copy link
Member Author

mi-wood commented Feb 18, 2018

I'm having trouble figuring out why adding poltergeist is causing these timeout, since the same tests worked with cucumber. I imagine it's some default cucumber setting being applied that is not with capybara.

If someone else could take a look, that would be a huge help. maybe @stardust66 or @DeeDeeG .

@mi-wood
Copy link
Member Author

mi-wood commented Feb 18, 2018

I didn't realize that this is also failing in develop, which means something has happened since our last merge.

@DeeDeeG
Copy link
Contributor

DeeDeeG commented Feb 18, 2018

Oddly enough, this: #448 is the one PR related to docker that is at about the right spot in the commit history. Maybe try removing the .gitattributes file for this branch, and push to this PR so Travis retries?

@DeeDeeG
Copy link
Contributor

DeeDeeG commented Feb 18, 2018

By the way, I'm getting a lot of useful info to track down this problem by viewing the history of all PRs, including closed ones. That shows about when this started happening (where red xes start showing up.)

https://github.com/RefugeRestrooms/refugerestrooms/pulls?utf8=✓&q=is%3Apr

@mi-wood
Copy link
Member Author

mi-wood commented Feb 18, 2018

@DeeDeeG it times out with or without that file. also, the most recent develop merged would have failed if that had something to do with it.

I'm thinking it's a) something new unrelated to a change (external api calls or something) or b) something flaky that's only happening some time that was introduced recently

I'm leaning towards a, since I've yet to get the tests to pass and they seem to be failing consistently in the same spot

@DeeDeeG
Copy link
Contributor

DeeDeeG commented Feb 18, 2018

I'd like to set up a PR or two exclusively for some Travis debugging. Will do soon.

@DeeDeeG
Copy link
Contributor

DeeDeeG commented Feb 19, 2018

Would folks be interested in setting up Travis not to use Docker, just to keep the Travis setup simpler, more low-level, hopefully less moving parts and less breakable?

@DeeDeeG
Copy link
Contributor

DeeDeeG commented Feb 19, 2018

I'm thinking it's a) something new unrelated to a change (external api calls or something) . . .

After trying some things, I have to agree with this. I do not think this is a problem we caused ourselves in this repo. It looks more like one of our dependencies has a bug.

All my recent PRs tested various small changes we could make. All of said PRs still had the timeouts. So that seems to rule out a lot of the possible causes within our repo.

@mi-wood
Copy link
Member Author

mi-wood commented Feb 19, 2018

I cannot figure out what might be wrong here. I tried a few more things:

  • running outside of docker
  • removing the piwik url (since that was a recent change)

Still having no luck tracking this down. It's so bizarre that a change in our code didn't trigger this

@DeeDeeG
Copy link
Contributor

DeeDeeG commented Feb 19, 2018 via email

@mi-wood
Copy link
Member Author

mi-wood commented Mar 5, 2018

I'm going to deploy this, since the current issue with the maps API is causing browsers to crash :(

@mi-wood mi-wood merged commit 93eb8b0 into develop Mar 5, 2018
@mi-wood mi-wood deleted the remove-cucumber branch March 5, 2018 21:06
DeeDeeG pushed a commit to DeeDeeG/refugerestrooms that referenced this pull request Oct 15, 2018
DeeDeeG pushed a commit to DeeDeeG/refugerestrooms that referenced this pull request Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants