From b21b4b0087efe1eb08dae1c2bc05236c22942367 Mon Sep 17 00:00:00 2001 From: Asko Soukka Date: Sun, 12 Jan 2020 22:59:10 +0200 Subject: [PATCH] Re-label RobotKernel examples to fit it better with quick start and tutorials (#64) --- recipes/robotlab/builder.py | 14 +++++++------- tests/resources/Selectors.robot | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/recipes/robotlab/builder.py b/recipes/robotlab/builder.py index 38a266e..f5fedea 100644 --- a/recipes/robotlab/builder.py +++ b/recipes/robotlab/builder.py @@ -70,13 +70,6 @@ "py_src": "robotkernel", "src": "resources/starter/quickstart-starter.ipynb" }, - "robotkernel-examples": { - "type": "copy", - "label": "More Robot Kernel Examples", - "description": "Examples of using robotkernel", - "icon": SVG.read_text().replace("jp-icon2", "jp-icon-contrast1"), - "src": str(EXAMPLES) - }, "robotkernel-tutorial": { "label": "Tutorial", "description": "Tutorial for Robot Framework on Jupyter", @@ -84,6 +77,13 @@ "py_src": "robotkernel", "src": "resources/notebooks/tutorial", "icon": SVG.read_text().replace("jp-icon3", "jp-icon-contrast3") + }, + "robotkernel-examples": { + "type": "copy", + "label": "Samples", + "description": "Miscellanous examples of using RobotKernel", + "icon": SVG.read_text().replace("jp-icon2", "jp-icon-contrast1"), + "src": str(EXAMPLES) } } } diff --git a/tests/resources/Selectors.robot b/tests/resources/Selectors.robot index f91010e..13acbfe 100644 --- a/tests/resources/Selectors.robot +++ b/tests/resources/Selectors.robot @@ -2,7 +2,7 @@ ${XP LAUNCH SECTION} xpath://h2[contains(@class, 'jp-Launcher-sectionTitle')][text() = 'Starters'] ${CSS LAUNCH CARD} css:[data-category\="Starters"] ${CSS LAUNCH CARD TUTORIAL} ${CSS LAUNCH CARD}\[title\="Tutorial for Robot Framework on Jupyter"] -${CSS LAUNCH CARD EXAMPLES} ${CSS LAUNCH CARD}\[title\="Examples of using robotkernel"] +${CSS LAUNCH CARD EXAMPLES} ${CSS LAUNCH CARD}\[title\="Miscellanous examples of using RobotKernel"] ${XP FILE TREE ITEM} xpath://span[contains(@class, 'jp-DirListing-itemText')] ${XP FILE TREE TUTORIAL} ${XP FILE TREE ITEM}\[text() = 'tutorial'] ${XP FILE TREE TUTORIAL 00} ${XP FILE TREE ITEM}\[text() = '00 Keyboard Shortcuts.ipynb']