-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Espace membre: - Présence AG - Saisie infos fiche entreprise publique Planete PHP : - Flux RSS - Listing article Billeterie : - Retour CB Paybox - Achat billet virement - Achat billet tarif membre
- Loading branch information
Showing
25 changed files
with
295 additions
and
29 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
default: | ||
suites: | ||
features: | ||
paths: | ||
- %paths.base%/planete/tests | ||
contexts: | ||
- FeatureContext | ||
- Behat\MinkExtension\Context\MinkContext | ||
extensions: | ||
Behat\MinkExtension: | ||
base_url: 'https://planetetest:80' | ||
sessions: | ||
default: | ||
goutte: | ||
guzzle_parameters: | ||
verify: false |
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Feature: Planete PHP - Home | ||
|
||
@reloadDbWithTestData | ||
Scenario: On voit bien toute la page | ||
Given I am on the homepage | ||
Then I should see "planete-php.fr" | ||
Then I should see "Un titre" | ||
Then I should see "Un 2e titre" | ||
Then I should see "Envoyez un email avec l'URL du site et du flux à planetephpfr AT afup POINT org" | ||
When I follow "Articles précédents" | ||
Then I should see "Articles précédents Articles suivants" |
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,10 @@ | ||
Feature: Planete PHP - RSS | ||
|
||
@reloadDbWithTestData | ||
Scenario: On accède bien au flux RSS | ||
Given I am on the homepage | ||
When I follow "RSS Feed" | ||
Then the response should contain "<title>planete php fr</title>" | ||
Then the response should contain "<title>Un titre</title>" | ||
Then the response should contain "<title>Un 2e titre</title>" | ||
Then the response should contain "</rss>" |
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 |
---|---|---|
|
@@ -114,9 +114,14 @@ Feature: Administration - Évènements - Gestions Évènements | |
And I should see "03/03/2027" | ||
And I should see "06/03/2027" | ||
|
||
Scenario: Si on tente d'en envoyer un mail de test sans contenu, on a un message d'erreur | ||
@reloadDbWithTestData | ||
@clearEmails | ||
Scenario: Si on tente d'en envoyer un mail de test sans contenu, on a un message d'erreur | ||
Given I am logged in as admin and on the Administration | ||
When I go to "/pages/administration/index.php?page=forum_gestion&action=modifier&id=1" | ||
And I fill in "mail_inscription_content" with "" | ||
And I press "Soumettre" | ||
When I go to "/pages/administration/index.php?page=forum_gestion&action=modifier&id=1" | ||
Then I should see "Modifier un évènement" | ||
When I follow "Envoyer un test du mail d'inscription sur [email protected]" | ||
Then I should see "Contenu du mail d'inscription non trouvé pour le forum forum" | ||
|
@@ -128,6 +133,8 @@ Feature: Administration - Évènements - Gestions Évènements | |
And I press "Soumettre" | ||
Then I should see "Le forum a été modifié" | ||
|
||
@reloadDbWithTestData | ||
@clearEmails | ||
Scenario: Si on tente d'en envoyer un mail de test avec contenu, le mail est bien envoyé | ||
Given I am logged in as admin and on the Administration | ||
When I go to "/pages/administration/index.php?page=forum_gestion&action=modifier&id=1" | ||
|
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
Oops, something went wrong.