Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions anaconda-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ commands:
env_spec: rfjl37

install:win:
windows: >
python -m pip install _artifacts\\sdist\\robotframework-jupyterlibrary-0.1.0.tar.gz --no-deps --ignore-installed -vv
windows: python -m pip install _artifacts\\sdist\\robotframework-jupyterlibrary-0.1.0.tar.gz --no-deps --ignore-installed -vv
env_spec: win_rfjl37

env_specs:
Expand All @@ -65,20 +64,19 @@ env_specs:
- flake8
- geckodriver
- isort
- jupyterlab
- jupyterlab >=0.35
- nodejs
- pillow
- python-chromedriver-binary
- robotframework
- robotframework >=3.1
- robotframework-lint
- robotframework-seleniumlibrary
- robotframework-seleniumlibrary >=3.2
- six
- pip:
- nteract_on_jupyter
channels:
- conda-forge
- defaults

rfjl37:
inherit_from:
- robotframework-jupyterlibrary
Expand Down
6 changes: 3 additions & 3 deletions ci/steps.conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ steps:
flake8
geckodriver
isort
jupyterlab
jupyterlab>=0.35
nodejs>=10,<11
pillow
python-chromedriver-binary
python>=3.6,<3.7
robotframework
robotframework>=3.1
robotframework-lint
robotframework-seleniumlibrary
robotframework-seleniumlibrary>=3.2
- script: pip install nteract_on_jupyter --no-deps --ignore-installed -vv
displayName: Pip dependencies
6 changes: 3 additions & 3 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ dependencies:
- flake8
- geckodriver
- isort
- jupyterlab
- jupyterlab >=0.35
- nodejs
- pillow
- python-chromedriver-binary
- robotframework
- robotframework >=3.1
- robotframework-lint
- robotframework-seleniumlibrary
- robotframework-seleniumlibrary >=3.2
- six
- pip:
- nteract_on_jupyter
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ classifiers =

[options]
install_requires =
robotframework >3
robotframework-seleniumlibrary
robotframework >=3.1
robotframework-seleniumlibrary >=3.2
pillow
six
package_dir =
Expand Down
3 changes: 2 additions & 1 deletion src/JupyterLibrary/resources/jupyterlab/Launcher.robot
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Resource JupyterLibrary/resources/jupyterlab/Selectors.robot
Launch a new JupyterLab Document
[Arguments] ${kernel}=Python 3 ${category}=Notebook
[Documentation] Use the JupyterLab launcher to launch Notebook or Console
Click Element xpath:${JLAB XP CARD}[@title='${kernel}'][@data-category='${category}']
${sel} = Catenate SEPARATOR=${EMPTY} ${JLAB XP CARD} [@title='${kernel}'][@data-category='${category}']
Click Element xpath:${sel}
Wait Until Page Does Not Contain Element css:${JLAB CSS SPINNER}
Wait Until Page Contains Element css:${JLAB CSS CELL}
Sleep 0.1s
9 changes: 7 additions & 2 deletions src/JupyterLibrary/resources/jupyterlab/Shell.robot
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,20 @@ Wait for JupyterLab Splash Screen
Click JupyterLab Menu
[Arguments] ${menu_label}
[Documentation] Click a top-level JupyterLab Menu bar, e.g. File, Help, etc.
${xpath} = Set Variable ${JLAB XP TOP}${JLAB XP MENU LABEL}[text() = '${menu_label}']
${xpath} = Catenate SEPARATOR=${EMPTY}
... ${JLAB XP TOP}
... ${JLAB XP MENU LABEL}
... [text() = '${menu_label}']
Wait Until Page Contains Element ${xpath}
Mouse Over ${xpath}
Click Element ${xpath}

Click JupyterLab Menu Item
[Arguments] ${item_label}
[Documentation] Click a top-level JupyterLab Menu Item (not File, Help, etc.)
${item} = Set Variable ${JLAB XP MENU ITEM LABEL}[text() = '${item_label}']
${item} = Catenate SEPARATOR=${EMPTY}
... ${JLAB XP MENU ITEM LABEL}
... [text() = '${item_label}']
Wait Until Page Contains Element ${item}
Mouse Over ${item}
Click Element ${item}
Expand Down
3 changes: 2 additions & 1 deletion src/JupyterLibrary/resources/jupyterlab/Sidebar.robot
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ Maybe Open JupyterLab Sidebar
[Arguments] ${data id}
[Documentation] Attempt to open a JupyterLab sidebar (if not already open)
Maybe Close JupyterLab Sidebar
Click Element css:${JLAB CSS SIDEBAR TAB}[data-id="${data id}"]
${sel} = Catenate SEPARATOR=${EMPTY} ${JLAB CSS SIDEBAR TAB} [data-id="${data id}"]
Click Element css:${sel}