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
Metrics E2E tests - part 2 #42427
Metrics E2E tests - part 2 #42427
Conversation
@@ -67,7 +68,7 @@ export function JoinTablePicker({ | |||
databaseId: DatabaseId, | |||
) => { | |||
await dispatch(loadMetadataForTable(databaseId, tableId)); | |||
onChange?.(Lib.tableOrCardMetadata(queryRef.current, tableId)); | |||
onChangeRef.current?.(Lib.tableOrCardMetadata(queryRef.current, tableId)); |
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.
For some reason this change got lost in the integration branch
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.
We need this in master
too.
I have it coming in the data-picker
feature branch but it's still few steps away from being ready.
display: "scalar", | ||
}; | ||
|
||
describe("scenarios > metrics", () => { |
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.
git
isn't smart enough to understand it's the same file. What's changed:
- Helpers got options and they started to work in multiple stages
- Some multi-stage tests were added
|
}); | ||
popover().button("Done").click(); | ||
saveMetric(); | ||
runQuery(); |
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.
Missing assertion. We can leave a "FIXME" comment like in the previous skipped test.
@@ -67,7 +68,7 @@ export function JoinTablePicker({ | |||
databaseId: DatabaseId, | |||
) => { | |||
await dispatch(loadMetadataForTable(databaseId, tableId)); | |||
onChange?.(Lib.tableOrCardMetadata(queryRef.current, tableId)); | |||
onChangeRef.current?.(Lib.tableOrCardMetadata(queryRef.current, tableId)); |
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.
We need this in master
too.
I have it coming in the data-picker
feature branch but it's still few steps away from being ready.
New tests and new bugs found.