-
Notifications
You must be signed in to change notification settings - Fork 201
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
kie-issues#1552: Test Scenario Editor: Update @kie-tools/dmn-vscode-extension
to add the new Test Scenario Editor
#2860
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR. I did only very basic sanity test. I will do more proper one once apache/incubator-kie-issues#970 is implemented.
One observation is that extension homepage should be updated probably:
Second is the DMN Namespace mocked as https:\kiegroup
, we should use proper http or https format and not mention kiegroup anymore
@@ -395,7 +396,7 @@ export const TestScenarioEditorInternal = ({ | |||
console.trace("[TestScenarioEditorInternal] File Status: " + TestScenarioFileStatus[scesimFileStatus]); | |||
|
|||
return ( | |||
<div ref={testScenarioEditorRootElementRef}> | |||
<div ref={testScenarioEditorRootElementRef} data-testid="kie-tools--scesim-editor--container"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is my mistake. I am sorry. Looking on the rest of the codebase, I think the value we should use should be probably something like: kie-scesim-editor--container
or kie-scesim-editor-container
or kie-scesim-editor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -61,6 +61,6 @@ export class Editor { | |||
} | |||
|
|||
public get() { | |||
return this.page.getByTestId("test-scenario-editor"); | |||
return this.page.getByTestId("kie-tools--scesim-editor--container"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is my mistake. I am sorry. Looking on the rest of the codebase, I think the value we should use should be probably something like: kie-scesim-editor--container
or kie-scesim-editor-container
or kie-scesim-editor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Thank you @jomarko, I updated the extension homepage to better reflect the current status. The gifs are both targeting the old editors, I guess we can replace them the moment we set the new editors as the default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @yesamer
Closes apache/incubator-kie-issues#1552
In this PR we finally introduce the first "alpha" version of the new Test Scenario Editor in our dmn-vscode extension.
The editor is not still completed, but I believe it's important to have this get merged to simply the future testing phase, and the development of the missing features (eg. apache/incubator-kie-issues#1514)
Screen.Recording.2025-01-15.at.17.13.54.mov
Don't expect any other feature change or update in this PR.
It's worth to mention I applied some changes on the CSS side to make the editor usable in VSCode.