From d4d29ece9f248305ba603325723433d2de8e4515 Mon Sep 17 00:00:00 2001 From: martinkrulltott Date: Thu, 28 Dec 2023 09:50:13 +0000 Subject: [PATCH] test: add version toggling for TE download test --- cypress/integration/download.cy.js | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/cypress/integration/download.cy.js b/cypress/integration/download.cy.js index d5ac00284..4d4eb5caa 100644 --- a/cypress/integration/download.cy.js +++ b/cypress/integration/download.cy.js @@ -49,15 +49,19 @@ describe('download', () => { downloadIsEnabled() }) - it('download button disables when required dimensions are selected (tracked entity)', () => { - goToStartPage() + it( + ['>=41'], + 'download button disables when required dimensions are selected (tracked entity)', + () => { + goToStartPage() - downloadIsDisabled() + downloadIsDisabled() - selectTrackedEntityWithType('Person') + selectTrackedEntityWithType('Person') - clickMenubarUpdateButton() + clickMenubarUpdateButton() - downloadIsEnabled() - }) + downloadIsEnabled() + } + ) })