-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request afup#1549 from stakovicz/issue-1548-remove-worksho…
…p-afup-day afup#1548 remove workshop afup day
- Loading branch information
Showing
5 changed files
with
92 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,9 @@ Feature: Event pages - CFP | |
And I fill in "talk[abstract]" with "L'histoire des poissons rouges à travers les ages" | ||
And I fill in "talk[hasAllowedToSharingWithLocalOffices]" with "1" | ||
And I check "talk[codeOfConduct]" | ||
# Proposition d'atelier présent | ||
And I should see "Je propose de faire un atelier" | ||
And I should see "nous souhaitons proposer des ateliers" | ||
And I press "Sauvegarder" | ||
Then I should not see "Cette valeur ne doit pas être vide." | ||
And I should see "Proposition enregistrée !" | ||
|
@@ -55,3 +58,35 @@ Feature: Event pages - CFP | |
When I follow "Voter pour les conférences" | ||
Then I should see "Les nouvelles conférences à noter" | ||
And I should see "Généalogie des poissons rouges" | ||
|
||
Scenario: On crée une nouvelle proposition pour un AFUP day en tant que userGithub1 | ||
Given I am on "/event/afup-day-lyon/cfp" | ||
Then I should see "Oauth login test" | ||
When I follow "Connect as userGithub1" | ||
Then I should see "Mon espace conférencier" | ||
When I follow "Mon profil conférencier" | ||
# Création du profile | ||
Then The "speaker[civility]" field should only contain the follow values '["M", "Mme"]' | ||
When I fill in "speaker[firstname]" with "Mon prénom" | ||
And I fill in "speaker[lastname]" with "Mon prénom" | ||
And I fill in "speaker[email]" with "[email protected]" | ||
And I fill in "speaker[biography]" with "Ma biographie" | ||
And I attach the file "avatar1.png" to "speaker[photoFile]" | ||
And I press "Sauvegarder" | ||
# Nouvelle proposition | ||
When I follow "Nouvelle proposition" | ||
Then I should see "J'accepte le code de conduite et les conditions générales de participation" | ||
When I fill in "talk[title]" with "Généalogie des poissons rouges" | ||
And I fill in "talk[abstract]" with "L'histoire des poissons rouges à travers les ages" | ||
And I fill in "talk[hasAllowedToSharingWithLocalOffices]" with "1" | ||
And I check "talk[codeOfConduct]" | ||
# Proposition d'atelier non présent | ||
And I should not see "Je propose de faire un atelier" | ||
And I should not see "nous souhaitons proposer des ateliers" | ||
And I press "Sauvegarder" | ||
Then I should not see "Cette valeur ne doit pas être vide." | ||
And I should see "Proposition enregistrée !" | ||
When I am on "/event/forum/cfp" | ||
Then I should see "Généalogie des poissons rouges" | ||
When I am on "/event/forum/vote" | ||
Then I should not see "Généalogie des poissons rouges" |