forked from Silverfish/proton-bridge
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:
@ -76,6 +76,7 @@ func (s *scenario) steps(ctx *godog.ScenarioContext) {
|
||||
ctx.Step(`^the user reports a bug$`, s.theUserReportsABug)
|
||||
ctx.Step(`^the user reports a bug with field "([^"]*)" set to "([^"]*)"$`, s.theUserReportsABugWithSingleHeaderChange)
|
||||
ctx.Step(`^the user reports a bug with details:$`, s.theUserReportsABugWithDetails)
|
||||
ctx.Step(`^the description "([^"]*)" provides the following KB suggestions:$`, s.theDescriptionInputProvidesKnowledgeBaseArticles)
|
||||
ctx.Step(`^the user hides All Mail$`, s.theUserHidesAllMail)
|
||||
ctx.Step(`^the user shows All Mail$`, s.theUserShowsAllMail)
|
||||
ctx.Step(`^the user disables telemetry in bridge settings$`, s.theUserDisablesTelemetryInBridgeSettings)
|
||||
|
||||
Reference in New Issue
Block a user