diff --git a/badges/coverage-badge.svg b/badges/coverage-badge.svg index 9bc0323a..3bed2c32 100644 --- a/badges/coverage-badge.svg +++ b/badges/coverage-badge.svg @@ -1 +1 @@ -Statements 51.09%Statements 51.09%Branches 40.83%Branches 40.83%Lines 51.81%Lines 51.81%Functions 58.54%Functions 58.54% +Statements 51.11%Statements 51.11%Branches 40.85%Branches 40.85%Lines 51.82%Lines 51.82%Functions 58.62%Functions 58.62% diff --git a/badges/tests-badge.svg b/badges/tests-badge.svg index ecc8fc46..5f1a8817 100644 --- a/badges/tests-badge.svg +++ b/badges/tests-badge.svg @@ -1 +1 @@ -TestsTests139/139139/139 \ No newline at end of file +TestsTests138/139138/139 \ No newline at end of file diff --git a/cypress/integration/ui/tool-selection.js b/cypress/integration/ui/tool-selection.js index 8443f783..e8c24166 100644 --- a/cypress/integration/ui/tool-selection.js +++ b/cypress/integration/ui/tool-selection.js @@ -8,9 +8,11 @@ describe('UI - Tool selection', function () { }); it('should set rectangle selection by click', function () { + // eslint-disable-next-line cypress/no-unnecessary-waiting cy.get('#tools_rect_show') .trigger('mousedown', {force: true}) - .trigger('mouseup', {force: true, timeout: 10000}) + .wait(100) // this delay seems necessary + .trigger('mouseup', {force: true}) .should((button) => { expect(button).to.have.class('tool_button_current'); });