Skip to main content

Cycle 2.18.0

Released 2024-04-10.

New features​

Cycle Proxy Configuration Improvements​

Proxy configuration, if necessary, has now been consolidated into the file located at C:/Users/<your-user>/AppData/Roaming/Cycle/config/.env. This file can be overridden for cycle-cli executions using the --env-file argument.

Support for the Client Credentials Authentication Flow​

Within user management, a new feature called "Application Secrets" allows you to generate a client ID and client secret specifically for authentication when running cycle-cli. This is particularly useful in scenarios such as CI/CD pipelines, where you prefer autonomous authentication that is not tied to a specific user. Instructions for generating OAuth2 client credentials are available in the Cycle User Manual.

Improved Logging for the CLI Launcher Process​

Logging from the main CLI process is now directed to a separate cyclecli.log file located in your app data directory. This implementation includes log file rollover and purging, with a maximum file size of 10 MB, a maximum file age of 30 days, and a maximum of five backup log files.

Feedback addressed​

  • API call URL field does not propagate query parameters — When query parameters are included in the URL field, they are now incorporated into the resulting HTTP request.
  • Store repeated API request headers as a list — Repeated headers in an HTTP response are now stored as a comma-separated string, ensuring consistency with HTTP RFC2616.
  • Add the step "I assign SQL status to variable" — A new step, I assign SQL status to variable, has been added so the variable can be referenced from subsequent steps.
  • Parse CSV files by record instead of by line — Previously, CSV file parsing operated line by line. To address data inconsistencies caused by new lines within CSV record elements, parsing is now based on CSV records rather than individual lines.
  • Add support for Integrated Security and Windows authentication for SQL Server — We introduced the step I connect to Microsoft SQL Server database at "HOSTNAME;integratedSecurity=true" and upgraded the JDBC driver to enable Integrated Security and Windows authentication support for MS SQL Server.

Bug fixes​

  • Bug #3319 — Pipe character not escaped during step execution. The step documentation now states explicitly that the parameter is a regex.
  • Bug #5086 — Playlist executing out of order. Fixed an issue where a playlist executed its items out of order.
  • Bug #5579 — Group test "Go to Line". Fixed a UI bug so that the "Go to Line" functionality now works correctly.
  • Bug #5902 — Uncommented non-CycleScript text in imported features. Fixed a parsing error that occurred when a feature containing uncommented non-CycleScript text was imported.
  • Bug #5964 — Verbose logging oddities. Fixed a bug in the handling of log level change requests.
  • Bug #5966 — WebDriver frame steps affecting element location. The new web driver in Cycle now successfully switches between tabs that were opened automatically, rather than only those opened explicitly by Cycle steps.
  • Bug #5983 — Reset password subscription prompt in Cycle 2.17. Fixed the bug that required a user to log out and log back in after resetting their password.
  • Bug #6109 — Incorrect deprecated step replacements in the Step Guide. The incorrect deprecated step replacements have been updated.
  • Bug #6114 — Zero status returned for an invalid CLI token. Fixed an issue where Cycle returned a 0 status if an invalid token was passed into cycle-cli and no tests were executed.
  • Bug #6184 — cycle-cli token issues. Authentication errors are no longer printed to the console during CLI executions.