web: Unter-Navigation Preise/Transparenz auf allen vier Seiten mit aktivem Punkt
"Tarife & Preise" als erster Punkt; x-web.static-page bekommt einen Slot `aboveTitle`, die drei Transparenzseiten tragen dieselbe Leiste mit markierter aktueller Seite. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c96c8a6e45
commit
134af424ea
9 changed files with 29 additions and 6 deletions
|
|
@ -67,13 +67,17 @@ test('the change page names the five ways with their prices and points to the se
|
|||
->assertSee('10 € netto')
|
||||
->assertSee('35 € netto')
|
||||
->assertSee('/de/melden/pm', false)
|
||||
->assertSee('Die Meldung steht auf einem anderen Portal?');
|
||||
->assertSee('Die Meldung steht auf einem anderen Portal?')
|
||||
// Unter-Navigation: aktuelle Seite markiert, Preisseite verlinkt.
|
||||
->assertSee('aria-current="page">Meldung löschen oder ändern</span>', false)
|
||||
->assertSee("/de/preise\" class=", false);
|
||||
});
|
||||
|
||||
test('the pages are linked from the pricing page, the help centre and the sitemap', function () {
|
||||
/** @var TestCase $this */
|
||||
$this->get('https://presseecho.test/de/preise')->assertSuccessful()
|
||||
->assertSee('aria-label="Transparenz"', false)
|
||||
->assertSee('aria-current="page">Tarife & Preise</span>', false)
|
||||
->assertSee('/de/was-kostet-eine-pressemitteilung', false)
|
||||
->assertSee('/de/pressemitteilung-veroeffentlichen-ohne-abo', false)
|
||||
->assertSee('/de/pressemitteilung-loeschen-oder-aendern-lassen', false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue