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:
Gjorgji Slamkov
2023-12-15 09:53:49 +00:00
parent 8f5bd37aee
commit 3ac59d6943
3 changed files with 49 additions and 0 deletions

View 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"
}
]
"""