-
Notifications
You must be signed in to change notification settings - Fork 228
feat(data-modeling): export diagram to json COMPASS-9448 #7046
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
base: main
Are you sure you want to change the base?
Conversation
|
||
it('renders nothing if step is not EDITING', function () { | ||
renderDiagramEditorToolbar({ step: 'ANALYSIS_CANCELED' }); | ||
expect(() => screen.getByTestId('diagram-editor-toolbar')).to.throw; |
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.
throw needs to be called to assert
<Radio value="json" aria-label="JSON"> | ||
<Icon glyph="CurlyBraces" /> | ||
{nbsp} | ||
JSON | ||
</Radio> |
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 doesn't match the designs where the icon is outside of the radio item, not sure if that's a deliberate choice not to follow the designs here. Also the alignments of items inside the label is slightly off, but catches the eye, in the designs everything is middle aligned, not baseline
// TODO: Confirm all collections are selected by default (COMPASS-9309) | ||
// Note: We'll need to change the UI, right now the labels are disconnected from the checkboxes | ||
await browser.clickVisible(Selectors.CreateDataModelConfirmButton); |
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.
You can count the checkboxes or check the <number> total collections selected
text instead of waiting for this refactor
Preview
Export.to.JSON.mov
Changes in toast
Description
Checklist
Motivation and Context
Open Questions
Dependents
Types of changes