Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Cypress Unique Attribute GeneratorNew to Visual Studio Code? Get it now.
Cypress Unique Attribute Generator

Cypress Unique Attribute Generator

scout

|
591 installs
| (1) | Free
Generate a data-cy/data-test/data-testid attributes with a UUID
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cypress Unique Attribute Generator

This extension makes the annoying task of adding unique test attributes easy by adding common attribute snippets with generated uuids. See the Cypress documentation on best practices for selecting elements for more information.

How to use

Source

Github

Credit

Forked from the great uuid generator package by Aren Chen's VScode extension

License

This Visual Studio Code extension is open-source software licensed under the MIT license.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft