---
phase: 07-testing-polish
plan: 02
type: execute
depends_on: []
files_modified: []
---
Verify complete mentor workflow from browsing protected job board through application submission and notification opt-in works end-to-end.
Purpose: Ensure mentors (subscribers) can browse approved jobs, view details, apply to positions, and manage notification preferences - the complete mentor experience works as designed.
Output: Verified mentor user journey, documented test results, issues logged if any.
~/.claude/get-shit-done/workflows/execute-plan.md
~/.claude/get-shit-done/references/checkpoints.md
./summary.md
@.planning/PROJECT.md
@.planning/ROADMAP.md
@.planning/STATE.md
# Prior work being tested:
@.planning/phases/05-mentor-job-board/05-01-SUMMARY.md
@.planning/phases/05-mentor-job-board/05-02-SUMMARY.md
@.planning/phases/05-mentor-job-board/05-03-SUMMARY.md
@.planning/phases/05-mentor-job-board/05-04-SUMMARY.md
@.planning/phases/06-email-notifications/06-01-SUMMARY.md
**Tech stack being tested:** Elementor templates (archive, single post), ACF fields display, Formidable form F5 (job application), access control, user preferences, notification opt-in
**Expected flows:** Login-protected archive, job detail pages with logo/fields, application form sends email to provider, mentor can opt-in to notifications
**Established patterns:** German UI, access control redirects to /anbieter-login/, 200x200px logo auto-crop, German email templates
Protected job archive with access control (Phase 5)
**Test Access Control (Logged Out):**
1. Ensure you're logged out
2. Visit: /jobangebote/ (job archive)
3. Confirm: Redirected to /anbieter-login/ (archive is protected)
4. Try to visit a single job post URL directly
5. Confirm: Redirected to /anbieter-login/ (single posts also protected)
**Test Archive Access (Logged In as Mentor/Subscriber):**
1. Log in as subscriber/mentor user
- If no mentor user exists, create one in WP admin (Users → Add New → Role: Subscriber)
- Or register as provider and admin can change role to subscriber
2. Visit: /jobangebote/
3. Confirm: Archive page loads successfully
4. Confirm: Published jobs are visible
5. Confirm: Pending/draft jobs are NOT visible
6. Confirm: Job listings show basic info (title, excerpt, etc.)
**Test Elementor Template:**
1. Verify archive template displays correctly
2. Check responsive design (desktop, tablet, mobile if needed)
3. Confirm no layout issues or broken elements
Type "approved" when archive access control and display work correctly, or describe issues
Job detail page with ACF fields and application form (Phase 5)
**Prerequisites:**
- Logged in as mentor/subscriber
- At least one published job exists (from Phase 7 Plan 1 testing or admin-created)
**Test Job Detail Page:**
1. From archive (/jobangebote/), click on a job listing
2. Single job post page loads
3. Confirm: All ACF fields display correctly:
- Job title (post title)
- Job description (post content)
- Location (job_location)
- Job type (job_type)
- Contact email (job_contact_email)
- Logo (job_logo) displays at 200x200px if uploaded
4. Confirm: Elementor template renders properly
5. Confirm: No PHP errors or warnings
**Test Application Form (F5):**
1. Find "Apply" button or application form on job detail page
2. Fill out application form with test data:
- Applicant name
- Applicant email (auto-filled if logged in)
- Cover message
3. Submit application
4. Confirm: Success message displays
5. Confirm: Form stays on same page (no redirect)
**Test Application Email:**
1. Check email inbox for job provider's contact email (job_contact_email)
2. Confirm: Application notification received
3. Confirm: Email includes:
- Applicant name and email
- Cover message
- Job title
- German language template
4. Confirm: Email is readable and properly formatted
Type "approved" when job detail and application work correctly, or describe issues
Mentor notification opt-in system (Phase 6)
**Prerequisites:** Logged in as mentor/subscriber
**Test Notification Preference Toggle:**
1. Visit profile page: /wp-admin/profile.php
2. Scroll to notification preferences section
3. Confirm: Checkbox appears with German label:
"Benachrichtigungen über neue Stellenangebote erhalten"
4. Confirm: Checkbox only visible for subscribers (mentors), not other roles
5. Check the opt-in checkbox
6. Click "Update Profile" to save
7. Confirm: Preference saves successfully
8. Refresh page
9. Confirm: Checkbox remains checked (preference persisted)
**Test Notification Email (if possible):**
1. With opt-in enabled for test mentor user
2. Have admin publish a new job (or trigger via provider flow)
3. Check mentor's email inbox
4. Confirm: Notification email received with:
- German subject: "Neues Stellenangebot: [job title]"
- Job details (title, location, type, permalink)
- Unsubscribe hint in German
5. If NOT opted in, confirm: No email received
**Test Async Processing (Background Jobs):**
1. Check Action Scheduler status: /wp-admin/tools.php?page=action-scheduler
2. Confirm: Scheduled actions for email batches appear
3. Confirm: Actions complete successfully (status: complete)
4. Confirm: No failed actions or errors
Type "approved" when notification opt-in and email system work correctly, or describe issues
Before declaring plan complete:
- [ ] Logged-out users cannot access job archive or detail pages
- [ ] Logged-in mentors can browse job archive
- [ ] Job detail pages display all ACF fields correctly
- [ ] Logo displays at 200x200px when uploaded
- [ ] Application form submits successfully
- [ ] Provider receives application email
- [ ] Notification preference toggle works for subscribers
- [ ] Opted-in mentors receive job publish notifications
- [ ] Action Scheduler processes email batches successfully
- Complete mentor lifecycle tested end-to-end
- All workflows function without errors
- Access control protects job content from public
- Application emails reach providers
- Notification system works for opted-in mentors
- German UI and emails display properly
- Any issues documented for fixes