R3.2: Kontakt-/Ueber-uns-Routen zurueckgebaut, Spoke-Footer bereinigt
- GET kontakt/ueber-uns -> 301 auf die Ausgaben-Startseite; kontakt.store-POST bleibt fuer das Hub-Kontakt-Modal - Legacy-Aliases (contact/kontakt/ueber-uns) buendeln auf die Startseite - Spoke-Footer: Kontakt als mailto (Betreiber-Fallback bis R2.1), Ueber-uns-Link raus, Selfservice-Kuendigungslink ergaenzt - Sitemap-Konstanten bereinigt, Tests angepasst Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
73fc3827c8
commit
0645d1d855
6 changed files with 55 additions and 25 deletions
|
|
@ -9,9 +9,7 @@ dataset('static pages', [
|
|||
'cookies' => ['de/cookies', 'Cookie-Richtlinien'],
|
||||
'faq' => ['de/faq', 'Häufig gestellte Fragen'],
|
||||
'hilfe' => ['de/hilfe', 'Hilfe-Center'],
|
||||
'kontakt' => ['de/kontakt', 'Kontakt'],
|
||||
'ueber-uns' => ['de/ueber-uns', 'Über uns'],
|
||||
'api' => ['de/api', 'API & Integrationen'],
|
||||
'api' => ['de/api', 'API-Dokumentation'],
|
||||
]);
|
||||
|
||||
test('static pages render in the editorial design', function (string $path, string $heading) {
|
||||
|
|
@ -32,9 +30,19 @@ test('the faq page lists questions and links to support', function () {
|
|||
->assertSuccessful()
|
||||
->assertSeeText('Wie veröffentliche ich meine erste Pressemitteilung?')
|
||||
->assertSeeText('Frage nicht gefunden?')
|
||||
->assertSee(route('kontakt'), false);
|
||||
// Kontakt läuft nach dem Rückbau der Kontakt-Seite über das
|
||||
// Support-Postfach und die Kündigung über die eigene Seite.
|
||||
->assertSee('mailto:', false)
|
||||
->assertSee(route('kuendigung', ['edition' => 'de']), false);
|
||||
});
|
||||
|
||||
test('the retired contact and about pages redirect to the edition home', function (string $path) {
|
||||
/** @var TestCase $this */
|
||||
$this->get('https://businessportal24.test/de/'.$path)
|
||||
->assertStatus(301)
|
||||
->assertRedirect('https://businessportal24.test/de');
|
||||
})->with(['kontakt', 'ueber-uns']);
|
||||
|
||||
test('the help center shows quick links and topics', function () {
|
||||
/** @var TestCase $this */
|
||||
$this->get('https://businessportal24.test/de/hilfe')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue