-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelp_faq.feature
More file actions
191 lines (161 loc) · 6.24 KB
/
Copy pathhelp_faq.feature
File metadata and controls
191 lines (161 loc) · 6.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# SPDX-FileCopyrightText: 2026 Mattia Egloff <mattia.egloff@pm.me>
#
# SPDX-License-Identifier: GPL-3.0-or-later
@help @faq @ui
Feature: Help & FAQ System
As a Vauchi user
I want to access help content and frequently asked questions
So that I can understand the app without external resources
Background:
Given the Vauchi application is running
# ============================================================
# FAQ Categories
# ============================================================
@categories @implemented
Scenario: View FAQ categories
When I open the Help section
Then I should see the following categories:
| Category |
| Getting Started |
| Privacy |
| Recovery |
| Contacts |
| Updates |
| Features |
And each category should show its FAQ count
@categories @implemented
Scenario: Browse FAQs in a category
When I select the "Privacy" category
Then I should see only FAQs related to privacy and security
And each FAQ should show its question
And I should be able to expand any FAQ to see the answer
@categories @planned
Scenario: Category aliases are accepted
When I search for category "security"
Then I should see the same FAQs as the "Privacy" category
And "sync" should show the same FAQs as "Updates"
And "start" should show the same FAQs as "Getting Started"
# ============================================================
# FAQ Content
# ============================================================
@content @implemented
Scenario: View a specific FAQ
When I open FAQ "faq-phone-lost"
Then I should see the question about losing my phone
And I should see the detailed answer
And I should see related FAQs if any exist
@content @implemented
Scenario: Related FAQs are linked
Given I am viewing FAQ "faq-tracking"
Then I should see related FAQs suggested
And tapping a related FAQ should navigate to it
@content @implemented
Scenario: All categories have at least one FAQ
When I list all FAQ categories
Then every category should have at least one FAQ entry
And no FAQ should be uncategorized
@content @implemented
Scenario: FAQ content covers core topics
When I list all FAQs
Then there should be FAQs covering:
| Topic |
| What happens if I lose my phone |
| How to set up recovery |
| Does Vauchi track me |
| Where is my data stored |
| How is my data encrypted |
| How to remove a contact |
| How to block a contact |
| How updates work |
| What happens when I'm offline |
| How to add my first contact |
| Why exchange is in-person |
| What are visibility labels |
| Default visibility rules |
| Using multiple devices |
# ============================================================
# Search
# ============================================================
@search @implemented
Scenario: Search FAQs by keyword
When I search for "encryption"
Then I should see FAQs mentioning encryption
And the results should be ranked by relevance
@search @implemented
Scenario: Search with no results
When I search for "xyznonexistent"
Then I should see an empty result set
And I should see a message indicating no FAQs matched
@search @implemented
Scenario: Search is case-insensitive
When I search for "RECOVERY"
Then I should see the same results as searching for "recovery"
# ============================================================
# Localization
# ============================================================
@i18n @implemented
Scenario: FAQs are shown in the user's language
Given my locale is set to "de"
When I view the FAQ list
Then questions and answers should be displayed in German
@i18n @implemented
Scenario Outline: FAQ localization for supported languages
Given my locale is set to "<locale>"
When I view FAQ "faq-tracking"
Then the question should be in "<language>"
And the answer should be in "<language>"
Examples:
| locale | language |
| en | English |
| de | German |
| fr | French |
| es | Spanish |
@i18n @planned
Scenario: FAQ falls back to English for unsupported locale
Given my locale is set to "xx"
When I view the FAQ list
Then FAQs should be displayed in English
# ============================================================
# Platform Access
# ============================================================
@platform @implemented
Scenario: Access FAQs from CLI
When I run "vauchi faq list"
Then I should see all FAQs formatted for the terminal
@platform @implemented
Scenario: Search FAQs from CLI
When I run "vauchi faq list --query encryption"
Then I should see only FAQs matching "encryption"
@platform @implemented
Scenario: View FAQ categories from CLI
When I run "vauchi faq categories"
Then I should see all categories with their FAQ counts
@platform @implemented
Scenario: View specific FAQ from CLI
When I run "vauchi faq show faq-phone-lost"
Then I should see the full question and answer
And I should see related FAQ IDs if any exist
@platform @implemented
Scenario: Access FAQs from desktop app
When I navigate to the Help page
Then I should see a searchable FAQ interface
And I should be able to browse by category
@platform @implemented
Scenario: Access FAQs from TUI
When I navigate to the Help screen
Then I should see FAQ content navigable with keyboard
# ============================================================
# Offline & Updates
# ============================================================
@offline @implemented
Scenario: FAQs are available offline
Given I have no network connection
When I open the Help section
Then I should see all bundled FAQ content
And no error should be shown
@updates @planned
Scenario: FAQ content updated via remote content
Given a new FAQ has been published remotely
When the app fetches content updates
Then the new FAQ should appear in the Help section
And existing FAQs should be preserved