From ef5e3b283ed1825e2409db2d89fefed8b606abe6 Mon Sep 17 00:00:00 2001 From: Sara Weiss Date: Thu, 5 Dec 2019 13:23:13 +0200 Subject: Show previous instantiations button in new service modal Issue-ID: VID-724 Signed-off-by: Sara Weiss Change-Id: I18633adbabbc22c68f9bcd712427033deaffd33c --- .../cypress/integration/iFrames/service.popup.e2e.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vid-webpack-master/cypress/integration') diff --git a/vid-webpack-master/cypress/integration/iFrames/service.popup.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/service.popup.e2e.ts index d1d41d0d9..7d1a1829d 100644 --- a/vid-webpack-master/cypress/integration/iFrames/service.popup.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/service.popup.e2e.ts @@ -82,6 +82,14 @@ describe('Service popup', function () { cy.get('form-general-error').contains('Page contains errors. Please see details next to the relevant fields.'); }); }); + + it('when open service popup should show showPrevious button', () => { + cy.openIframe('/app/ui/#/servicePopup?serviceModelId=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd&isCreate=true'); + cy.getElementByDataTestsId('ShowPreviousInstancesButton').contains('Previous Instantiation').click(); + + }) + + }); }); -- cgit