Unit Report
Started: 2026-05-28 21:12:55
Suites (14)
14 passed
0 failed
0 pending
Tests (61)
61 passed
0 failed
0 pending
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/configPathResolver.test.js0.626s
getConfigPath
should return config path when properties file exists and has mapping
passed
0.004s
getConfigPath
should log info and use default mapping if file does not exist
passed
getConfigPath
should log failure if config mapping not found for stage
passed
0.001s
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/buildInFixtures/__tests__/executionContext.test.js0.602s
executionContext
should pass actorInfo with details from getCustomAccountDetails to use
passed
0.004s
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/getUsers_ListOfActors.test.js0.584s
getListOfActors
throws an error when config file cannot be loaded
passed
0.018s
getListOfActors
throws an error when beta feature config does not exist
passed
0.001s
getListOfActors
loads main configuration when betaFeature is not provided and main config exists
passed
getListOfActors
falls back to default configuration if main config file does not exist
passed
0.001s
getListOfActors
loads beta feature configuration when betaFeature is provided
passed
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/configFileNameProvider.test.js0.568s
getUATFileName
should return pipeline-matched config path when file exists
passed
0.003s
getUATFileName
should use default stage and mode when not provided
passed
getUATFileName
should return the default config files for pipeline matched files not exists
passed
getEnvConfigFilePath
should return conf file path when file exists
passed
0.001s
getEnvConfigFilePath
should return default path when file does not exist
passed
/Users/muthu-19817/git/testing-framework/examples/src/__tests__/App.test.js0.087s
example functions
add function adds two numbers correctly
passed
example functions
greet function greets a person with their name
passed
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/__tests__/tagProcessor.test.js0.092s
TagProcessor
should return tagArgs if no edition is provided
passed
0.001s
TagProcessor
should handle a single edition with <= operator
passed
TagProcessor
should handle a single edition with >= operator
passed
TagProcessor
should handle a single edition with < operator
passed
TagProcessor
should handle a single edition with > operator
passed
TagProcessor
should handle a single edition with no operator
passed
0.002s
TagProcessor
should log a message if edition is not found
passed
0.001s
TagProcessor
should handle multiple editions
passed
TagProcessor
should build tags correctly when tags are empty
passed
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/additionalProfiles.test.js0.564s
additionalProfiles
should return empty object when no additional profile tags are present
passed
0.002s
additionalProfiles
should return additional profile actors when additional profile tags and editionInfo are present
passed
0.001s
additionalProfiles
should return additional profile actors when all actor details are present
passed
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/configuration/__tests__/Configuration.test.js0.492s
Configuration Class
should add new key-value pair to the configuration
passed
0.006s
Configuration Class
should combine configurations correctly using addAll
passed
0.001s
Configuration Class
should return correct value for a given key
passed
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/customFixturesHelper.test.js0.56s
getCustomAccountDetails
returns selected user when any tag info is present
passed
0.003s
getCustomAccountDetails
logs and returns undefined if getCustomAccountDetails function throws
passed
getCustomAccountDetails
returns default actor when no tag info is not provided
passed
0.001s
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/buildInFixtures/__tests__/caseTimeout.test.js0.22s
resolveCaseTimeoutMs
returns null when no timeout tag is present
passed
0.001s
resolveCaseTimeoutMs
returns null when tags is not an array
passed
resolveCaseTimeoutMs
parses @timeout_<n> as seconds for Chrome (factor 1)
passed
resolveCaseTimeoutMs
applies Firefox 2x multiplier
passed
resolveCaseTimeoutMs
applies Safari 4x multiplier
passed
resolveCaseTimeoutMs
applies factor 1 for Edge
passed
resolveCaseTimeoutMs
returns 0 (no timeout) when tag is @timeout_0, regardless of browser
passed
resolveCaseTimeoutMs
uses the first matching tag and logs a warning when multiple are present
passed
resolveCaseTimeoutMs
ignores malformed timeout-like tags
passed
resolveCaseTimeoutMs
ignores non-string entries in tags
passed
caseTimeout fixture
is registered as an auto fixture
passed
caseTimeout fixture
calls testInfo.setTimeout with scaled value when tag matches
passed
0.001s
caseTimeout fixture
does not call testInfo.setTimeout when no tag is present
passed
caseTimeout fixture
passes 0 through to testInfo.setTimeout for @timeout_0
passed
0.001s
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/runner/__tests__/SpawnRunner.test.js0.914s
SpawnRunner > run
should call runPreprocessing when bddMode is true
passed
0.002s
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/runner/__tests__/RunnerHelper.test.js0.857s
RunnerHelper > createRunner
should throw error on invalid runner type
passed
0.002s
RunnerHelper > createRunner
should create a valid runner class
passed
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/__tests__/validateFeature.test.js1.071s
validateFeatureFiles
runPreprocessing with correct arguments and log success
passed
0.003s
validateFeatureFiles
runPreprocessing with playwright conf
passed
validateFeatureFiles
error when runPreprocessing fails
passed
/Users/muthu-19817/git/testing-framework/src/test/core/playwright/helpers/__tests__/fileMutex.test.js1.638s
FileMutex > acquire
should create the lock file if it does not exist
passed
0.013s
FileMutex > acquire
should wait for lock file deletion if it exists
passed
0.002s
FileMutex > acquire
should reject if watch timeout exceeds
passed
1.013s
FileMutex > release
should delete the lock file if it exists
passed
0.001s
FileMutex > release
should release lock by deleting lock file
passed
0.001s
FileMutex > release
should not attempt to delete the lock file if it does not exist
passed
0.001s
FileMutex > release
should log an error if deleting the lock file fails
passed
0.004s