Files
heygermany-e2e-mrg511by/e2e/tests/features/public-pages.feature
e2e 36f1b746bd
Some checks failed
Main / Setup and Test (push) Has been cancelled
Main / Build Website (push) Has been cancelled
chore: heygermany customer project
2026-07-11 11:03:59 +02:00

65 lines
2.1 KiB
Gherkin

@smoke
Feature: Public pages
Public entry points should render without crashing and show their core content.
Scenario: localized home page loads
Given I visit "/en"
Then I see "Begin Your Nursing Career in Germany"
And I see "Check My Qualification"
Scenario: about page loads
Given I visit "/en/about"
Then I see "About HeyGermany"
And I see "Ready to Start Your Journey?"
Scenario: application page loads
Given I visit "/en/jobs/apply"
Then I see "Who is This For?"
And I see "Get Your Results"
Scenario: result route redirects back to the application flow
Given I visit "/en/jobs/result"
Then the URL contains "/en/jobs/apply"
And I see "Who is This For?"
Scenario: pilot landing page loads
Given I visit "/pilot"
Then I see "Pilot-Partner werden"
And I see "Warum Pflegeeinrichtungen HeyGermany wählen"
Scenario: imprint page loads
Given I visit "/en/legal/imprint"
Then I see "Imprint"
And I see "Information according to"
Scenario: privacy page loads
Given I visit "/en/legal/privacy"
Then I see "Privacy Policy"
And I see "Data Controller"
Scenario: terms page loads
Given I visit "/en/legal/terms-and-conditions"
Then I see "Terms & Conditions"
And I see "User Responsibilities"
Scenario: magic link page handles missing token
Given I visit "/en/auth/magic-link"
Then I see "Magic link failed"
And I see "No magic link token provided."
Scenario: verify email success page loads
Given I visit "/en/verify-email?verified=1"
Then I see "Thank you for verifying your email!"
And I see "Your account is now active and ready to use."
Scenario: verify email error page loads
Given I visit "/en/verify-email?error=expired"
Then I see "Email Verification Failed"
And I see "Please try requesting a new verification email or contact support if the problem persists."
Scenario: demo result page loads
Given I visit "/en/jobs/result/demo"
Then I see "Good News Maria Santos"
And I see "You May Qualify as a Nurse in Berlin"
And I see "Get Help"