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

Fix random title with trailing spaces #3831

Merged
merged 1 commit into from
Nov 8, 2019
Merged

Fix random title with trailing spaces #3831

merged 1 commit into from
Nov 8, 2019

Conversation

javierm
Copy link
Member

@javierm javierm commented Nov 8, 2019

References

Objectives

Fix a flaky spec in spec/features/dashboard/dashboard_spec.rb:282: Proposal's dashboard Request resource with admin request

Notes

When the generated title for a dashboard action ended with a space, the action click_link(feature.title) failed because the link shown in the HTML ignores the trailing spaces.

Using strip solves the problem. Not the most elegant solution, though; ideally we'd generate a better title.

When the generated title for a dashboard action ended with a space, the
action `click_link(feature.title)` failed because the link shown in the
HTML ignores the trailing spaces.

Using `strip` solves the problem. Not the most elegant solution, though;
ideally we'd generate a better title.
@javierm javierm added the Specs label Nov 8, 2019
@javierm javierm self-assigned this Nov 8, 2019
@javierm javierm added this to Reviewing in Roadmap via automation Nov 8, 2019
@javierm javierm merged commit fcb2e2f into master Nov 8, 2019
Roadmap automation moved this from Reviewing to Release 1.1.0 Nov 8, 2019
@javierm javierm deleted the fix_action_title branch November 8, 2019 17:41
smarques pushed a commit to venetochevogliamo/consul that referenced this pull request Apr 29, 2020
@javierm javierm added Flaky spec and removed Specs labels Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

1 participant