mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
test(GODT-3162): Add step definition for checking KB article suggestions
* Add a step definition that takes input from a possible problem report description, and gets the suggested knowledge base articles * Also, has input of what those knowledge base articles should be, just their title and url, and compares these two values. * A sample integration test is added
This commit is contained in:
23
tests/features/user/kb_article_suggestions.feature
Normal file
23
tests/features/user/kb_article_suggestions.feature
Normal file
@ -0,0 +1,23 @@
|
||||
Feature: The user reports a problem
|
||||
Background:
|
||||
Given bridge starts
|
||||
And it succeeds
|
||||
|
||||
Scenario: The user wants to report a problem
|
||||
Then the description "Setup Outlook Windows" provides the following KB suggestions:
|
||||
"""
|
||||
[
|
||||
{
|
||||
"url": "https://proton.me/support/protonmail-bridge-configure-client",
|
||||
"title": "How to configure your email client for Proton Mail Bridge"
|
||||
},
|
||||
{
|
||||
"url": "https://proton.me/support/protonmail-bridge-install",
|
||||
"title": "How to install Proton Mail Bridge"
|
||||
},
|
||||
{
|
||||
"url": "https://proton.me/support/protonmail-bridge-clients-windows-outlook-2019",
|
||||
"title": "Proton Mail Bridge Microsoft Outlook for Windows 2019 setup guide"
|
||||
}
|
||||
]
|
||||
"""
|
||||
Reference in New Issue
Block a user