Skip to content

Commit 46bf544

Browse files
netpyne-100 update selectors
1 parent e767c0d commit 46bf544

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

tests/frontend/e2e/tests/selectors.js

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

22
export const BASE_PAGE_SELECTOR = '.NetPyNE-root-1'
33
export const TUTORIALS_BUTTON_SELECTOR = 'button[id = "Tutorials"]'
4-
export const TUTORIAL_3A_SELECTOR = 'li[id= "Tut 3a: Multiscale network (low IP3)"]'
54
export const MODEL_BUTTON_SELECTOR = 'button[id="Model"]'
65
export const CREATE_NETWORK_SELECTOR = 'li[id="Create network"]'
76
export const SIMULATE_NETWORK_SELECTOR = 'li[id="Simulate network"]'
7+
export const SIMULATE_TOP_RIGHT_BUTTON_SELECTOR = 'div[class="MuiButtonGroup-root MuiButtonGroup-contained"]'
88
export const SIMULATION_PAGE_SELECTOR = 'canvas'
99
export const CONNECTIONS_PLOT_SELECTOR = 'div[title=\"Connections Plot\"][role=button]'
1010
export const LOGIN_PAGE_SELECTOR = '#login-main';
@@ -13,7 +13,16 @@ export const PASSWORD_SELECTOR = '#password_input';
1313
export const LOGIN_BUTTON_SELECTOR = '#login_submit';
1414
export const SELECT_CELL_BUTTON_SELECTOR = '#selectCellButton';
1515
export const TUTORIAL_1_SELECTOR = "li[id='Tut 1: Simple cell network']";
16+
export const TUTORIAL_2_SELECTOR = "li[id='Tut 2: Detailed cell network']"
17+
export const TUTORIAL_3A_SELECTOR = "li[id='Tut 3a: Multiscale network (low IP3)']"
18+
export const TUTORIAL_3B_SELECTOR = "li[id='Tut 3b: Multiscale network (high IP3)']"
19+
export const TUTORIAL_3C_SELECTOR = "li[id='Tut 3c: Multiscale network (no RxD)']"
20+
export const TUTORIAL_4_SELECTOR = "li[id='Tut 4: Simple oscillatory network']"
1621
export const PYR_CELL_SELECTOR = '#pyr';
22+
export const PYR_2_CELL_SELECTOR = '#PYR'
23+
export const INT_CELL_SELECTOR = '#INT'
24+
export const E_CELL_TYPE_SELECTOR = '#E'
25+
export const I_CELL_TYPE_SELECTOR = '#I'
1726
export const CONFIGURATION_TAB_SELECTOR = 'div[title="Configuration"]';
1827
export const RECORDING_CONFIGURATION_TAB_SELECTOR = '#configRecord';
1928
export const TRACES_TO_RECORD_SELECTOR = `div[title="Dict of traces to record (default: {} ; example: {'V_soma': {'sec':'soma','loc':0.5,'var':'v'} })."]`;
@@ -24,7 +33,17 @@ export const SIMULATE_BUTTON_SELECTOR = 'div[class="MuiButtonGroup-root MuiButto
2433
export const RASTER_PLOT_SELECTOR = 'div[title="Raster plot"][aria-disabled="false"]';
2534
export const EEG_PLOT_SELECTOR = 'div[title="EEG plot"][aria-disabled="false"]';
2635
export const DIPOLE_PLOT_SELECTOR = 'div[title="Dipole plot"][aria-disabled="false"]';
36+
export const GRANGER_PLOT_SELECTOR = 'div[title=\"Granger Plot\"][role=button]'
37+
export const TWO_D_NET_PLOT_SELECTOR = 'div[title=\"2D Net Plot\"][role=button]'
38+
export const CELL_TRACES_PLOT_SELECTOR = 'div[title=\"Cell traces\"][role=button]'
39+
export const SPIKE_HIST_PLOT_SELECTOR = 'div[title=\"Spike Hist Plot\"][role=button]'
40+
export const RATE_SPECTROGRAM_PLOT_SELECTOR = 'div[title=\"Rate Spectrogram Plot\"][role=button]'
41+
export const RXD_CONCENTRATION_PLOT_SELECTOR = 'div[title=\"RxD concentration plot\"][role=button]'
42+
export const LFP_TS_PLOT_SELECTOR = 'div[title=\"LFP Time Series Plot\"][role=button]'
43+
export const LFP_PSD_PLOT_SELECTOR = 'div[title=\"LFP PSD Plot\"][role=button]'
44+
export const LFP_SPECTOGRAM_PLOT_SELECTOR = 'div[title=\"LFP Spectrogram Plot\"][role=button]'
2745
export const CANVAS_SELECTOR = 'canvas';
46+
export const THREE_D_REP_SELECTOR = 'div[title="3D Representation"][aria-disabled="false"]'
2847
export const DISABLED_RASTER_PLOT_SELECTOR = 'div[title="Raster plot"][aria-disabled="true"]'
2948
export const EXPERIMENT_MANAGER_TAB_SELECTOR = 'div[title="Experiment Manager"]'
3049
export const CREATE_NEW_EXPERIMENT_SELECTOR = 'button[class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary"]'
@@ -47,4 +66,7 @@ export const EXPERIMENT_TABLE_SELECTOR = 'table[class="MuiTable-root"]'
4766
export const CREATED_EXPERIMENT_SELECTOR = 'button[class="MuiButtonBase-root MuiButton-root MuiButton-text"]'
4867
export const EXPERIMENT_CONDIIONS_ROW_SELECTOR = 'tr[class = "MuiTableRow-root MuiTableRow-head"]'
4968
export const EDIT_EXPERIMENT_BACK_SELECTOR = '.editExperimentBack > svg'
50-
export const INDIVIDUAL_EXPERIMENT_ROW_SELECTOR = 'tr[class="MuiTableRow-root"]'
69+
export const INDIVIDUAL_EXPERIMENT_ROW_SELECTOR = 'tr[class="MuiTableRow-root"]'
70+
export const FILE_TAB_SELECTOR = '#File'
71+
export const NEW_FILE_SELECTOR = '#New'
72+
export const CONFIRM_NEW_PAGE_SELECTOR = '#appBarPerformActionButton'

0 commit comments

Comments
 (0)