chahinebrini 3c52d8869e feat(native): WIP checkpoint — Profile/Settings/Demographics + WheelPicker + Maestro
Rollback-Punkt vor Expo SDK 54 / RN 0.81 Upgrade.

UI/UX:
- Profile: ProfileHeader redesign (sign-in chip + member-since), StatsBar 3 pill cards,
  Demographics accordion completed (Geburtsjahr, Geschlecht, Familienstand, Beruf-split,
  Wohnort), Pro-Trial-Banner, Approved-Domains list, DigaMissionBanner
- Settings: section-based layout, neutral icons (matched Header dropdown style)
- Header dropdown: extended with logout + games-page link
- Notifications page: skeleton dummy data
- Locales: i18n keys for new screens

New components:
- WheelPickerModal: native iOS UIPickerView wheel for long lists (Geburtsjahr 91 items,
  Bundesland 16, Stadt 30+/Bundesland)
- OptionsBottomSheet: iOS-style options sheet (used briefly for Geschlecht, currently
  unused — kept for potential future use)
- germanCities.ts: Top-cities per Bundesland (DSGVO-clean static data)

New libs (NewArch-codegen verified):
- @react-native-menu/menu 2.0.0 (UIMenu wrapper, Apple HIG-konform)
- @lodev09/react-native-true-sheet 3.10.1 (UISheetPresentationController wrapper —
  ABER incompatible mit RN 0.79.6, Build-Error → Trigger für SDK-54-Upgrade)

Maestro E2E:
- Initial setup mit auth/community/profile/urge flows

Scripts:
- build-ios-clean.sh: Xcode DerivedData + ios/build cleanup vor expo run:ios

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 19:32:27 +02:00

68 lines
1.9 KiB
YAML

# community/post.yaml
# User-Journey: Login -> Home-Feed -> ComposeCard tippen -> Text eingeben -> Submit.
# Prueft: ComposeCard sichtbar, Text-Input akzeptiert Input, Submit-Button aktiv wird,
# Post-Erstellung loest keine Crash aus.
#
# HINWEIS: Post-Erstellung sendet echten API-Call an Staging-Backend.
# Test-Posts landen in der DB. Clean-up manuell oder via Service-Role-Delete noetig.
#
# Pre-requisite: App installiert, E2E_TEST_USER hat einen gueltigen Account auf Staging.
# Env-Vars: E2E_TEST_USER, E2E_TEST_PASSWORD
appId: org.rebreak.app
---
- launchApp:
clearState: true
- waitForAnimationToEnd:
timeout: 5000
# --- Auth ---
- assertVisible:
text: "E-Mail"
- tapOn:
text: "E-Mail"
- inputText: ${E2E_TEST_USER}@rebreak.internal
- tapOn:
text: "Passwort"
- inputText: ${E2E_TEST_PASSWORD}
- tapOn:
text: "Anmelden"
- waitForAnimationToEnd:
timeout: 8000
# --- Home-Feed ---
- assertVisible:
text: "ReBreak"
# ComposeCard: TextInput mit placeholder t('community.compose_placeholder') = "Was bewegt dich gerade?"
# (de.json Z.602). Tippen auf den Placeholder-Bereich oeffnet den Compose-Modus.
- assertVisible:
text: "Was bewegt dich gerade?"
- tapOn:
text: "Was bewegt dich gerade?"
- waitForAnimationToEnd:
timeout: 1000
# Text eingeben
- inputText: "E2E Test-Post vom automatisierten Maestro-Flow. Bitte ignorieren."
# Nach Text-Eingabe erscheinen Actions (showActions = focused || content.length > 0).
# Submit-Button zeigt t('community.share') = "Teilen" (de.json).
- assertVisible:
text: "Teilen"
# Submit ausfuehren
- tapOn:
text: "Teilen"
# Nach erfolgreichem Post: ComposeCard resettet (content leer, Actions weg).
# Community-Query wird invalidiert, Feed refreshed.
# Wir pruefen dass der Compose-Input wieder im Idle-Zustand ist (Placeholder sichtbar).
- waitForAnimationToEnd:
timeout: 6000
- assertVisible:
text: "Was bewegt dich gerade?"