Skip to content

Push on COR-2974-wasm-config-body-type #2177

Push on COR-2974-wasm-config-body-type

Push on COR-2974-wasm-config-body-type #2177

GitHub Actions / Test Report succeeded Aug 8, 2024 in 1s

268 passed, 0 failed and 32 skipped

Tests passed successfully

βœ…Β jest-junit.xml

300 tests were completed in 153s with 268 passed, 0 failed and 32 skipped.

Test suite Passed Failed Skipped Time
harness/features/allFeatures.cloud.test.ts 2βœ… 1βšͺ 172ms
harness/features/allFeatures.cloud.test.ts 2βœ… 1βšͺ 173ms
harness/features/allFeatures.local.test.ts 3βœ… 325ms
harness/features/allFeatures.local.test.ts 3βœ… 407ms
harness/features/allVariables.cloud.test.ts 5βœ… 4s
harness/features/allVariables.cloud.test.ts 5βœ… 3s
harness/features/allVariables.local.test.ts 2βœ… 3s
harness/features/allVariables.local.test.ts 2βœ… 3s
harness/features/bootstrapping.test.ts 2βšͺ 173ms
harness/features/bootstrapping.test.ts 2βœ… 278ms
harness/features/clientCustomData.test.ts 2βšͺ 153ms
harness/features/clientCustomData.test.ts 2βšͺ 174ms
harness/features/initialize.cloud.test.ts 3βœ… 146ms
harness/features/initialize.cloud.test.ts 3βœ… 134ms
harness/features/initialize.local.test.ts 12βœ… 1βšͺ 13s
harness/features/initialize.local.test.ts 12βœ… 1βšͺ 13s
harness/features/multithreading.local.test.ts 5βšͺ 186ms
harness/features/multithreading.local.test.ts 5βšͺ 1s
harness/features/track.cloud.test.ts 4βœ… 344ms
harness/features/track.cloud.test.ts 4βœ… 415ms
harness/features/track.local.test.ts 4βœ… 6s
harness/features/track.local.test.ts 4βœ… 6s
harness/features/variable.cloud.test.ts 32βœ… 2βšͺ 29s
harness/features/variable.cloud.test.ts 34βœ… 2βšͺ 29s
harness/features/variable.local.test.ts 58βœ… 8βšͺ 47s
harness/features/variable.local.test.ts 66βœ… 47s
harness/types/capabilities.test.ts 3βœ… 109ms
harness/types/capabilities.test.ts 3βœ… 84ms

βœ…Β harness/features/allFeatures.cloud.test.ts

allFeatures Tests - Cloud β€Ί OF-NodeJS
  βœ… should return all features without edgeDB
  βœ… should return all features with edgeDB
  βšͺ should throw if features request fails on invalid sdk key

βœ…Β harness/features/allFeatures.cloud.test.ts

allFeatures Tests - Cloud β€Ί NodeJS
  βœ… should return all features without edgeDB
  βœ… should return all features with edgeDB
  βšͺ should throw if features request fails on invalid sdk key

βœ…Β harness/features/allFeatures.local.test.ts

allFeatures Tests - Local β€Ί uninitialized client
  βœ… should return empty object if client is uninitialized
allFeatures Tests - Local β€Ί initialized client
  βœ… should return all features for user without custom data
  βœ… should return all features for user with custom data

βœ…Β harness/features/allFeatures.local.test.ts

allFeatures Tests - Local β€Ί uninitialized client
  βœ… should return empty object if client is uninitialized
allFeatures Tests - Local β€Ί initialized client
  βœ… should return all features for user without custom data
  βœ… should return all features for user with custom data

βœ…Β harness/features/allVariables.cloud.test.ts

allVariables Tests - Cloud β€Ί OF-NodeJS
  βœ… should return an empty object if variables request fails
  βœ… should throw if variables request fails on user error
  βœ… should return a variable map
  βœ… should make a request to the variables endpoint with edgeDB param to false
  βœ… should make a request to the variables endpoint with edgeDB param to true

βœ…Β harness/features/allVariables.cloud.test.ts

allVariables Tests - Cloud β€Ί NodeJS
  βœ… should return an empty object if variables request fails
  βœ… should throw if variables request fails on user error
  βœ… should return a variable map
  βœ… should make a request to the variables endpoint with edgeDB param to false
  βœ… should make a request to the variables endpoint with edgeDB param to true

