test(GODT-3220): Add step definition for logging in with alias address

GODT-3220
This commit is contained in:
Gjorgji Slamkov
2024-01-18 08:36:16 +01:00
committed by Gordana Zafirova
parent 0ca07066db
commit d919c0accf
2 changed files with 37 additions and 0 deletions

View File

@ -101,6 +101,7 @@ func (s *scenario) steps(ctx *godog.ScenarioContext) {
// ==== USER ====
ctx.Step(`^the user logs in with username "([^"]*)" and password "([^"]*)"$`, s.userLogsInWithUsernameAndPassword)
ctx.Step(`^the user logs in with alias address "([^"]*)" and password "([^"]*)"$`, s.userLogsInWithAliasAddressAndPassword)
ctx.Step(`^user "([^"]*)" logs out$`, s.userLogsOut)
ctx.Step(`^user "([^"]*)" is deleted$`, s.userIsDeleted)
ctx.Step(`^the auth of user "([^"]*)" is revoked$`, s.theAuthOfUserIsRevoked)