Skip to content

Commit 3f25b8e

Browse files
committed
Test fix
1 parent 0edd7c9 commit 3f25b8e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

SequenceAnalysis/test/src/org/labkey/test/tests/external/labModules/SequenceTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -987,18 +987,18 @@ private void readsetPanelTest() throws IOException
987987
sleep(200);
988988
waitForElement(Locator.tagContainingText("span", "5' Barcode").notHidden());
989989
Assert.assertEquals("Incorrect value for input file-handling field after barcode toggle", "compress", treatmentField.getValue());
990-
Assert.assertEquals("The test is looking for the wrong column index for 5' barcode", "barcode5", readsetGrid.getEval("columns[2].dataIndex"));
991-
Assert.assertEquals("The test is looking for the wrong column index for 3' barcode", "barcode3", readsetGrid.getEval("columns[3].dataIndex"));
990+
Assert.assertEquals("The test is looking for the wrong column index for 5' barcode", "barcode5", readsetGrid.getEval("columns[3].dataIndex"));
991+
Assert.assertEquals("The test is looking for the wrong column index for 3' barcode", "barcode3", readsetGrid.getEval("columns[4].dataIndex"));
992992

993-
Assert.assertFalse("5' barcode column should not be hidden", (Boolean) readsetGrid.getEval("columns[2].hidden"));
994-
Assert.assertFalse("3' barcode column should not be hidden", (Boolean) readsetGrid.getEval("columns[3].hidden"));
993+
Assert.assertFalse("5' barcode column should not be hidden", (Boolean) readsetGrid.getEval("columns[3].hidden"));
994+
Assert.assertFalse("3' barcode column should not be hidden", (Boolean) readsetGrid.getEval("columns[4].hidden"));
995995

996996
barcodeField.setChecked(false);
997997
sleep(200);
998998
waitForElementToDisappear(Locator.tagContainingText("span", "5' Barcode").notHidden());
999999
assertEquals("Incorrect value for input file-handling field after barcode toggle", "delete", treatmentField.getValue());
1000-
assertTrue("5' barcode column should be hidden", (Boolean) readsetGrid.getEval("columns[2].hidden"));
1001-
assertTrue("3' barcode column should be hidden", (Boolean) readsetGrid.getEval("columns[3].hidden"));
1000+
assertTrue("5' barcode column should be hidden", (Boolean) readsetGrid.getEval("columns[3].hidden"));
1001+
assertTrue("3' barcode column should be hidden", (Boolean) readsetGrid.getEval("columns[4].hidden"));
10021002

10031003
waitAndClick(Ext4Helper.Locators.ext4Button("Import Data"));
10041004
new Window.WindowFinder(getDriver()).withTitle("Error").waitFor();

0 commit comments

Comments
 (0)