Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Test Variables Editor #21

Merged
merged 3 commits into from
Jul 8, 2024
Merged

Conversation

2Steaks
Copy link
Collaborator

@2Steaks 2Steaks commented Jul 4, 2024

Closes https://github.com/grafana/k6-cloud/issues/2514

This PR adds the VariablesEditor component to the Test data tab on the generate page

Screenshot 2024-07-04 at 14 51 56 Screenshot 2024-07-04 at 14 52 03

@2Steaks 2Steaks self-assigned this Jul 4, 2024
@2Steaks 2Steaks marked this pull request as ready for review July 4, 2024 14:02
.nvmrc Outdated
@@ -0,0 +1 @@
v18
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I understand from this PR, the version of electron that we have uses 20.9.0, I think we should use v20

Comment on lines +50 to +52
<Heading color="gray" mb="2" size="4">
Default Environment
</Heading>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Llandy3d in kroco6, we had ENV variables, but here it's just regular JS variables, so this heading is not needed, right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct! I would probably call it Test Variables or just Variables but for now we just have those and eventually we will have test arrays too...
it's more of an UX question 🤔

@going-confetti going-confetti merged commit f8b2177 into main Jul 8, 2024
1 check passed
@going-confetti going-confetti deleted the feat/test-variables-editor branch July 8, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants