From 8b52a5304e8c7c207546028553367fcb3b37b878 Mon Sep 17 00:00:00 2001 From: Marcial Rosales Date: Fri, 28 Nov 2025 14:51:57 +0100 Subject: [PATCH 1/3] Disable flake selenium tests It is necessary to modify the implementation to avoid race-condition flakes. (cherry picked from commit ab22a36b62258981b639c1b493b1a67202453cd6) --- selenium/test/exchanges/management.js | 2 +- selenium/test/vhosts/admin-vhosts.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/selenium/test/exchanges/management.js b/selenium/test/exchanges/management.js index 21bac2f0160e..4d327726a97b 100644 --- a/selenium/test/exchanges/management.js +++ b/selenium/test/exchanges/management.js @@ -68,7 +68,7 @@ describe('Exchange management', function () { assert.equal("amq.fanout", await exchange.getName()) }) - it('exchange selectable columns', async function () { + _it('exchange selectable columns', async function () { await overview.clickOnOverviewTab() await overview.clickOnExchangesTab() await doUntil(async function() { return exchanges.getExchangesTable() }, diff --git a/selenium/test/vhosts/admin-vhosts.js b/selenium/test/vhosts/admin-vhosts.js index 40f1f88493f7..d8a628d69b44 100644 --- a/selenium/test/vhosts/admin-vhosts.js +++ b/selenium/test/vhosts/admin-vhosts.js @@ -49,7 +49,7 @@ describe('Virtual Hosts in Admin tab', function () { assert.equal("/", await vhostTab.getName()) }) - it('vhost selectable columns', async function () { + _it('vhost selectable columns', async function () { //await overview.clickOnOverviewTab() await overview.clickOnAdminTab() await adminTab.isLoaded() From b171eec119ea2495ebee910778edbd221379de84 Mon Sep 17 00:00:00 2001 From: Marcial Rosales Date: Fri, 28 Nov 2025 15:32:58 +0100 Subject: [PATCH 2/3] Disable flake selenium tests (cherry picked from commit b0ec8d1965643cd7fda5580b2742dcc66675828f) --- selenium/test/exchanges/management.js | 6 +++--- selenium/test/vhosts/admin-vhosts.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/selenium/test/exchanges/management.js b/selenium/test/exchanges/management.js index 4d327726a97b..93d8715c673c 100644 --- a/selenium/test/exchanges/management.js +++ b/selenium/test/exchanges/management.js @@ -67,8 +67,8 @@ describe('Exchange management', function () { await exchange.isLoaded() assert.equal("amq.fanout", await exchange.getName()) }) - - _it('exchange selectable columns', async function () { +/* + it('exchange selectable columns', async function () { await overview.clickOnOverviewTab() await overview.clickOnExchangesTab() await doUntil(async function() { return exchanges.getExchangesTable() }, @@ -107,7 +107,7 @@ describe('Exchange management', function () { } }) - +*/ after(async function () { await teardown(driver, this, captureScreen) diff --git a/selenium/test/vhosts/admin-vhosts.js b/selenium/test/vhosts/admin-vhosts.js index d8a628d69b44..7ddc9b957dfa 100644 --- a/selenium/test/vhosts/admin-vhosts.js +++ b/selenium/test/vhosts/admin-vhosts.js @@ -48,8 +48,8 @@ describe('Virtual Hosts in Admin tab', function () { } assert.equal("/", await vhostTab.getName()) }) - - _it('vhost selectable columns', async function () { +/* + it('vhost selectable columns', async function () { //await overview.clickOnOverviewTab() await overview.clickOnAdminTab() await adminTab.isLoaded() @@ -102,7 +102,7 @@ describe('Virtual Hosts in Admin tab', function () { assert.equal(JSON.stringify(table[3]), JSON.stringify(messageRatesGroup)) }) - +*/ describe('given there is a new virtualhost with a tag', async function() { let vhost = "test_" + Math.floor(Math.random() * 1000) before(async function() { From 528ed9205933be53e7879045ca79bf2a47ece789 Mon Sep 17 00:00:00 2001 From: Marcial Rosales Date: Fri, 28 Nov 2025 15:52:54 +0100 Subject: [PATCH 3/3] Do no check khepri ff (cherry picked from commit 7b898aa7b6d80095bf45518ec3678696f7b73e0c) --- selenium/test/feature-flags/feature-flags.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/selenium/test/feature-flags/feature-flags.js b/selenium/test/feature-flags/feature-flags.js index a64afbf5d203..449da4e6a0b9 100644 --- a/selenium/test/feature-flags/feature-flags.js +++ b/selenium/test/feature-flags/feature-flags.js @@ -36,17 +36,6 @@ describe('Feature flags in Admin tab', function () { let ffTable = await ffTab.getAll() assert(ffTable.length > 0) }) - it('it has khepri_db feature flag', async function () { - await overview.clickOnAdminTab() - await adminTab.clickOnFeatureFlags() - let ffTable = await ffTab.getAll() - assert(findTableRow(ffTable, function(row) { - return row[0] === 'khepri_db' - })) - let state = await ffTab.getState('khepri_db') - assert(await state.isSelected()) - }) - after(async function () { await teardown(driver, this, captureScreen)