Skip to content

Conversation

@mperezv
Copy link
Collaborator

@mperezv mperezv commented Feb 17, 2020

We were having problems with tests as much in local as in Travis because they weren't able to find the submit button on login, even though we were pretty sure of the button being there. At last, we found out that the page was printing in english and the test was looking for a spanish content of tag. So it wasn't able to find it.

In order of the test finding the submit button on login we set default.locale variable to english on config/environments/test.rb to change the language in which the test looks for the button.

It worked the other day in local, I have a witness (@sauloperez), but for some reason it's failing on Travis and local today. So, currently, I'm trying to figure out how to fix it for real.

Copy link
Collaborator

@sauloperez sauloperez left a comment

Choose a reason for hiding this comment

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

It would be great if you could explain in the description why you needed to do that so others can understand it and review this properly. I know but others won't.

@sauloperez
Copy link
Collaborator

@markets you might know what's going on

…a submit button, not checking the language translation
@markets
Copy link
Collaborator

markets commented Feb 23, 2020

👋 Taking a look in #401

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.

3 participants