diff --git a/tests/acceptance/Notebook.robot b/tests/acceptance/Notebook.robot index 82fe831a..ee9cb5f9 100644 --- a/tests/acceptance/Notebook.robot +++ b/tests/acceptance/Notebook.robot @@ -9,7 +9,7 @@ Suite Setup Start Notebook Tests Test Tags app:notebook *** Variables *** -${XP_NEW_MENU} xpath://div[contains(@class, "jp-FileBrowser-toolbar")]//*[contains(text(), "New")] +${XP_NEW_MENU} xpath://jp-toolbar[contains(@class, "jp-FileBrowser-toolbar")]//*[contains(text(), "New")] ${XP_OPEN_COMMAND} xpath://li[@data-command = "server-proxy:open"] *** Test Cases ***