βœ…Β harness/features/allVariables.local.test.ts

allVariables Tests - Local
  βœ… should return an empty object if client is not initialized
  βœ… should return a variable map for a bucketed user

βœ…Β harness/features/allVariables.local.test.ts

allVariables Tests - Local
  βœ… should return an empty object if client is not initialized
  βœ… should return a variable map for a bucketed user

βœ…Β harness/features/bootstrapping.test.ts

Bootstrapping Tests β€Ί OF-NodeJS β€Ί not enabled client
  βšͺ throws an error when trying to get bootstrap config if not enabled
Bootstrapping Tests β€Ί OF-NodeJS β€Ί initialized client
  βšͺ should return a client bootstrapped config

βœ…Β harness/features/bootstrapping.test.ts

Bootstrapping Tests β€Ί NodeJS β€Ί not enabled client
  βœ… throws an error when trying to get bootstrap config if not enabled
Bootstrapping Tests β€Ί NodeJS β€Ί initialized client
  βœ… should return a client bootstrapped config

βœ…Β harness/features/clientCustomData.test.ts

Client Custom Data Tests β€Ί OF-NodeJS
  βšͺ should set client custom data and use it for segmentation
  βšͺ should do nothing when client has not initialized

βœ…Β harness/features/clientCustomData.test.ts

Client Custom Data Tests β€Ί NodeJS
  βšͺ should set client custom data and use it for segmentation
  βšͺ should do nothing when client has not initialized

βœ…Β harness/features/initialize.cloud.test.ts

Client Initialize Tests - Cloud β€Ί OF-NodeJS
  βœ… should throw an exception and return no location if invalid SDK token is sent
  βœ… should throw an exception and return no location if no SDK token is sent
  βœ… should return client object location if SDK token is correct

βœ…Β harness/features/initialize.cloud.test.ts

Client Initialize Tests - Cloud β€Ί NodeJS
  βœ… should throw an exception and return no location if invalid SDK token is sent
  βœ… should throw an exception and return no location if no SDK token is sent
  βœ… should return client object location if SDK token is correct

βœ…Β harness/features/initialize.local.test.ts

Initialize Tests - Local
  βœ… should error when SDK key is missing
  βœ… should error when SDK key is invalid
  βœ… initializes correctly on valid data
  βœ… calls initialize promise/callback when config is successfully retrieved
  βœ… calls initialize promise/callback when config fails to be retrieved
  βœ… defaults variable when config fails to be retrieved, and then recovers
  βšͺ stops the polling interval when the sdk key is invalid and cdn responds 403, throws error
  βœ… fetches config again after 3 seconds when config polling interval is overriden
  βœ… uses the same config if the etag matches
  βœ… uses the same config if the refetch fails, after retrying once
  βœ… uses the same config if the response is invalid JSON
  βœ… uses the same config if the response is valid JSON but invalid data
  βœ… uses the new config when etag changes, and flushes existing events

βœ…Β harness/features/initialize.local.test.ts

Initialize Tests - Local
  βœ… should error when SDK key is missing
  βœ… should error when SDK key is invalid
  βœ… initializes correctly on valid data
  βœ… calls initialize promise/callback when config is successfully retrieved
  βœ… calls initialize promise/callback when config fails to be retrieved
  βœ… defaults variable when config fails to be retrieved, and then recovers
  βšͺ stops the polling interval when the sdk key is invalid and cdn responds 403, throws error
  βœ… fetches config again after 3 seconds when config polling interval is overriden
  βœ… uses the same config if the etag matches
  βœ… uses the same config if the refetch fails, after retrying once
  βœ… uses the same config if the response is invalid JSON
  βœ… uses the same config if the response is valid JSON but invalid data
  βœ… uses the new config when etag changes, and flushes existing events

βœ…Β harness/features/multithreading.local.test.ts

Multithreading Tests β€Ί OF-NodeJS β€Ί initialized client
  βšͺ should return variable if SDK returns object matching default type
  βšͺ should aggregate events across threads
  βšͺ should retry events across threads
Multithreading Tests β€Ί OF-NodeJS β€Ί initialized client β€Ί OF-NodeJS
  βšͺ should set client custom data and use it for segmentation
