Bot Account credential encryption
Scenario Distribution
Execution Summary
Top 10 Slowest Steps
Scenario Step Execution Time Trend
Steps per Scenarios
Top 10 Tags
Scenarios
No scenario found
Try adjusting your filters or search terms.
Given an authenticated bot account session
00:00:01.382
When I create a bot account named "bdd-enc-create" with token "super-secret-token"
00:00:00.009
Then the bot account response status should be 201
00:00:00.000
And the bot account response should have a null "token_encrypted"
00:00:00.000
And the stored bot account token should differ from "super-secret-token"
00:00:00.000
Given an authenticated bot account session
00:00:02.251
And I create a bot account named "bdd-enc-get" with token "another-secret-token"
00:00:00.004
When I get the created bot account
00:00:00.001
Then the bot account response status should be 200
00:00:00.000
And the bot account response should have a null "token_encrypted"
00:00:00.000
Given an authenticated bot account session
00:00:02.641
And I create a bot account named "bdd-enc-list" with token "list-secret-token"
00:00:00.017
When I list bot accounts
00:00:00.002
Then the bot account list response status should be 200
00:00:00.000
And every listed bot account should have a null "token_encrypted"
00:00:00.000
Given an authenticated bot account session
00:00:01.764
And I create a bot account named "bdd-empty-update" with token "my-secret-token"
00:00:00.006
When I update the created bot account with name "updated-name" and token ""
00:00:00.005
Then the bot account response status should be 200
00:00:00.000
And the stored bot account token should be unchanged
00:00:00.000
Given an authenticated bot account session
00:00:02.393
And I create a bot account named "bdd-no-token-update" with token "my-secret-token"
00:00:00.006
When I update the created bot account with name "updated-name"
00:00:00.007
Then the bot account response status should be 200
00:00:00.000
And the stored bot account token should be unchanged
00:00:00.000
Given an authenticated bot account session
00:00:01.414
And I create a bot account named "bdd-new-token-update" with token "my-initial-token"
00:00:00.019
When I update the created bot account with name "updated-name" and token "my-new-token"
00:00:00.013
Then the bot account response status should be 200
00:00:00.000
And the stored bot account token should be different from the original
00:00:00.000
And the stored bot account token decrypted should equal "my-new-token"
00:00:00.000