diff --git a/frontend/test/components/AnalysisListing/AnalysisCard.spec.js b/frontend/test/components/AnalysisListing/AnalysisCard.spec.js index 5f4580ba..5a027a0f 100644 --- a/frontend/test/components/AnalysisListing/AnalysisCard.spec.js +++ b/frontend/test/components/AnalysisListing/AnalysisCard.spec.js @@ -81,7 +81,8 @@ describe('AnalysisCard.vue', () => { }); it('should show the coordinates information for a case', () => { const wrapper = getMountedComponent(); - expect(wrapper.html()).to.contains('c.745C>T'); + const variantListItem = wrapper.find('.variant-genomic-unit-text'); + expect(variantListItem.text()).to.contains('c.745C>T'); }); }); diff --git a/system-tests/package.json b/system-tests/package.json index 5dac2058..198c1ff5 100644 --- a/system-tests/package.json +++ b/system-tests/package.json @@ -1,6 +1,7 @@ { "name": "rosalution-system-tests", "version": "1.0.0", + "type": "module", "main": "index.js", "author": "CGDS", "license": "UNLICENSED",