Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.
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