Multithreading Tests β€Ί OF-NodeJS β€Ί uninitialized client
  βšͺ should return default value if client is uninitialized, log event

βœ…Β harness/features/multithreading.local.test.ts

Multithreading Tests β€Ί NodeJS β€Ί initialized client
  βšͺ should return variable if SDK returns object matching default type
  βšͺ should aggregate events across threads
  βšͺ should retry events across threads
Multithreading Tests β€Ί NodeJS β€Ί initialized client β€Ί NodeJS
  βšͺ should set client custom data and use it for segmentation
Multithreading Tests β€Ί NodeJS β€Ί uninitialized client
  βšͺ should return default value if client is uninitialized, log event

βœ…Β harness/features/track.cloud.test.ts

Track Tests - Cloud β€Ί OF-NodeJS
  βœ… should complain if event type not set
  βœ… should call events API to track event
  βœ… should retry events API on failed request
  βœ… should throw if track request fails on invalid sdk key

βœ…Β harness/features/track.cloud.test.ts

Track Tests - Cloud β€Ί NodeJS
  βœ… should complain if event type not set
  βœ… should call events API to track event
  βœ… should retry events API on failed request
  βœ… should throw if track request fails on invalid sdk key

βœ…Β harness/features/track.local.test.ts

Track Tests - Local β€Ί Expect no events sent
  βœ… should not send an event if the event type not set
Track Tests - Local β€Ί Expect events sent
  βœ… should call events API to track event
  βœ… should call events API to track 2 events
  βœ… should retry events API call to track 2 events and check interval of events is in specified window

βœ…Β harness/features/track.local.test.ts

Track Tests - Local β€Ί Expect no events sent
  βœ… should not send an event if the event type not set
Track Tests - Local β€Ί Expect events sent
  βœ… should call events API to track event
  βœ… should call events API to track 2 events
  βœ… should retry events API call to track 2 events and check interval of events is in specified window

βœ…Β harness/features/variable.cloud.test.ts

Variable Tests - Cloud β€Ί OF-NodeJS
  βœ… will throw error variable called with invalid key
  βšͺ will throw error if variable called with invalid sdk key
  βšͺ will throw error if variableValue called with invalid sdk key
  βœ… will throw error variable called with invalid default value
  βœ… should call variable API without edgeDB option
  βœ… should call variableValue API without edgeDB option
  βœ… should call variable API with edgeDB option
  βœ… should call variableValue API with edgeDB option
  βœ… should return default if mock server returns variable mismatching default value type
  βœ… should return default if mock server returns variableValue mismatching default value type
Variable Tests - Cloud β€Ί OF-NodeJS β€Ί Variable string tests
  βœ… should return default string variable if mock server returns undefined
  βœ… should return default string variableValue if mock server returns undefined
  βœ… should return string variable if mock server returns                 proper variable matching default value type
  βœ… should return string variableValue if mock server returns                 proper variable matching default value type
  βœ… should return defaulted string variable if mock server returns an internal error,                 after retrying 5 times
  βœ… should return defaulted string variableValue if mock server returns an internal error,                 after retrying 5 times
Variable Tests - Cloud β€Ί OF-NodeJS β€Ί Variable number tests
  βœ… should return default number variable if mock server returns undefined
  βœ… should return default number variableValue if mock server returns undefined
  βœ… should return number variable if mock server returns                 proper variable matching default value type
  βœ… should return number variableValue if mock server returns                 proper variable matching default value type
  βœ… should return defaulted number variable if mock server returns an internal error,                 after retrying 5 times
  βœ… should return defaulted number variableValue if mock server returns an internal error,                 after retrying 5 times
Variable Tests - Cloud β€Ί OF-NodeJS β€Ί Variable boolean tests
  βœ… should return default boolean variable if mock server returns undefined
  βœ… should return default boolean variableValue if mock server returns undefined
  βœ… should return boolean variable if mock server returns                 proper variable matching default value type
  βœ… should return boolean variableValue if mock server returns                 proper variable matching default value type
  βœ… should return defaulted boolean variable if mock server returns an internal error,                 after retrying 5 times
  βœ… should return defaulted boolean variableValue if mock server returns an internal error,                 after retrying 5 times
