We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a paper When a user visits the paper's edit page Then it should have a select box for the first author
Create a <label> for each <select> and set the for attribute of the label to the id of the select. For example
<label>
<select>
for
f.label "Author 1", for: "paper_author_id_1" f.collection_select :author_ids, authors, :id, :name, {selected: @paper.author_ids[1], include_blank: '(none)'}, {name: "paper[author_ids][]", id: "paper_author_id_1"}
See collection_select
Expected to find visible field "author 1" that is not disabled but there were no matches
Estimated progress: 92% complete
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Scenario
Given a paper
When a user visits the paper's edit page
Then it should have a select box for the first author
Hints
Create a
<label>
for each<select>
and set thefor
attribute of the label to the id of the select. For exampleSee collection_select
Error
Estimated progress: 92% complete
The text was updated successfully, but these errors were encountered: