From 5386508f9f1e0073b3f1d9dee67b021c2f363cf3 Mon Sep 17 00:00:00 2001 From: Jordan Roe Date: Tue, 5 Nov 2024 10:42:19 -0500 Subject: [PATCH 1/3] feat: Authentication.feat cleanup --- .../Authentication.feature | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/cypress/TestCases/FireboltCertification/Authentication.feature b/cypress/TestCases/FireboltCertification/Authentication.feature index b4b855a81..7503d655e 100644 --- a/cypress/TestCases/FireboltCertification/Authentication.feature +++ b/cypress/TestCases/FireboltCertification/Authentication.feature @@ -6,36 +6,36 @@ Feature: Authentication And 3rd party 'certification' app is launched @sdk @transport - Scenario Outline: Authentication.token - Positive Scenario: + Scenario Outline: Authentication.token - Validate API Method response for When '3rd party app' invokes the 'Firebolt' API to '' Then 'Firebolt' platform responds with '' Examples: - | Scenario | API_Key | Validation_key | - | Get Platform token type | get the authentication token for platform | platform authentication token | - | Get Device token type | get the authentication token for device | decode base64 authentication token | - | Get Distributor token type | get the authentication token for distributor | decode base64 authentication token | - | Get Distributor-CIMA token type | get the authentication token for distributor_CIMA | decode base64 authentication token | - | Get Distributor-OAT token type | get the authentication token for distributor_OAT | decode base64 authentication token | + | Scenario | API_Key | Validation_key | + | Platform token type | get the authentication token for platform | platform authentication token | + | Device token type | get the authentication token for device | decode base64 authentication token | + | Distributor token type | get the authentication token for distributor | decode base64 authentication token | + | Distributor-CIMA token type | get the authentication token for distributor_CIMA | decode base64 authentication token | + | Distributor-OAT token type | get the authentication token for distributor_OAT | decode base64 authentication token | @sdk @transport - Scenario Outline: Authentication. - Positive Scenario: + Scenario Outline: Authentication. - Validate API Method response for When '3rd party app' invokes the 'Firebolt' API to '' Then 'Firebolt' platform responds with '' Examples: - | Scenario | API_Key | Validation_key | Method | - | Get Device token type | fetch device token | authentication device | device | - | Get Session token type | fetch session token | authentication session | session | - | Get Root token type | fetch root token | authentication root | root | + | Scenario | API_Key | Validation_key | Method | + | Device token type | fetch device token | authentication device | device | + | Session token type | fetch session token | authentication session | session | + | Root token type | fetch root token | authentication root | root | @sdk @transport - Scenario Outline: Authentication.token - Negative Scenario: expecting error + Scenario Outline: Authentication.token - Validating API Error Handling When Given When '3rd party app' invokes the 'Firebolt' API to '' Then 'Firebolt' platform responds with '' Examples: - | Scenario | API_Key | Validation_key | - | Invalid Parameter Platform1 | get token with platform1 parameter | invalid parameter error authentication token | - | Invalid Parameter type Boolean | get token with true parameter | invalid parameter error authentication token | - | Invalid Parameter type Integer | get token with integer parameter | invalid parameter error authentication token | \ No newline at end of file + | Scenario | API_Key | Validation_key | + | Invalid Parameter for Platform1 | get token with platform1 parameter | invalid parameter error authentication token | + | Invalid Parameter with type Boolean | get token with true parameter | invalid parameter error authentication token | + | Invalid Parameter with type Integer | get token with integer parameter | invalid parameter error authentication token | \ No newline at end of file From afb8f63ce2acc9553346f9b733cfe9f8897a31dc Mon Sep 17 00:00:00 2001 From: Jordan Roe Date: Fri, 8 Nov 2024 10:06:27 -0500 Subject: [PATCH 2/3] adjustments --- .../FireboltCertification/Authentication.feature | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cypress/TestCases/FireboltCertification/Authentication.feature b/cypress/TestCases/FireboltCertification/Authentication.feature index 7503d655e..a1d967a82 100644 --- a/cypress/TestCases/FireboltCertification/Authentication.feature +++ b/cypress/TestCases/FireboltCertification/Authentication.feature @@ -30,12 +30,12 @@ Feature: Authentication | Root token type | fetch root token | authentication root | root | @sdk @transport - Scenario Outline: Authentication.token - Validating API Error Handling When Given + Scenario Outline: Authentication.token - Validating API Error handling when given When '3rd party app' invokes the 'Firebolt' API to '' Then 'Firebolt' platform responds with '' Examples: - | Scenario | API_Key | Validation_key | - | Invalid Parameter for Platform1 | get token with platform1 parameter | invalid parameter error authentication token | - | Invalid Parameter with type Boolean | get token with true parameter | invalid parameter error authentication token | - | Invalid Parameter with type Integer | get token with integer parameter | invalid parameter error authentication token | \ No newline at end of file + | Scenario | API_Key | Validation_key | + | invalid parameters for Platform1 | get token with platform1 parameter | invalid parameter error authentication token | + | invalid parameters with type Boolean | get token with true parameter | invalid parameter error authentication token | + | invalid parameters with type Integer | get token with integer parameter | invalid parameter error authentication token | \ No newline at end of file From d731e0a759e670bfbea4b174ef63bb41948254fa Mon Sep 17 00:00:00 2001 From: Jordan Roe Date: Wed, 13 Nov 2024 09:12:57 -0500 Subject: [PATCH 3/3] adjustments + SevTags --- .../FireboltCertification/Authentication.feature | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/cypress/TestCases/FireboltCertification/Authentication.feature b/cypress/TestCases/FireboltCertification/Authentication.feature index a1d967a82..14252bb69 100644 --- a/cypress/TestCases/FireboltCertification/Authentication.feature +++ b/cypress/TestCases/FireboltCertification/Authentication.feature @@ -5,7 +5,7 @@ Feature: Authentication Given the environment has been set up for 'Authentication' tests And 3rd party 'certification' app is launched - @sdk @transport + @sdk @transport @Sev0 Scenario Outline: Authentication.token - Validate API Method response for When '3rd party app' invokes the 'Firebolt' API to '' Then 'Firebolt' platform responds with '' @@ -15,10 +15,18 @@ Feature: Authentication | Platform token type | get the authentication token for platform | platform authentication token | | Device token type | get the authentication token for device | decode base64 authentication token | | Distributor token type | get the authentication token for distributor | decode base64 authentication token | + + @sdk @transport @Sev1 + Scenario Outline: Authentication.token - Validate API Method response for + When '3rd party app' invokes the 'Firebolt' API to '' + Then 'Firebolt' platform responds with '' + + Examples: + | Scenario | API_Key | Validation_key | | Distributor-CIMA token type | get the authentication token for distributor_CIMA | decode base64 authentication token | | Distributor-OAT token type | get the authentication token for distributor_OAT | decode base64 authentication token | - @sdk @transport + @sdk @transport @Sev0 Scenario Outline: Authentication. - Validate API Method response for When '3rd party app' invokes the 'Firebolt' API to '' Then 'Firebolt' platform responds with '' @@ -29,7 +37,7 @@ Feature: Authentication | Session token type | fetch session token | authentication session | session | | Root token type | fetch root token | authentication root | root | - @sdk @transport + @sdk @transport @Sev1 Scenario Outline: Authentication.token - Validating API Error handling when given When '3rd party app' invokes the 'Firebolt' API to '' Then 'Firebolt' platform responds with ''