|
|
@ -65,7 +65,7 @@ const tests = { |
|
|
|
// check toaster for forked state
|
|
|
|
// check toaster for forked state
|
|
|
|
.waitForElementVisible( |
|
|
|
.waitForElementVisible( |
|
|
|
{ |
|
|
|
{ |
|
|
|
selector: '//*[@data-shared="tooltipPopup" and contains(.,"VM state \'forkedState_1\' forked")]', |
|
|
|
selector: '//*[@data-shared="tooltipPopup" and contains(.,"New environment \'forkedState_1\' created with forked state.")]', |
|
|
|
locateStrategy: 'xpath' |
|
|
|
locateStrategy: 'xpath' |
|
|
|
} |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
@ -105,7 +105,7 @@ const tests = { |
|
|
|
.setValue('input[data-id="modalDialogForkState"]', 'forkedState_2') |
|
|
|
.setValue('input[data-id="modalDialogForkState"]', 'forkedState_2') |
|
|
|
.modalFooterOKClick('udappNotify') |
|
|
|
.modalFooterOKClick('udappNotify') |
|
|
|
.waitForElementVisible('*[data-shared="tooltipPopup"]', 10000) |
|
|
|
.waitForElementVisible('*[data-shared="tooltipPopup"]', 10000) |
|
|
|
.assert.textContains('*[data-shared="tooltipPopup"]', `VM state 'forkedState_2' forked and selected as current environment.`) |
|
|
|
.assert.textContains('*[data-shared="tooltipPopup"]', `New environment 'forkedState_2' created with forked state.`) |
|
|
|
// check if 'forkedState_2' is selected as current environment
|
|
|
|
// check if 'forkedState_2' is selected as current environment
|
|
|
|
.assert.elementPresent('*[data-id="selected-provider-vm-fs-forkedState_2"]') |
|
|
|
.assert.elementPresent('*[data-id="selected-provider-vm-fs-forkedState_2"]') |
|
|
|
// check if 'forkedState_2' is present in environment explorer
|
|
|
|
// check if 'forkedState_2' is present in environment explorer
|
|
|
|