All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- added more guards for .startsWith method as some weird issue occur reported in issue #26
- config option to narrow down alias autocompletion for current file only
cy.task
autocompletion and definition
- instead of constant 4 tab size check editor config and prettier config
- skip and only code lenses support for
describe
andcontext
keywords, address #20
- minimatch import resulting in crash
- "undefined" attached to argument name during generating custom command definitions, address #21
- extension launch task config for debugging
- removed "jiraAllureAutocomplete" feature as obsolete
- updated dependencies
- absent code lense option to clear
.skip
for test, address #18 - use alias autocompletion for
cy.wait
command, address #19
- support tsx (typescriptreact) and jsx (javascriptreact) file extensions, address #17
- type definition on save due to missing command for comparison, address #16
- updated dependencies
- obsolete gql fixtures autocompletion feature
- simple cache for reading files, listen to fs changes instead of reading them again
- more early returns for cases when additional work is not needed
- publish extension as single bundle instead of multiple files
- moved description with gifs (for commands and other functionality) to separate files to avoid loading multiple gif files.
- documentation gif images size reduced from 63.9 Mb to 34.6 Mb thus in combination with separating docs to separate pages should improve experience with docs.
- automatically detect spec argument for Cypress Open based on cypress version in package.json
- support for multiple workspace folders
- properly handle
CommandReferencesProvider.provideReferences
when no usage found, address #13 - cypress execution code lense provider, address #11
- trigger fixture completion provider on ' and ` characters
- support for
specify
mocha keyword for
- by Dane Dukic: lack of support for cypress v10 for "Open Cypress" command
- config options
ItSkip
andItOnly
formenuItems
object which are responsible for code lenses visibility - code lense for adding and clearing
it.skip
, address #3
- autocomplete for
cy.task
- go to definition for
cy.task
- Generate JSON schema for json files menu item, enable menu item by default
- Autocompletion provider in gherkin files for allure tms and issue links autocompletion with xray test cases or jira issues
- improved snippets for allure cucumber tags and provided option to use single argument, due to cypress-allure-plugin v2.9.0
- moved to forked repository, new version is available by name "Cypress Helper v2"
- publishing a fix for 90poe#60 as additional config for code lenses, for example
"cypressHelper.cypressCodeLensePattern": "**/e2e/**/*.+(js|ts|feature)"
will add code lenses just for files inside e2e folder
- #51, handle duplicated tests in open\run code lenses
- cucumber allure tags autocomplete: link and parentSuite labels
- #48, address issue when errors are thrown for some commands on initialisation it blocks other functionality
- now terminals in Cypress Helper are created with specific current directory. In case directory not matches current terminal it will spawn new one. By default workspace root is used.
- #43, solved by checking if package.json exist in sub-folders. In case it exist we treat folder as root for new terminal to support Cypress Run and Cypress Open code lenses for nested projects and calculate corresponding relative path to spec or root path.
- #40, autocomplete for jquery locators
- previously alias autocomplete suggested only aliases from saved changes. now it also provides unsaved from current file.
- use snippets for allure tags autocompletion
- add AS_ID to allure tags
- cy.type keypress events autocomplete usage in template literals
- #39, autocompletion for cy.type keyPress sequences
- #34, capitalize absolute windows path when lowercase used
- #34, handle path with spaces when passing file to open cypress command
- #30, option to run spec in cypress
- #32, for fixture definition check if resulting file exists
- github action updated with deployment to Open VSX registry
- configuration option to allow user respawn terminal on each Cypress open
- 90poe internal: option to generate json schemas via binary for all new fixtures parsed from HAR
- check optional flag when parsing typescript arguments, address #27
- show only one codelense (set or clear tag) for each test
- clearing tags for feature file when auto-formatting enabled
- option to trigger custom command types generation on save event
- clearing
@focus
tags on terminal closing
- menu items
Cypress: Open Spec File
andCypress: Open Single Test
replaced with CodeLenses right in test files
- glob pattern should always use forward-slashes, fixes issue with OS Windows
- better error messages for custom commands detection and definition
- handling of configuration paths to have same config working for different OS
- properly resolve path, caused issues with linux mint
- github action for extension publish
- extension logo, based on comment from Cypress team representative.
- support for typescript files
- better handling of cucumber step definitions with regex
- autocomplete for aliases in same folder
- go to definition for aliases in same folder
- impoved definition provider for fixture file paths
- go to definition for fixture files
- cucumber tags autocompletion
- option for cypress-allure-plugin cucumber tags autocompletion
- fixture autocomplete for gherkin files only on
"
character - prompt to reload vs code only when cypressHelper configuration affected
- bump dependencies
- 90poe internal autocomplete provider for graphql mock commands
- addressing Custom command folder setting not working?
- autocomplete triggering for VS Code 1.42.0
- moved 90poe internal commands to separate directory
- 90poe internal command to convert HAR file into fixtures
- 90poe internal command to execute json schema generator binary
- fixture autocomplete for feature files on
"
character
- switch from klaw-sync to fast-glob to read fs
- Command to create tsconfig.json (addressing issue#12)
- Prompt to create tsconfig.json if not found after generating type definitions
- Definition provider for custom commands (native
Go to Definition
,Peek Definition
items) - References provider for custom commands (native
Find All References
,Peek References
items) - References provider for step definitions
- Configuration to disable Command References provider in case type definition file in workspace
- More information in README.
- opened blank file when no command definition found
- prompt to reload vscode when configuration changed
- fixture autocomplete when several commands chained on same line
- ability to configure cypress commands that require fixture autocomplete
- activation of fixture autocompletion for
.ts
files
cy.fixture
autocompletion
- issue with some globally installed dependencies causing failure to read workspace files.
- message in case no type definitions found for custom commands
- badge to readme with link to gitter chat
- filePaths for cucumber commands on windows.
- basic file watcher to reduce fs operations amount and increase performance
- sometimes custom command was not recognized when there are several on single line
- catch error when reading non existing file
- failed extension activation when step definition folder not exist
- possibility to add annotations for custom command type definitions
- codebase refactoring
- license
- menu items are now configurable
- slight performance tweaks
- codebase improvements
- extension logo and description
- issue with parsing function argument with
undefined
ornull
default value recognized as object
- codebase improvements
- Support for regexp cucumber type definitions
- Support custom cucumber types created with
defineParameterType
- codebase improvements
- improve Cypress custom command detection
- menu item to find Cypress custom command references across framework
- menu item to find Cucumber step definition references across framework
- command to search for unused cucumber step definitions
- search for unused cypress custom commands
- case when several custom commands are used in same row
- write type definition file even when some commands were failed to parse
- add assets folder to vscode ignore to keep extension size small
- use glob pattern for excludes from custom commands search
- codebase improvements
- remove
@focus
and.only
after terminal closed
- reuse same terminal instance for opening cypress
- improve user messages
- improve user messages
- command for generating ts types for cypress custom commands
- keybindings for opening cypress custom command definition
- conditions for showing menu items for commands
- codebase improvements
- codebase improvements
- command to open cypress custom command definition
- command to open cypress for single test
- command to open cypress for file
- initial extention setup