-
Notifications
You must be signed in to change notification settings - Fork 171
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
Html control with preview #4908
Conversation
Job #10457: Bundle Size — 62.15MiB (~+0.01%).
Warning Bundle contains 58 duplicate packages – View duplicate packages Bundle metrics
Bundle size by type
View job #10457 report View feature/html-prop-control branch activity View project dashboard |
@@ -53,31 +53,31 @@ describe('Set element prop via the data picker', () => { | |||
let currentOption = editor.renderedDOM.getByTestId(VariableFromScopeOptionTestId(0)) | |||
await mouseClickAtPoint(currentOption, { x: 2, y: 2 }) | |||
expect(within(theScene).queryByText('Title too')).not.toBeNull() | |||
expect(within(theInspector).queryAllByText('Title too')).toHaveLength(2) | |||
expect(within(theInspector).queryByText('Title too')).not.toBeNull() |
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.
it's slowly getting worse, this test :D
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.
as if to prove my point that testing what is in the UI is not the way to go
alignItems: 'center', | ||
justifyContent: 'center', | ||
}} | ||
title='Hello Utopia' |
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.
I wouldn't name this Hello Utopia, just to avoid the test text matcher being confused in the future
Description: