Skip to content
Snippets Groups Projects
Unverified Commit 6df0c918 authored by Cam Saul's avatar Cam Saul Committed by GitHub
Browse files

Merge 38.4 (except for #15472) into release-x.39.x

parents 2845ccc3 53cd03ce
No related branches found
Tags v1.39.0
No related merge requests found
......@@ -125,7 +125,6 @@ export function seriesSetting({
{ name: t`Right`, value: "right" },
],
},
getHidden: (single, settings, { series }) => series.length < 2,
},
show_series_values: {
title: t`Show values for this series`,
......
import { restore, visitQuestionAdhoc } from "__support__/cypress";
import { SAMPLE_DATASET } from "__support__/cypress_sample_dataset";
const { ORDERS, ORDERS_ID } = SAMPLE_DATASET;
const Y_AXIS_RIGHT_SELECTOR = ".axis.yr";
const testQuery = {
type: "query",
query: {
"source-table": ORDERS_ID,
aggregation: [["count"]],
breakout: [["datetime-field", ["field-id", ORDERS.CREATED_AT], "month"]],
},
database: 1,
};
describe("scenarios > visualizations > line chart", () => {
beforeEach(() => {
restore();
cy.signInAsNormalUser();
cy.server();
});
it("should be able to change y axis position (metabase#13487)", () => {
cy.route("POST", "/api/dataset").as("dataset");
visitQuestionAdhoc({
dataset_query: testQuery,
display: "line",
});
cy.wait("@dataset");
cy.findByText("Settings").click();
cy.findByText("Right").click();
cy.get(Y_AXIS_RIGHT_SELECTOR);
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment