Tests are using cypress framework. The test setup happens in CypressSetup.ts file - the file is specified as cypress plugin and is executed before launching the browser. Here we access files and use the existing node-based test setup mechanism to set env variables for actual browser tests.
Refactored test utils - removed the BaseIntegrationTestsConfig interface and moved the config reading/parsing into the common utils package to avoid code duplication, removed @inject() decorators where injected symbols are classes.
In this PR:
ThumbnailOperations
.CypressSetup.ts
file - the file is specified as cypress plugin and is executed before launching the browser. Here we access files and use the existing node-based test setup mechanism to set env variables for actual browser tests.BaseIntegrationTestsConfig
interface and moved the config reading/parsing into the common utils package to avoid code duplication, removed@inject()
decorators where injected symbols are classes.