|
@@ -47,8 +47,7 @@ describe('Create VmWare to Openstack Migration', () => {
|
|
|
it('Fills Openstack migration info', () => {
|
|
it('Fills Openstack migration info', () => {
|
|
|
cy.get('button').contains('Next').click()
|
|
cy.get('button').contains('Next').click()
|
|
|
cy.get('div').contains('Advanced').click()
|
|
cy.get('div').contains('Advanced').click()
|
|
|
- // cy.get('input[placeholder="Floating IP Pool"]').type(config.wizard.openstack.floatingIpPool)
|
|
|
|
|
- // cy.get('input[placeholder="Migration Floating IP Pool"]').type(config.wizard.openstack.migrationFloatingIpPool)
|
|
|
|
|
|
|
+ cy.get('input[placeholder="Description"]').type('VmWare Openstack Migration')
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
it('Selects first available network mapping', () => {
|
|
it('Selects first available network mapping', () => {
|
|
@@ -61,7 +60,6 @@ describe('Create VmWare to Openstack Migration', () => {
|
|
|
cy.get('button').contains('Next').should('be.disabled')
|
|
cy.get('button').contains('Next').should('be.disabled')
|
|
|
cy.get('div[data-test-id="networkItem"]').its('length').should('be.gt', 0)
|
|
cy.get('div[data-test-id="networkItem"]').its('length').should('be.gt', 0)
|
|
|
cy.get('div[value="Select ..."]').first().click()
|
|
cy.get('div[value="Select ..."]').first().click()
|
|
|
- // cy.get('div[data-test-id="dropdownListItem"]').first().click()
|
|
|
|
|
cy.get('div[data-test-id="dropdownListItem"]').contains(config.wizard.openstack.network).click()
|
|
cy.get('div[data-test-id="dropdownListItem"]').contains(config.wizard.openstack.network).click()
|
|
|
cy.get('button').contains('Next').should('not.be.disabled')
|
|
cy.get('button').contains('Next').should('not.be.disabled')
|
|
|
})
|
|
})
|
|
@@ -73,8 +71,7 @@ describe('Create VmWare to Openstack Migration', () => {
|
|
|
cy.get('#app').should('contain', 'e2e-openstack-test')
|
|
cy.get('#app').should('contain', 'e2e-openstack-test')
|
|
|
cy.get('#app').should('contain', 'Coriolis Migration')
|
|
cy.get('#app').should('contain', 'Coriolis Migration')
|
|
|
cy.get('#app').should('contain', 'Migration Options')
|
|
cy.get('#app').should('contain', 'Migration Options')
|
|
|
- // cy.get('#app').should('contain', config.wizard.openstack.migrationFloatingIpPool)
|
|
|
|
|
- // cy.get('#app').should('contain', config.wizard.openstack.floatingIpPool)
|
|
|
|
|
|
|
+ cy.get('#app').should('contain', 'VmWare Openstack Migration')
|
|
|
cy.get('#app').should('contain', 'Networks')
|
|
cy.get('#app').should('contain', 'Networks')
|
|
|
cy.get('#app').should('contain', 'Instances')
|
|
cy.get('#app').should('contain', 'Instances')
|
|
|
})
|
|
})
|