Variable Tests - Cloud β€Ί OF-NodeJS β€Ί Variable JSON tests
  βœ… should return default JSON variable if mock server returns undefined
  βœ… should return default JSON variableValue if mock server returns undefined
  βœ… should return JSON variable if mock server returns                 proper variable matching default value type
  βœ… should return JSON variableValue if mock server returns                 proper variable matching default value type
  βœ… should return defaulted JSON variable if mock server returns an internal error,                 after retrying 5 times
  βœ… should return defaulted JSON variableValue if mock server returns an internal error,                 after retrying 5 times

βœ…Β harness/features/variable.cloud.test.ts

Variable Tests - Cloud β€Ί NodeJS
  βœ… will throw error variable called with invalid key
  βœ… will throw error variableValue called with invalid key
  βšͺ will throw error if variable called with invalid sdk key
  βšͺ will throw error if variableValue called with invalid sdk key
  βœ… will throw error variable called with invalid default value
  βœ… will throw error variableValue called with invalid default value
  βœ… should call variable API without edgeDB option
  βœ… should call variableValue API without edgeDB option
  βœ… should call variable API with edgeDB option
  βœ… should call variableValue API with edgeDB option
  βœ… should return default if mock server returns variable mismatching default value type
  βœ… should return default if mock server returns variableValue mismatching default value type
Variable Tests - Cloud β€Ί NodeJS β€Ί Variable string tests
  βœ… should return default string variable if mock server returns undefined
  βœ… should return default string variableValue if mock server returns undefined
  βœ… should return string variable if mock server returns                 proper variable matching default value type
  βœ… should return string variableValue if mock server returns                 proper variable matching default value type
  βœ… should return defaulted string variable if mock server returns an internal error,                 after retrying 5 times
  βœ… should return defaulted string variableValue if mock server returns an internal error,                 after retrying 5 times
Variable Tests - Cloud β€Ί NodeJS β€Ί Variable number tests
  βœ… should return default number variable if mock server returns undefined
  βœ… should return default number variableValue if mock server returns undefined
  βœ… should return number variable if mock server returns                 proper variable matching default value type
  βœ… should return number variableValue if mock server returns                 proper variable matching default value type
  βœ… should return defaulted number variable if mock server returns an internal error,                 after retrying 5 times
  βœ… should return defaulted number variableValue if mock server returns an internal error,                 after retrying 5 times
Variable Tests - Cloud β€Ί NodeJS β€Ί Variable boolean tests
  βœ… should return default boolean variable if mock server returns undefined
  βœ… should return default boolean variableValue if mock server returns undefined
  βœ… should return boolean variable if mock server returns                 proper variable matching default value type
  βœ… should return boolean variableValue if mock server returns                 proper variable matching default value type
  βœ… should return defaulted boolean variable if mock server returns an internal error,                 after retrying 5 times
  βœ… should return defaulted boolean variableValue if mock server returns an internal error,                 after retrying 5 times
Variable Tests - Cloud β€Ί NodeJS β€Ί Variable JSON tests
  βœ… should return default JSON variable if mock server returns undefined
  βœ… should return default JSON variableValue if mock server returns undefined
  βœ… should return JSON variable if mock server returns                 proper variable matching default value type
  βœ… should return JSON variableValue if mock server returns                 proper variable matching default value type
  βœ… should return defaulted JSON variable if mock server returns an internal error,                 after retrying 5 times
  βœ… should return defaulted JSON variableValue if mock server returns an internal error,                 after retrying 5 times

βœ…Β harness/features/variable.local.test.ts

Variable Tests - Local β€Ί initialized client β€Ί Variable string tests
  βœ… should return variable if mock server returns object matching default type
  βœ… should return variableValue if mock server returns object matching default type
  βšͺ should return default value if default type doesn't match variable type
  βšͺ should return default value if default type doesn't match variableValue type
  βœ… should return default value if user is not bucketed into variable
  βœ… should return default value if user is not bucketed into variableValue
  βœ… should return default value if variable doesn't exist
  βœ… should return default value if variableValue doesn't exist
  βœ… should aggregate aggVariableDefaulted events for variable
  βœ… should aggregate aggVariableDefaulted events for variableValue
  βœ… should aggregate aggVariableEvaluated events for variable
  βœ… should aggregate aggVariableEvaluated events for variableValue
Variable Tests - Local β€Ί initialized client β€Ί Variable number tests
  βœ… should return variable if mock server returns object matching default type
  βœ… should return variableValue if mock server returns object matching default type
  βšͺ should return default value if default type doesn't match variable type
  βšͺ should return default value if default type doesn't match variableValue type
  βœ… should return default value if user is not bucketed into variable
  βœ… should return default value if user is not bucketed into variableValue
  βœ… should return default value if variable doesn't exist
  βœ… should return default value if variableValue doesn't exist
  βœ… should aggregate aggVariableDefaulted events for variable
  βœ… should aggregate aggVariableDefaulted events for variableValue
  βœ… should aggregate aggVariableEvaluated events for variable
  βœ… should aggregate aggVariableEvaluated events for variableValue
Variable Tests - Local β€Ί initialized client β€Ί Variable boolean tests
  βœ… should return variable if mock server returns object matching default type
  βœ… should return variableValue if mock server returns object matching default type
  βšͺ should return default value if default type doesn't match variable type
  βšͺ should return default value if default type doesn't match variableValue type
  βœ… should return default value if user is not bucketed into variable
  βœ… should return default value if user is not bucketed into variableValue
  βœ… should return default value if variable doesn't exist
  βœ… should return default value if variableValue doesn't exist
  βœ… should aggregate aggVariableDefaulted events for variable
  βœ… should aggregate aggVariableDefaulted events for variableValue
  βœ… should aggregate aggVariableEvaluated events for variable
  βœ… should aggregate aggVariableEvaluated events for variableValue
Variable Tests - Local β€Ί initialized client β€Ί Variable JSON tests
  βœ… should return variable if mock server returns object matching default type
  βœ… should return variableValue if mock server returns object matching default type
  βšͺ should return default value if default type doesn't match variable type
  βšͺ should return default value if default type doesn't match variableValue type
  βœ… should return default value if user is not bucketed into variable
  βœ… should return default value if user is not bucketed into variableValue
  βœ… should return default value if variable doesn't exist
  βœ… should return default value if variableValue doesn't exist
  βœ… should aggregate aggVariableDefaulted events for variable
  βœ… should aggregate aggVariableDefaulted events for variableValue
  βœ… should aggregate aggVariableEvaluated events for variable
  βœ… should aggregate aggVariableEvaluated events for variableValue
Variable Tests - Local β€Ί initialized client
  βœ… should return a valid unicode string for variable
  βœ… should return a valid unicode string for variableValue
Variable Tests - Local β€Ί uninitialized client β€Ί Variable string tests
  βœ… should return variable default value if client is uninitialized, log event
  βœ… should return variableValue default value if client is uninitialized, log event
  βœ… should return default value for variable if client config failed, log event
  βœ… should return default value for variableValue if client config failed, log event
Variable Tests - Local β€Ί uninitialized client β€Ί Variable number tests
  βœ… should return variable default value if client is uninitialized, log event
  βœ… should return variableValue default value if client is uninitialized, log event
  βœ… should return default value for variable if client config failed, log event
  βœ… should return default value for variableValue if client config failed, log event
Variable Tests - Local β€Ί uninitialized client β€Ί Variable boolean tests
  βœ… should return variable default value if client is uninitialized, log event
  βœ… should return variableValue default value if client is uninitialized, log event
  βœ… should return default value for variable if client config failed, log event
  βœ… should return default value for variableValue if client config failed, log event
Variable Tests - Local β€Ί uninitialized client β€Ί Variable JSON tests
  βœ… should return variable default value if client is uninitialized, log event
  βœ… should return variableValue default value if client is uninitialized, log event
  βœ… should return default value for variable if client config failed, log event
  βœ… should return default value for variableValue if client config failed, log event

βœ…Β harness/features/variable.local.test.ts

Variable Tests - Local β€Ί initialized client β€Ί Variable string tests
  βœ… should return variable if mock server returns object matching default type
  βœ… should return variableValue if mock server returns object matching default type
  βœ… should return default value if default type doesn't match variable type
  βœ… should return default value if default type doesn't match variableValue type
  βœ… should return default value if user is not bucketed into variable
  βœ… should return default value if user is not bucketed into variableValue
  βœ… should return default value if variable doesn't exist
  βœ… should return default value if variableValue doesn't exist
  βœ… should aggregate aggVariableDefaulted events for variable
  βœ… should aggregate aggVariableDefaulted events for variableValue
  βœ… should aggregate aggVariableEvaluated events for variable
  βœ… should aggregate aggVariableEvaluated events for variableValue
Variable Tests - Local β€Ί initialized client β€Ί Variable number tests
  βœ… should return variable if mock server returns object matching default type
  βœ… should return variableValue if mock server returns object matching default type
  βœ… should return default value if default type doesn't match variable type
  βœ… should return default value if default type doesn't match variableValue type
  βœ… should return default value if user is not bucketed into variable
  βœ… should return default value if user is not bucketed into variableValue
  βœ… should return default value if variable doesn't exist
  βœ… should return default value if variableValue doesn't exist
  βœ… should aggregate aggVariableDefaulted events for variable
  βœ… should aggregate aggVariableDefaulted events for variableValue
  βœ… should aggregate aggVariableEvaluated events for variable
  βœ… should aggregate aggVariableEvaluated events for variableValue
Variable Tests - Local β€Ί initialized client β€Ί Variable boolean tests
  βœ… should return variable if mock server returns object matching default type
  βœ… should return variableValue if mock server returns object matching default type
  βœ… should return default value if default type doesn't match variable type
  βœ… should return default value if default type doesn't match variableValue type
  βœ… should return default value if user is not bucketed into variable
  βœ… should return default value if user is not bucketed into variableValue
  βœ… should return default value if variable doesn't exist
  βœ… should return default value if variableValue doesn't exist
  βœ… should aggregate aggVariableDefaulted events for variable
  βœ… should aggregate aggVariableDefaulted events for variableValue
  βœ… should aggregate aggVariableEvaluated events for variable
  βœ… should aggregate aggVariableEvaluated events for variableValue
Variable Tests - Local β€Ί initialized client β€Ί Variable JSON tests
  βœ… should return variable if mock server returns object matching default type
  βœ… should return variableValue if mock server returns object matching default type
  βœ… should return default value if default type doesn't match variable type
  βœ… should return default value if default type doesn't match variableValue type
  βœ… should return default value if user is not bucketed into variable
  βœ… should return default value if user is not bucketed into variableValue
  βœ… should return default value if variable doesn't exist
  βœ… should return default value if variableValue doesn't exist
  βœ… should aggregate aggVariableDefaulted events for variable
  βœ… should aggregate aggVariableDefaulted events for variableValue
  βœ… should aggregate aggVariableEvaluated events for variable
  βœ… should aggregate aggVariableEvaluated events for variableValue
Variable Tests - Local β€Ί initialized client
  βœ… should return a valid unicode string for variable
  βœ… should return a valid unicode string for variableValue
Variable Tests - Local β€Ί uninitialized client β€Ί Variable string tests
  βœ… should return variable default value if client is uninitialized, log event
  βœ… should return variableValue default value if client is uninitialized, log event
  βœ… should return default value for variable if client config failed, log event
  βœ… should return default value for variableValue if client config failed, log event
Variable Tests - Local β€Ί uninitialized client β€Ί Variable number tests
  βœ… should return variable default value if client is uninitialized, log event
  βœ… should return variableValue default value if client is uninitialized, log event
  βœ… should return default value for variable if client config failed, log event
  βœ… should return default value for variableValue if client config failed, log event
Variable Tests - Local β€Ί uninitialized client β€Ί Variable boolean tests
  βœ… should return variable default value if client is uninitialized, log event
  βœ… should return variableValue default value if client is uninitialized, log event
  βœ… should return default value for variable if client config failed, log event
  βœ… should return default value for variableValue if client config failed, log event
Variable Tests - Local β€Ί uninitialized client β€Ί Variable JSON tests
  βœ… should return variable default value if client is uninitialized, log event
  βœ… should return variableValue default value if client is uninitialized, log event
  βœ… should return default value for variable if client config failed, log event
  βœ… should return default value for variableValue if client config failed, log event

βœ…Β harness/types/capabilities.test.ts

SDKCapabilities Unit Tests
  βœ… should load capabilities from env variables
  βœ… should load capabilities from env variables as JSON
  βœ… should use default capabilities if env variables are not set

βœ…Β harness/types/capabilities.test.ts

SDKCapabilities Unit Tests
  βœ… should load capabilities from env variables
  βœ… should load capabilities from env variables as JSON
  βœ… should use default capabilities if env variables are not set