From d344a5ad5b1d252c660957f3f9c422728f31d1b2 Mon Sep 17 00:00:00 2001 From: Julien Adamek Date: Tue, 27 Feb 2024 10:28:25 +0100 Subject: [PATCH] ci/ui: add workaround for dhcp test --- tests/cypress/latest/e2e/unit_tests/machine_inventory.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cypress/latest/e2e/unit_tests/machine_inventory.spec.ts b/tests/cypress/latest/e2e/unit_tests/machine_inventory.spec.ts index 5241e525d..acae3802b 100644 --- a/tests/cypress/latest/e2e/unit_tests/machine_inventory.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/machine_inventory.spec.ts @@ -31,7 +31,7 @@ describe('Machine inventory testing', () => { const uiPassword = "rancherpassword" let hostname = "" // Test if machine inventory uses hostname given by DHCP - utils.isK8sVersion("k3s") && utils.isCypressTag("main") ? hostname=('node-001') : hostname=('my-machine'); + utils.isK8sVersion("k3s") && utils.isCypressTag("main") ? hostname=('rancher-') : hostname=('my-machine'); beforeEach(() => { (uiAccount == "user") ? cy.login(elementalUser, uiPassword) : cy.login();