2022-08-19 10:10:36 +00:00
|
|
|
export const modifierKey = Cypress.platform === "darwin" ? "meta" : "ctrl";
|
2023-02-15 11:42:46 +00:00
|
|
|
export const TABLE_COLUMN_ORDER_KEY = "tableWidgetColumnOrder";
|
2023-05-03 06:26:08 +00:00
|
|
|
export const TABLE_DATA_DYNAMIC = `{{[
|
2023-03-05 14:19:44 +00:00
|
|
|
{
|
|
|
|
|
"id": 2381224,
|
|
|
|
|
"email": "michael.lawson@reqres.in",
|
|
|
|
|
"userName": "Michael Lawson",
|
|
|
|
|
"productName": "Chicken Sandwich",
|
|
|
|
|
"orderAmount": 4.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 2736212,
|
|
|
|
|
"email": "lindsay.ferguson@reqres.in",
|
|
|
|
|
"userName": "Lindsay Ferguson",
|
|
|
|
|
"productName": "Tuna Salad",
|
|
|
|
|
"orderAmount": 9.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 6788734,
|
|
|
|
|
"email": "tobias.funke@reqres.in",
|
|
|
|
|
"userName": "Tobias Funke",
|
|
|
|
|
"productName": "Beef steak",
|
|
|
|
|
"orderAmount": 19.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 7434532,
|
|
|
|
|
"email": "byron.fields@reqres.in",
|
|
|
|
|
"userName": "Byron Fields",
|
|
|
|
|
"productName": "Chicken Sandwich",
|
|
|
|
|
"orderAmount": 4.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 7434532,
|
|
|
|
|
"email": "ryan.holmes@reqres.in",
|
|
|
|
|
"userName": "Ryan Holmes",
|
|
|
|
|
"productName": "Avocado Panini",
|
|
|
|
|
"orderAmount": 7.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 7434532,
|
|
|
|
|
"email": "byron.fields@reqres.in",
|
|
|
|
|
"userName": "Byron Fields",
|
|
|
|
|
"productName": "Chicken Sandwich",
|
|
|
|
|
"orderAmount": 4.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 7434532,
|
|
|
|
|
"email": "ryan.holmes@reqres.in",
|
|
|
|
|
"userName": "Ryan Holmes",
|
|
|
|
|
"productName": "Avocado Panini",
|
|
|
|
|
"orderAmount": 7.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 7434532,
|
|
|
|
|
"email": "byron.fields@reqres.in",
|
|
|
|
|
"userName": "Byron Fields",
|
|
|
|
|
"productName": "Chicken Sandwich",
|
|
|
|
|
"orderAmount": 4.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 7434532,
|
|
|
|
|
"email": "ryan.holmes@reqres.in",
|
|
|
|
|
"userName": "Ryan Holmes",
|
|
|
|
|
"productName": "Avocado Panini",
|
|
|
|
|
"orderAmount": 7.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 7434532,
|
|
|
|
|
"email": "byron.fields@reqres.in",
|
|
|
|
|
"userName": "Byron Fields",
|
|
|
|
|
"productName": "Chicken Sandwich",
|
|
|
|
|
"orderAmount": 4.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 7434532,
|
|
|
|
|
"email": "ryan.holmes@reqres.in",
|
|
|
|
|
"userName": "Ryan Holmes",
|
|
|
|
|
"productName": "Avocado Panini",
|
|
|
|
|
"orderAmount": 7.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 7434532,
|
|
|
|
|
"email": "byron.fields@reqres.in",
|
|
|
|
|
"userName": "Byron Fields",
|
|
|
|
|
"productName": "Chicken Sandwich",
|
|
|
|
|
"orderAmount": 4.99
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 7434532,
|
|
|
|
|
"email": "ryan.holmes@reqres.in",
|
|
|
|
|
"userName": "Ryan Holmes",
|
|
|
|
|
"productName": "Avocado Panini",
|
|
|
|
|
"orderAmount": 7.99
|
|
|
|
|
}
|
|
|
|
|
]}}`;
|
2023-05-03 06:26:08 +00:00
|
|
|
|
|
|
|
|
export const TABLE_DATA_STATIC = `
|
|
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"id": "#1",
|
|
|
|
|
"task": "Drop a table",
|
|
|
|
|
"status": "✅",
|
|
|
|
|
"action": ""
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "#2",
|
|
|
|
|
"task": "Create a query fetch_users with the Mock DB",
|
|
|
|
|
"status": "--",
|
|
|
|
|
"action": ""
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "#3",
|
|
|
|
|
"task": "Bind the query using => fetch_users.data",
|
|
|
|
|
"status": "--",
|
|
|
|
|
"action": ""
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
`;
|
2023-08-22 11:27:02 +00:00
|
|
|
|
2023-08-31 14:19:36 +00:00
|
|
|
export const WALKTHROUGH_TEST_PAGE = "WALKTHROUGH_TEST_PAGE";
|
2024-01-31 05:32:38 +00:00
|
|
|
export const ANVIL_EDITOR_TEST = "ANVIL_EDITOR_TEST";
|
2023-08-22 11:27:02 +00:00
|
|
|
export const DEFAULT_COLUMN_NAME = "Table Column";
|
2023-10-06 10:03:27 +00:00
|
|
|
export const FEATURE_WALKTHROUGH_INDEX_KEY = "FEATURE_WALKTHROUGH";
|
|
|
|
|
export const USER_SIGN_UP_INDEX_KEY = "USER_SIGN_UP";
|
2023-12-01 06:08:45 +00:00
|
|
|
|
|
|
|
|
export const LICENSE_FEATURE_FLAGS = ["license_audit_logs_enabled"];
|