-
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.
Planete PHP
- Loading branch information
Showing
7 changed files
with
91 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
default: | ||
suites: | ||
planete_features: | ||
paths: | ||
- %paths.base%/tests/behat-planete | ||
contexts: | ||
- FeatureContext | ||
- Behat\MinkExtension\Context\MinkContext | ||
extensions: | ||
Behat\MinkExtension: | ||
base_url: 'https://planetetest:80' | ||
files_path: '%paths.base%/tests/behat/files' | ||
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
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>" |