|
1 | 1 | //Selectors: |
2 | 2 |
|
3 | | -export const EMPTY_DATASET_VIEWER_SELECTOR = '.MuiBox-empty'; |
4 | | -export const EMPTY_DATASET_LIST_SELECTOR = '.no-instance'; |
5 | | -export const LOAD_BUTTONS_SELECTOR = 'button[class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-disableElevation MuiButton-fullWidth"]'; |
6 | | -export const DATASET_LIST_SELECTOR = '.datasets_list'; |
7 | | -export const DATASET_ITEM_SELECTOR = '.dataset_item'; |
8 | | -export const DONE_BUTTON_SELECTOR = 'button[class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-disableElevation Mui-disabled MuiButton-fullWidth Mui-disabled"]'; |
9 | | -export const DATASET_COUNT_NUMBER_SELECTOR = 'p[class="MuiTypography-root MuiTypography-body1"]'; |
10 | | -export const SPARC_DATASET_LIST_SELECTOR = 'li[class="MuiListItem-root dataset_item MuiListItem-gutters"]'; |
11 | | -export const ENABLED_DONE_BUTTON_SELECTOR = 'button[class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-disableElevation MuiButton-fullWidth"]'; |
12 | | -export const LOADED_DATASET_SELECTOR = 'p[class="MuiTypography-root labelText MuiTypography-body2"]'; |
13 | | -export const GRAPH_SELECTOR = '.graph-view'; |
14 | | -export const OPEN_FOLDER_BUTTON_SELECTOR = 'span[class="MuiTypography-root labelCaption MuiTypography-caption MuiTypography-colorInherit"]'; |
15 | | -export const SUBFOLDERS_SELECTOR = 'ul[class="MuiCollapse-root MuiTreeItem-group MuiCollapse-entered"]' |
16 | | -export const FELINE_DATASET_IMG_SELECTOR = 'img[alt="Feline brainstem neuron extracellular potential recordings"]'; |
17 | | -export const DATA_ID_SELECTOR = 'h6[class="MuiTypography-root breadcrumb_selected MuiTypography-subtitle2"]'; |
18 | | -export const URL_UPLOADER_SELECTOR = '#url-uploader'; |
19 | | -export const LOAD_DATA_POPUP_SELECTOR = 'div[class="MuiTabs-root rounded"]'; |
20 | | -export const LOAD_THROUGH_URL_TAB_SELECTOR = '#simple-tab-1'; |
21 | | -export const LOCAL_UPLOAD_TAB_SELECTOR = '#simple-tab-0'; |
22 | | -export const LOCAL_SYSTEM_UPLOAD_BUTTON_SELECTOR = '#simple-tabpanel-0'; |
| 3 | +const EMPTY_DATASET_VIEWER_SELECTOR = '.MuiBox-empty'; |
| 4 | +const EMPTY_DATASET_LIST_SELECTOR = '.no-instance'; |
| 5 | +const LOAD_BUTTONS_SELECTOR = 'button[class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-disableElevation MuiButton-fullWidth"]'; |
| 6 | +const DATASET_LIST_SELECTOR = '.datasets_list'; |
| 7 | +const DATASET_ITEM_SELECTOR = '.dataset_item'; |
| 8 | +const DONE_BUTTON_SELECTOR = 'button[class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-disableElevation Mui-disabled MuiButton-fullWidth Mui-disabled"]'; |
| 9 | +const DATASET_COUNT_NUMBER_SELECTOR = 'p[class="MuiTypography-root MuiTypography-body1"]'; |
| 10 | +const SPARC_DATASET_LIST_SELECTOR = 'li[class="MuiListItem-root dataset_item MuiListItem-gutters"]'; |
| 11 | +const ENABLED_DONE_BUTTON_SELECTOR = 'button[class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-disableElevation MuiButton-fullWidth"]'; |
| 12 | +const LOADED_DATASET_SELECTOR = 'p[class="MuiTypography-root labelText MuiTypography-body2"]'; |
| 13 | +const GRAPH_SELECTOR = '.graph-view'; |
| 14 | +const OPEN_FOLDER_BUTTON_SELECTOR = 'span[class="MuiTypography-root labelCaption MuiTypography-caption MuiTypography-colorInherit"]'; |
| 15 | +const SUBFOLDERS_SELECTOR = 'ul[class="MuiCollapse-root MuiTreeItem-group MuiCollapse-entered"]' |
| 16 | +const FELINE_DATASET_IMG_SELECTOR = 'img[alt="Feline brainstem neuron extracellular potential recordings"]'; |
| 17 | +const DATA_ID_SELECTOR = 'h6[class="MuiTypography-root breadcrumb_selected MuiTypography-subtitle2"]'; |
| 18 | +const URL_UPLOADER_SELECTOR = '#url-uploader'; |
| 19 | +const LOAD_DATA_POPUP_SELECTOR = 'div[class="MuiTabs-root rounded"]'; |
| 20 | +const LOAD_THROUGH_URL_TAB_SELECTOR = '#simple-tab-1'; |
| 21 | +const LOCAL_UPLOAD_TAB_SELECTOR = '#simple-tab-0'; |
| 22 | +const LOCAL_SYSTEM_UPLOAD_BUTTON_SELECTOR = '#simple-tabpanel-0'; |
| 23 | + |
| 24 | +module.exports = { |
| 25 | + EMPTY_DATASET_VIEWER_SELECTOR, |
| 26 | + EMPTY_DATASET_LIST_SELECTOR, |
| 27 | + LOAD_BUTTONS_SELECTOR, |
| 28 | + DATASET_LIST_SELECTOR, |
| 29 | + DATASET_ITEM_SELECTOR, |
| 30 | + DONE_BUTTON_SELECTOR, |
| 31 | + DATASET_COUNT_NUMBER_SELECTOR, |
| 32 | + SPARC_DATASET_LIST_SELECTOR, |
| 33 | + ENABLED_DONE_BUTTON_SELECTOR, |
| 34 | + LOADED_DATASET_SELECTOR, |
| 35 | + GRAPH_SELECTOR, |
| 36 | + OPEN_FOLDER_BUTTON_SELECTOR, |
| 37 | + SUBFOLDERS_SELECTOR, |
| 38 | + FELINE_DATASET_IMG_SELECTOR, |
| 39 | + DATA_ID_SELECTOR, |
| 40 | + URL_UPLOADER_SELECTOR, |
| 41 | + LOAD_DATA_POPUP_SELECTOR, |
| 42 | + LOAD_THROUGH_URL_TAB_SELECTOR, |
| 43 | + LOCAL_UPLOAD_TAB_SELECTOR, |
| 44 | + LOCAL_SYSTEM_UPLOAD_BUTTON_SELECTOR |
| 45 | +}; |
23 | 46 |
|
0 commit comments