Skip to content

Commit

Permalink
remove selecting option 'use data grid' (#7458)
Browse files Browse the repository at this point in the history
  • Loading branch information
EfimovVladimir authored and scottdraves committed May 31, 2018
1 parent 8fc2fc3 commit 8ff348b
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 110 deletions.
7 changes: 0 additions & 7 deletions test/js/groovy/bigIntsTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ describe('Large Integers in Tables ', function () {
beforeAll(function () {
beakerxPO = new BeakerXPageObject();
beakerxPO.runNotebookByUrl('/test/ipynb/groovy/BigIntsTest.ipynb');
beakerxPO.openUIWindow();
}, 2);

afterAll(function () {
Expand All @@ -32,12 +31,6 @@ describe('Large Integers in Tables ', function () {
var cellIndex;
var imageDir = 'groovy/bigInts';

describe('UI options. ', function () {
it("Use new table widget. ", function () {
beakerxPO.setDataGridForTable(true, false);
});
});

describe('64-bit Longs ', function () {
it('Should display 64-bit Longs values ', function () {
cellIndex = 0;
Expand Down
7 changes: 0 additions & 7 deletions test/js/groovy/groovyTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ describe('Groovy base tests. ', function () {
beakerxPO = new BeakerXPageObject();
plotHelper = new PlotHelperObject();
beakerxPO.runNotebookByUrl('/test/ipynb/groovy/GroovyTest.ipynb');
beakerxPO.openUIWindow();
}, 2);

afterAll(function () {
Expand All @@ -35,12 +34,6 @@ describe('Groovy base tests. ', function () {
var cellIndex;
var imageDir = 'groovy/groovy';

describe('UI options. ', function () {
it("Use new table widget. ", function () {
beakerxPO.setDataGridForTable(true, false);
});
});

describe('Define local and global variables. ', function () {
it('Execute result output contains "2". ', function () {
cellIndex = 0;
Expand Down
7 changes: 0 additions & 7 deletions test/js/groovy/mapLikeTableTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ describe('(Groovy) Testing Map Like Tables', function () {
beforeAll(function () {
beakerxPO = new BeakerXPageObject();
beakerxPO.runNotebookByUrl('/test/ipynb/groovy/MapLikeTableTest.ipynb');
beakerxPO.openUIWindow();
});

afterAll(function () {
Expand All @@ -32,12 +31,6 @@ describe('(Groovy) Testing Map Like Tables', function () {
var cellIndex;
var imageDir = 'groovy/mapLikeTable';

describe('UI options. ', function () {
it("Use new table widget. ", function () {
beakerxPO.setDataGridForTable(true, false);
});
});

describe('Table display ', function () {
it('A basic table is rendered correctly ', function () {
cellIndex = 0;
Expand Down
7 changes: 0 additions & 7 deletions test/js/groovy/outputContainerTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ describe('(Groovy) Output Containers ', function () {
beforeAll(function () {
beakerxPO = new BeakerXPageObject();
beakerxPO.runNotebookByUrl('/test/ipynb/groovy/OutputContainersTest.ipynb');
beakerxPO.openUIWindow();
});

afterAll(function () {
Expand All @@ -39,12 +38,6 @@ describe('(Groovy) Output Containers ', function () {
return widget.isVisible('div.p-Widget.p-DataGrid-viewport');
}

describe('UI options. ', function () {
it("Use new table widget. ", function () {
beakerxPO.setDataGridForTable(true, false);
});
});

describe('(Groovy) OutputCell.HIDDEN ', function() {
it("Cell doesn't have output", function () {
cellIndex = 0;
Expand Down
7 changes: 0 additions & 7 deletions test/js/groovy/tableActionsTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ describe('Testing of table Actions ', function () {
beforeAll(function () {
beakerxPO = new BeakerXPageObject();
beakerxPO.runNotebookByUrl('/test/ipynb/groovy/TableActionsTest.ipynb');
beakerxPO.openUIWindow();
}, 2);

afterAll(function () {
Expand All @@ -39,12 +38,6 @@ describe('Testing of table Actions ', function () {
var imageDir = 'groovy/tableActions';
var width = 130, height = 65;

describe('UI options. ', function () {
it("Use new table widget. ", function () {
beakerxPO.setDataGridForTable(true, false);
});
});

describe('ContextMenuItem action ', function () {
var codeCell;

Expand Down
7 changes: 0 additions & 7 deletions test/js/groovy/tableMenuTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ describe('Testing of table Actions ', function () {
beforeAll(function () {
beakerxPO = new BeakerXPageObject();
beakerxPO.runNotebookByUrl('/test/ipynb/groovy/TableMenuTest.ipynb');
beakerxPO.openUIWindow();
}, 2);

afterAll(function () {
Expand Down Expand Up @@ -72,12 +71,6 @@ describe('Testing of table Actions ', function () {
var cellIndex;
var imageDir = 'groovy/tableMenu';

describe('UI options. ', function () {
it("Use new table widget. ", function () {
beakerxPO.setDataGridForTable(true, false);
});
});

describe('Show/Hide menu Items ', function () {
var maxWidth;

Expand Down
7 changes: 0 additions & 7 deletions test/js/groovy/tablesawTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ describe('Tests for combination of code and magics. ', function () {
beakerxPO = new BeakerXPageObject();
plotHelper = new PlotHelperObject();
beakerxPO.runNotebookByUrl('/test/ipynb/groovy/TablesawTest.ipynb');
beakerxPO.openUIWindow();
});

afterAll(function () {
Expand All @@ -34,12 +33,6 @@ describe('Tests for combination of code and magics. ', function () {
var cellIndex;
var imageDir = 'groovy/tablesaw';

describe('UI options. ', function () {
it("Use new table widget. ", function () {
beakerxPO.setDataGridForTable(true, false);
});
});

describe('Import tablesaw jars. ', function () {
it('Output contains names of jars. ', function () {
cellIndex = 0;
Expand Down
11 changes: 0 additions & 11 deletions test/js/lab.po.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,17 +165,6 @@ var LabPageObject = function () {
browser.$$('li.p-TabBar-tab')[9].click();
};

this.setDataGridForTable = function(isDataGrid, closeUIWindow){
browser.click('div.p-CommandPalette-itemLabel=BeakerX Options');
var uiPanel = browser.$('div#beakerx-tree-widget');
uiPanel.$$('li.p-TabBar-tab')[1].click();
var checkBox = uiPanel.$('input#use_data_grid');
if(checkBox.isSelected() ? !isDataGrid : isDataGrid){
browser.click('input#use_data_grid');
}
browser.$$('li.p-TabBar-tab')[9].click();
};

this.setJVMProperties = function (heapSize, key, value, url) {
if(url != null){
this.runNotebookByUrl(url);
Expand Down
7 changes: 0 additions & 7 deletions test/js/nbviewer/plotNbviewerTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ describe('Publish plot groovy notebook js', function () {
plotHelper = new PlotHelperObject();
tableHelper = new TableHelperObject();
beakerxPO.runNotebookByUrl('/test/ipynb/nbviewer/PlotNbviewerTest.ipynb');
beakerxPO.openUIWindow();
}, 2);

afterAll(function () {
Expand All @@ -43,12 +42,6 @@ describe('Publish plot groovy notebook js', function () {
}, 60000, 'expected 11 cells outputs are not exist');
}

describe('UI options. ', function () {
it("Disable PhosphorJS DataGrid for TableDisplay Widget. ", function () {
beakerxPO.setDataGridForTable(false, true);
});
});

describe('Run all cells on local notebook', function () {
it('(local notebook) should run all cells ', function () {
beakerxPO.clickRunAllCells();
Expand Down
15 changes: 0 additions & 15 deletions test/js/notebook.po.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,21 +133,6 @@ var NotebookPageObject = function () {
browser.window(browser.windowHandles().value[0]);
};

this.setDataGridForTable = function(isDataGrid, closeUIWindow){
browser.window(browser.windowHandles().value[1]);
browser.waitForEnabled('a#beakerx_tab');
browser.click('a#beakerx_tab');
browser.$$('li.p-TabBar-tab')[1].click();
var checkBox = browser.$('input#use_data_grid');
if(checkBox.isSelected() ? !isDataGrid : isDataGrid){
browser.click('input#use_data_grid');
}
if(closeUIWindow){
browser.window();
}
browser.window(browser.windowHandles().value[0]);
};

this.setJVMProperties = function (heapSize, key, value, url) {
this.openUIWindow();
browser.window(browser.windowHandles().value[1]);
Expand Down
7 changes: 0 additions & 7 deletions test/js/python/kernelMagicsTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ describe('Tests for kernel magic. ', function () {
beforeAll(function () {
beakerxPO = new BeakerXPageObject();
beakerxPO.runNotebookByUrl('/test/ipynb/python/KernelMagicsTest.ipynb');
beakerxPO.openUIWindow();
});

afterAll(function () {
Expand All @@ -32,12 +31,6 @@ describe('Tests for kernel magic. ', function () {
var cellIndex;
var imageDir = 'python/kernelMagics';

describe('UI options. ', function () {
it("Use new table widget. ", function () {
beakerxPO.setDataGridForTable(true, false);
});
});

describe('%%groovy ', function () {
it('Should display stdout and execute results ', function () {
cellIndex = 0;
Expand Down
7 changes: 0 additions & 7 deletions test/js/python/outputContainerTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ describe('(Groovy) Output Containers ', function () {
beforeAll(function () {
beakerxPO = new BeakerXPageObject();
beakerxPO.runNotebookByUrl('/test/ipynb/python/OutputContainersTest.ipynb');
beakerxPO.openUIWindow();
});

afterAll(function () {
Expand All @@ -39,12 +38,6 @@ describe('(Groovy) Output Containers ', function () {
return widget.isVisible('div.p-Widget.p-DataGrid-viewport');
}

describe('UI options. ', function () {
it("Use new table widget. ", function () {
beakerxPO.setDataGridForTable(true, false);
});
});

describe('(Python) Without output. ', function() {
it("Cell doesn't have output. ", function () {
cellIndex = 0;
Expand Down
7 changes: 0 additions & 7 deletions test/js/python/tableAPIPythonTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ describe('Testing of table (python)', function () {
beforeAll(function () {
beakerxPO = new BeakerXPageObject();
beakerxPO.runNotebookByUrl('/test/ipynb/python/TableAPIPythonTest.ipynb');
beakerxPO.openUIWindow();
});

afterAll(function () {
Expand All @@ -32,12 +31,6 @@ describe('Testing of table (python)', function () {
var cellIndex;
var imageDir = 'python/tableAPI';

describe('UI options. ', function () {
it("Use new table widget. ", function () {
beakerxPO.setDataGridForTable(true, false);
});
});

describe("Data types for TableDisplay", function(){

it('Can use Array of Integers parameter', function () {
Expand Down
7 changes: 0 additions & 7 deletions test/js/sql/sqlTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ describe('SQL base tests ', function () {
beforeAll(function () {
beakerxPO = new BeakerXPageObject();
beakerxPO.runNotebookByUrl('/test/ipynb/sql/SQLTest.ipynb');
beakerxPO.openUIWindow();
}, 2);

afterAll(function () {
Expand All @@ -32,12 +31,6 @@ describe('SQL base tests ', function () {
var imageDir = 'sql/sql';
var cellIndex = 0;

describe('UI options. ', function () {
it("Use new table widget. ", function () {
beakerxPO.setDataGridForTable(true, false);
});
});

describe('Create and select table (H2 database) ', function () {
it('Output contains table ', function () {
beakerxPO.runCodeCellByIndex(0);
Expand Down

0 comments on commit 8ff348b

Please sign in to comment.