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

Add files via upload #59

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
16 changes: 16 additions & 0 deletions spec/features/Verification LDAP.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
require 'spec_helper'

feature 'Verification des informations via LDAP' do

scenario 'Verification' do
log_in_as 'alice' 'lapinblanc'
visit '/'
click_on_link 'Etudiant'
expect(page).to have_content 'Baptiste BAINIER'
click_on_link 'Baptiste BAINIER'

expect(page).to have_content 'baptiste.bainier@utt.fr'
expect(page).to have_content '39582'
expect(page).to have_content '0650250215'
end
end
11 changes: 11 additions & 0 deletions spec/features/Verification LDAP2.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require 'spec_helper'

feature 'Verification des informations via LDAP' do

scenario 'Verification' do
log_in_as 'alice' 'lapinblanc'
visit '/'
click_on_link 'Etudiant'
expect(page).to have_content 'Baptiste BAINIER'
end
end
17 changes: 17 additions & 0 deletions spec/features/ajouter une ressource secondaire.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
require 'spec_helper'

feature 'Enrichir son profil avec une compétence / centre d intérêt existant' do

scenario 'ajouter par le bouton plus' do
visit $home_page
click_on 'Se connecter'
log_in_as 'alice', 'lapinblanc'
click_on_link 'Etudiant'
click_on_link 'Baptiste BAINIER'
toggle_edit
click_on_plus_sign_next_to 'Ressources secondaires' #Ajouter cette fonctinalite
fill_in 'Nom : ', :with => 'Guillaume DOYEN(referent)'
fill_in 'Adresse : ', :with => 'http://guillaume-doyen.fr'
click_on 'Référencer'
end
end
30 changes: 30 additions & 0 deletions spec/features/ajouter_competence.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
require 'spec_helper'

feature 'Enrichir son profil avec une compétence / centre d intérêt existant' do

scenario 'ajouter par le bouton plus' do
visit $home_page
click_on 'Se connecter'
log_in_as 'alice', 'lapinblanc'
click_on_link 'Etudiant'
click_on_link 'Baptiste BAINIER'
toggle_edit
click_on_plus_sign_next_to 'Themes' #Ajouter cette fonctinalite
toggle_arborescence 'Competences'
click_on 'Symphony'
click_on_link 'Ajouter'

end

scenario 'ajouter par le bouton plus une competence inexistante' do
visit $home_page
click_on 'Se connecter'
log_in_as 'alice', 'lapinblanc'
click_on_link 'Competences'
toggle_edit
click_on_plus_sign_next_to 'Themes' #Ajouter cette fonctionalite
click_on_link 'sans nom'
type 'Nodejs'
toggle_edit
end
end
15 changes: 15 additions & 0 deletions spec/features/rechercher_intervenant.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
require 'spec_helper'

feature 'Rechercher les intervenants d\'une filliere' do

scenario 'Verification' do
visit $home_page
click_on 'Se connecter'
log_in_as 'alice', 'lapinblanc'
click_on_link 'Formation de l\'UTT'
click_on_link 'SM - Systèmes mécaniques'
click_on_link 'Technologie de l\'information pour la mécanique'
expect(page).to have_content 'Guillaume DOYEN'
expect(page).to have_content 'Guillaume DUCELLIER'
end
end