From 1091fd9130beaae281cffd8ce6e5858420ad95eb Mon Sep 17 00:00:00 2001 From: "boyan.tonchev" Date: Thu, 10 Aug 2023 14:57:40 +0300 Subject: [PATCH] Fixes broken tests. --- .../similarity/controllers/similarity-list.controller.js | 2 ++ test-cypress/steps/yasgui/yasr-steps.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/angular/similarity/controllers/similarity-list.controller.js b/src/js/angular/similarity/controllers/similarity-list.controller.js index 52bc80dad..f153ee43c 100644 --- a/src/js/angular/similarity/controllers/similarity-list.controller.js +++ b/src/js/angular/similarity/controllers/similarity-list.controller.js @@ -435,6 +435,8 @@ function SimilarityCtrl( showToolbar: false, showResultTabs: false, showQueryButton: false, + downloadAsOn: false, + showResultInfo: false, componentId: 'similarity-list-component', maxPersistentResponseSize: 0, render: RenderingMode.YASR, diff --git a/test-cypress/steps/yasgui/yasr-steps.js b/test-cypress/steps/yasgui/yasr-steps.js index e7dd25c35..3785b6979 100644 --- a/test-cypress/steps/yasgui/yasr-steps.js +++ b/test-cypress/steps/yasgui/yasr-steps.js @@ -20,7 +20,7 @@ export class YasrSteps { } static getResults() { - return YasrSteps.getYasr('.yasr_results tbody').find('tr'); + return YasrSteps.getYasr().find('.yasr_results tbody').find('tr'); } static getResultTableHeader() {