chore: heygermany customer project
This commit is contained in:
64
e2e/tests/features/public-pages.feature
Normal file
64
e2e/tests/features/public-pages.feature
Normal file
@@ -0,0 +1,64 @@
|
||||
@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"
|
||||
Reference in New Issue
Block a user