From a47ecd4c074c8b5d2054a8c145cb385adf1f2fda Mon Sep 17 00:00:00 2001 From: sheshtawy Date: Mon, 2 Apr 2018 16:49:02 -0400 Subject: [PATCH] Move notebook fixture to deletetest file to minimize the dependency on changes in PR #3475. This should be update once that PR is merged --- notebook/tests/selenium/test_deletecell.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/notebook/tests/selenium/test_deletecell.py b/notebook/tests/selenium/test_deletecell.py index 68d162bf5..0b7efb975 100644 --- a/notebook/tests/selenium/test_deletecell.py +++ b/notebook/tests/selenium/test_deletecell.py @@ -2,6 +2,10 @@ import os import pytest from .utils import Notebook +@pytest.fixture +def notebook(authenticated_browser): + return Notebook.new_notebook(authenticated_browser) + def get_cells_contents(nb): JS = 'return Jupyter.notebook.get_cells().map(function(c) {return c.get_text();})' return nb.browser.execute_script(JS)