X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=vid-webpack-master%2Fcypress%2Fintegration%2FiFrames%2FinstantiationStatus.e2e.ts;h=a95d8e7cfbd6d92293ad9f6dbff8111e273fd589;hb=e0638b1278a72b2dbb40f3b96d86e3c7bb75c0f7;hp=8d19bc90dd5533dbb9db74381f8c7b22e7390fc0;hpb=b8f308c3685781640f8543600b56e04c298560d7;p=vid.git diff --git a/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts index 8d19bc90d..a95d8e7cf 100644 --- a/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts @@ -118,12 +118,11 @@ describe('Instantiation status', function () { cy.get('#' + jobId).find('.menu-div').click(); } - it('should disabled correct menu items', function () { + it.only('should disabled correct menu items', function () { cy.openIframe('app/ui/#/instantiationStatus'); // Instantiate action with Job status FAILED - isRetry = true - clickOnTitleAndThenOnMenuWithJobId('5c2cd8e5-27d0-42e3-85a1-85db5eaba459'); getDisabledDropDownItemByDataTestId('context-menu-retry').should('not.exist'); getDisabledDropDownItemByDataTestId('context-menu-remove').should('exist'); @@ -153,6 +152,13 @@ describe('Instantiation status', function () { getDisabledDropDownItemByDataTestId('context-menu-hide').should('not.exist'); getDisabledDropDownItemByDataTestId('context-menu-audit-info').should('not.exist'); getDisabledDropDownItemByDataTestId(contextMenuCreateAnotherOne).should('exist'); + + //COMPLETED_AND_PAUSED + clickOnTitleAndThenOnMenuWithJobId('850dc7d2-5240-437f-9bcd-b1ed7dc339d9'); + getDisabledDropDownItemByDataTestId('context-menu-retry').should('exist'); + getDisabledDropDownItemByDataTestId('context-menu-open').should('exist'); + getDisabledDropDownItemByDataTestId('context-menu-audit-info').should('exist'); + getDisabledDropDownItemByDataTestId(contextMenuCreateAnotherOne).should('exist'); }); it('clicking on create another one item, go to expected url', function () {