-
metabase-bot[bot] authored
* Set scrollToLastColumn ui control from column extract action * Scroll to last column when the uiControl is set * Scroll to last column when combining a column * Scroll to last column when combining a column via the + shortcut * Scroll to last column when extracting a column via the + shortcut * Remove all references to settingsSyncOptions * Check that the column is added at the end * Disable scrollToLastColumn once used * Add test that verifies scrollToLastColumn ui control has been reset Co-authored-by:
Romeo Van Snick <romeo@romeovansnick.be>
metabase-bot[bot] authored* Set scrollToLastColumn ui control from column extract action * Scroll to last column when the uiControl is set * Scroll to last column when combining a column * Scroll to last column when combining a column via the + shortcut * Scroll to last column when extracting a column via the + shortcut * Remove all references to settingsSyncOptions * Check that the column is added at the end * Disable scrollToLastColumn once used * Add test that verifies scrollToLastColumn ui control has been reset Co-authored-by:
Romeo Van Snick <romeo@romeovansnick.be>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
column_extract_drill.cy.spec.js 8.78 KiB
import _ from "underscore";
import { SAMPLE_DB_ID } from "e2e/support/cypress_data";
import { SAMPLE_DATABASE } from "e2e/support/cypress_sample_database";
import { ORDERS_QUESTION_ID } from "e2e/support/cypress_sample_instance_data";
import {
describeWithSnowplow,
enterCustomColumnDetails,
expectGoodSnowplowEvent,
expectNoBadSnowplowEvents,
getNotebookStep,
openNotebook,
openOrdersTable,
openPeopleTable,
popover,
resetSnowplow,
restore,
visitQuestion,
visualize,
} from "e2e/support/helpers";
const { ORDERS, ORDERS_ID, PEOPLE } = SAMPLE_DATABASE;
const DATE_CASES = [
{
option: "Hour of day",
value: "21",
example: "0, 1",
},
{
option: "Day of month",
value: "11",
example: "1, 2",
},
{
option: "Day of week",
value: "Tuesday",
example: "Monday, Tuesday",
},
{
option: "Month of year",
value: "Feb",
example: "Jan, Feb",
},
{
option: "Quarter of year",
value: "Q1",
example: "Q1, Q2",
},
{
option: "Year",
value: "2,025",
example: "2023, 2024",
},
];
const EMAIL_CASES = [
{
option: "Domain",
value: "yahoo",
example: "example, online",
},
{
option: "Host",
value: "yahoo.com",
example: "example.com, online.com",
},
];
const URL_CASES = [