From 7590137d87db6241a18077e98747383729e82ddf Mon Sep 17 00:00:00 2001 From: vlad-dargel Date: Wed, 18 Dec 2024 11:22:50 +0100 Subject: [PATCH] fixes for e2e --- .../web/critical-path/cluster-details/cluster-details.e2e.ts | 2 +- .../web/critical-path/database/connecting-to-the-db.e2e.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/tests/web/critical-path/cluster-details/cluster-details.e2e.ts b/tests/e2e/tests/web/critical-path/cluster-details/cluster-details.e2e.ts index 3ac8b875b1..8f99ce9a5a 100644 --- a/tests/e2e/tests/web/critical-path/cluster-details/cluster-details.e2e.ts +++ b/tests/e2e/tests/web/critical-path/cluster-details/cluster-details.e2e.ts @@ -15,7 +15,7 @@ const databaseAPIRequests = new DatabaseAPIRequests(); const headerColumns = { 'Type': 'OSS Cluster', 'Version': '7.0.0', - 'User': 'Default' + 'User': 'default' }; type HeaderColumn = keyof typeof headerColumns; diff --git a/tests/e2e/tests/web/critical-path/database/connecting-to-the-db.e2e.ts b/tests/e2e/tests/web/critical-path/database/connecting-to-the-db.e2e.ts index 48cab3aa49..b05595cc53 100644 --- a/tests/e2e/tests/web/critical-path/database/connecting-to-the-db.e2e.ts +++ b/tests/e2e/tests/web/critical-path/database/connecting-to-the-db.e2e.ts @@ -242,7 +242,7 @@ test // Verify that 'redis://default@127.0.0.1:6379' default value prepopulated for connection URL field and the same for placeholder await t.expect(addDbDialog.connectionUrlInput.textContent).eql(`redis://default@127.0.0.1:6379`, 'Connection URL not prepopulated'); - await t.typeText(addDbDialog.connectionUrlInput, codedUrl); + await t.typeText(addDbDialog.connectionUrlInput, codedUrl, { replace: true, paste: true }); await t.click(addDbDialog.customSettingsButton); await t.expect(addDbDialog.databaseAliasInput.getAttribute('value')).eql(`${host}:${port}`, 'name is incorrected'); await t.expect(addDbDialog.hostInput.getAttribute('value')).eql(`${host}`, 'host is incorrected');