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();