-
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.
Mise à jour de presta/sitemap-bundle (afup#1654)
* Mise à jour de `presta/sitemap-bundle` * Ajout du test functional
- Loading branch information
Showing
5 changed files
with
67 additions
and
30 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,35 @@ | ||
Feature: Site Public - Sitemaps | ||
|
||
@reloadDbWithTestData | ||
Scenario: On accède sitemap XML global | ||
Given I am on "/sitemap.xml" | ||
And the response should contain "<loc>https://apachephptest:80/sitemap.talks.xml</loc>" | ||
And the response should contain "<loc>https://apachephptest:80/sitemap.video.xml</loc>" | ||
And the response should contain "<loc>https://apachephptest:80/sitemap.news.xml</loc>" | ||
And the response should contain "<loc>https://apachephptest:80/sitemap.members.xml</loc>" | ||
And the response should contain "<loc>https://apachephptest:80/sitemap.default.xml</loc>" | ||
|
||
@reloadDbWithTestData | ||
Scenario: On accède sitemap talks | ||
Given I am on "/sitemap.talks.xml" | ||
And the response should contain "<loc>https://apachephptest:80/talks/1-jouons-tous-ensemble-a-un-petit-jeu</loc>" | ||
|
||
@reloadDbWithTestData | ||
Scenario: On accède sitemap video | ||
Given I am on "/sitemap.video.xml" | ||
And the response should contain "<loc>https://apachephptest:80/talks/1-jouons-tous-ensemble-a-un-petit-jeu</loc>" | ||
|
||
@reloadDbWithTestData | ||
Scenario: On accède sitemap news | ||
Given I am on "/sitemap.news.xml" | ||
And the response should contain "<loc>https://apachephptest:80/news/1-les-videos-du-forum-2018-en-ligne</loc>" | ||
|
||
@reloadDbWithTestData | ||
Scenario: On accède sitemap members | ||
Given I am on "/sitemap.members.xml" | ||
And the response should contain "<loc>https://apachephptest:80/profile/company/1-mycorp</loc>" | ||
|
||
@reloadDbWithTestData | ||
Scenario: On accède sitemap default | ||
Given I am on "/sitemap.default.xml" | ||
And the response should contain "<loc>https://apachephptest:80/home</loc>" |