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

Port metric v1 e2e tests #42125

Merged
merged 8 commits into from May 6, 2024
Merged

Port metric v1 e2e tests #42125

merged 8 commits into from May 6, 2024

Conversation

metamben
Copy link
Contributor

@metamben metamben commented May 1, 2024

No description provided.

@metamben metamben self-assigned this May 1, 2024
@metabase-bot metabase-bot bot added the .Team/QueryProcessor :hammer_and_wrench: label May 1, 2024
Copy link

replay-io bot commented May 1, 2024

Status Complete ↗︎
Commit b962027
Results
2 Failed
⚠️ 5 Flaky
2428 Passed

@metamben metamben requested a review from camsaul as a code owner May 1, 2024 22:02
@metamben metamben requested a review from ranquild May 2, 2024 20:27
@@ -845,6 +845,79 @@ describe("scenarios > question > notebook", { tags: "@slow" }, () => {
.contains("[Revenue]");
});
});

it("should be possible to sort by metric (metabase#8283)", () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scavenged from the admin metrics tests.

cy.findByText("Created At is Jan 1–31, 2024").should("be.visible");
});
// FIXME metrics v2 -- check that the values in column Total are above 150
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how to do this best. Ideally, we would like to check that the filter is still in effect, but I don't think it should be listed as it's part of the metric which is still the source.

// FIXME metrics v2
// eslint-disable-next-line jest/no-disabled-tests
it.skip("should return fields from the model question's virtual card table, as though it is already nested", () => {
it("should return fields from the model question's virtual card table, as though it is already nested", () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't see how this is related to metrics, so I think it should pass.

// FIXME metrics v2
// eslint-disable-next-line jest/no-disabled-tests
it.skip("does not show custom warning modal when saving new model", async () => {
it("does not show custom warning modal when saving new model", async () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't see how this is related to metrics, so I think it should pass.

@metamben metamben merged commit ba17a84 into metrics-v2 May 6, 2024
106 of 112 checks passed
@metamben metamben deleted the port-metric-v1-e2e-tests branch May 6, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Team/QueryProcessor :hammer_and_wrench:
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants