diff --git a/test/e2e/cypress/fixtures/host-details/selected_host.js b/test/e2e/cypress/fixtures/host-details/selected_host.js index c87e51bff5..4b263bf71a 100644 --- a/test/e2e/cypress/fixtures/host-details/selected_host.js +++ b/test/e2e/cypress/fixtures/host-details/selected_host.js @@ -34,6 +34,12 @@ export const selectedHost = { zone: 'europe-west1-b', network: 'network', }, + kvmCloudDetails: { + provider: 'kvm', + }, + nutanixCloudDetails: { + provider: 'nutanix', + }, sapInstance: { id: '6c9208eb-a5bb-57ef-be5c-6422dedab602', sid: 'HDP', diff --git a/test/e2e/cypress/integration/host_details.js b/test/e2e/cypress/integration/host_details.js index b9c5593894..d374a1929f 100644 --- a/test/e2e/cypress/integration/host_details.js +++ b/test/e2e/cypress/integration/host_details.js @@ -168,6 +168,24 @@ context('Host Details', () => { .should('contain', selectedHost.gcpCloudDetails.network); }); + it(`should show KVM cloud details correctly`, () => { + cy.loadScenario('host-details-kvm'); + + cy.get('div') + .contains(/^Provider$/) + .next() + .should('contain', selectedHost.kvmCloudDetails.provider); + }); + + it(`should show Nutanix cloud details correctly`, () => { + cy.loadScenario('host-details-nutanix'); + + cy.get('div') + .contains(/^Provider$/) + .next() + .should('contain', selectedHost.nutanixCloudDetails.provider); + }); + it(`should display provider not recognized message`, () => { cy.loadScenario('host-details-unknown');