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

Create Research by attribute #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions spec/features/Research by attribute.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
require 'spec_helper'

feature 'Research by attribute' do

scenario 'by responsible' do
visit '/'
click_on 'Rechercher par attributs'
select 'UV', :from => 'Corpus'
select 'Responsable', :from => 'Nom'
select 'Andrea Duhamel', :from => 'Valeur'
click_on 'Rechercher'
click_on 'NF20'
end

scenario 'by two intervenants' do
visit '/'
click_on 'Rechercher par attributs'
select 'UV', :from => 'Corpus'
select 'Intervenant', :from => 'Nom'
select 'Aurélien Benel', :from => 'Valeur'
click_on '+'
select 'Intervenant', :from => 'Nom'
select 'Guillaume Doyen', :from => 'Valeur'
click_on 'Rechercher'
click_on 'IF14'
end

scenario 'by Evaluation' do
visit '/'
click_on 'Rechercher par attributs'
select 'UV', :from => 'Corpus'
select 'Evaluation', :from => 'Nom'
select 'Median', :from => 'Valeur'
click_on 'Rechercher'
click_on 'NF19'
end
end