AltimateAI / vscode-dbt-power-user

This extension makes vscode seamlessly work with dbt™: Auto-complete, preview, column lineage, AI docs generation, health checks, cost estimation etc
https://www.altimate.ai
MIT License
460 stars 94 forks source link

Documentation Editor - Creating tests as "tests" instead of "data_tests" #1449

Closed joshrodgersKA closed 1 week ago

joshrodgersKA commented 4 weeks ago

Expected behavior

When using the documentation editor to create tests, tests are expected to be created with the "data_tests" property.

Actual behavior

When using the documentation editor to create tests, tests are being created with the "tests" property, which is deprecated.

Steps To Reproduce

Open the documentation editor, add data tests, inspect created yml.

Log output/Screenshots

No response

Operating System

Windows 11

dbt version

dbt Cloud CLI - 0.38.15 (Versionless)

dbt Adapter

Fabric

dbt Power User version

v0.46.0

Are you willing to submit PR?

saravmajestic commented 2 weeks ago

@joshrodgersKA is this happening while creating tests for model or column? Do you mind record a video for us to validate the issue?

joshrodgersKA commented 2 weeks ago

https://github.com/user-attachments/assets/75f1e796-41a2-474c-9f5e-81127a04ded6

@saravmajestic - I'm seeing it happen when creating tests for columns. I've attached a video. Let me know if you need anything else. Thanks!

saravmajestic commented 2 weeks ago

Thank you @joshrodgersKA Video is really helpful. I have identified the issue and will release a fix soon

saravmajestic commented 1 week ago

@joshrodgersKA this fix is released in v0.47.6. Please re open this if you still see this issue