Skip to content

Commit e514199

Browse files
author
Sebastian Benjamin
committed
Remove some timing blocks in tests
1 parent 8ca38a0 commit e514199

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

jbrowse/src/client/JBrowse/Browser/plugins/ExtendedVariantPlugin/ExtendedVariantDisplay/model.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export default jbrowse => {
273273
}
274274
}]
275275

276-
const supportsLuceneIndex = getConf(self, ['renderer', 'supportsLuceneIndex'])
276+
const supportsLuceneIndex = getConf(self, ['supportsLuceneIndex'])
277277
if (supportsLuceneIndex) {
278278
buttons.push({
279279
label: 'Variant Search',

jbrowse/src/client/JBrowse/Browser/plugins/ExtendedVariantPlugin/ExtendedVariantWidget/ExtendedVariantWidget.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,8 @@ export default jbrowse => {
339339
const [infoFields, setInfoFields] = useState<Map<string, FieldModel>>(null)
340340

341341
const feat = JSON.parse(JSON.stringify(feature))
342-
feat["vcfMetadataInfo"] = Object.fromEntries(
343-
Object.entries(featureInfoFields).map(([k, v]: [string, any]) => [k, v?.Description || v]),
344-
)
342+
343+
delete feat["vcfMetadataInfo"]
345344
const { samples } = feat
346345
feat["samples"] = null
347346

jbrowse/test/src/org/labkey/test/tests/external/labModules/JBrowseTest.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void testSteps() throws Exception
9292
testTitleMapping();
9393
testPredictedFunction();
9494
testAlleleFrequencies();
95-
//testGenotypeFrequencies();
95+
testGenotypeFrequencies();
9696

9797
testColorWidget();
9898
testDefaultColorApplied();
@@ -552,9 +552,6 @@ private void testGenotypeFrequencies()
552552
assertElementPresent(Locator.tagWithText("td", "3041"));
553553
assertElementPresent(Locator.tagWithText("span", "Genotype Frequency (2329)"));
554554
assertElementPresent(Locator.tagWithText("a", "Click here to view sample-level genotypes"));
555-
while (isTextPresent("Loading")){
556-
sleep(10);
557-
}
558555
waitForElement(Locator.tagWithAttributeContaining("div","id","reactgooglegraph"));
559556
}
560557

@@ -1252,8 +1249,6 @@ private void testTrixSearch(String sessionId) throws Exception
12521249
searchBox.sendKeys(Keys.ENTER);
12531250
});
12541251

1255-
waitForJBrowseToLoad();
1256-
12571252
waitForElement(Locator.tagWithText("span", "fakeData.gff").withClass("MuiTypography-root"));
12581253
waitForElement(Locator.tagWithText("span", "fakeData.bed").withClass("MuiTypography-root"));
12591254

0 commit comments

Comments
 (0)