-
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.
Site public : - Actualités - Adhésion personne physique
- Loading branch information
Showing
3 changed files
with
71 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Feature: Site Public - News | ||
|
||
@reloadDbWithTestData | ||
Scenario: Accès à la liste des actualités | ||
Given I am on the homepage | ||
When I follow "Actualités" | ||
Then I should see "Actualités" | ||
And I should see "Les vidéos des talks du Forum PHP 2018 sont disponibles" | ||
And I follow "Lire l'article: Les vidéos des talks du Forum PHP 2018 sont disponibles" | ||
Then I should see "Les vidéos des talks du Forum PHP 2018 sont disponibles" | ||
Then I should see "Cycle de conférences : forum / Année : 2018" | ||
|
||
@reloadDbWithTestData | ||
Scenario: Filtre sur les actualités | ||
Given I am on the homepage | ||
When I follow "Actualités" | ||
Then I should see "Actualités" | ||
And I should see "Les vidéos des talks du Forum PHP 2018 sont disponibles" | ||
And I check "news_filters_year_0" | ||
And I submit the form with name "news_filters" | ||
And I should be on "/news/?news_filters[year][0]=2018" | ||
And I should see "Les vidéos des talks du Forum PHP 2018 sont disponibles" | ||
And I check "news_filters_theme_0" | ||
And I submit the form with name "news_filters" | ||
And I should be on "/news/?news_filters[theme][0]=1" | ||
And I should not see "Les vidéos des talks du Forum PHP 2018 sont disponibles" |
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