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

Metrics E2E tests - part 2 #42427

Merged
merged 17 commits into from May 9, 2024
Merged

Metrics E2E tests - part 2 #42427

merged 17 commits into from May 9, 2024

Conversation

ranquild
Copy link
Contributor

@ranquild ranquild commented May 8, 2024

New tests and new bugs found.

@@ -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));
Copy link
Contributor Author

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

Copy link
Contributor

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", () => {
Copy link
Contributor Author

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

@ranquild ranquild requested a review from a team May 8, 2024 20:47
Copy link

replay-io bot commented May 8, 2024

Status Complete ↗︎
Commit 979aa2c
Results
3 Failed
⚠️ 8 Flaky
2435 Passed

});
popover().button("Done").click();
saveMetric();
runQuery();
Copy link
Contributor

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));
Copy link
Contributor

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.

@ranquild ranquild merged commit 6caa525 into metrics-v2 May 9, 2024
24 checks passed
@ranquild ranquild deleted the 42278-metric-e2e-2 branch May 9, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants