diff --git a/test/e2e-test-application/e2e/tests/1-angular/luigi-client-link-manager-features.spec.js b/test/e2e-test-application/e2e/tests/1-angular/luigi-client-link-manager-features.spec.js index 877b7009ff..dba7187b43 100644 --- a/test/e2e-test-application/e2e/tests/1-angular/luigi-client-link-manager-features.spec.js +++ b/test/e2e-test-application/e2e/tests/1-angular/luigi-client-link-manager-features.spec.js @@ -158,6 +158,28 @@ describe('Luigi client linkManager', () => { }); }); + it('navigate with preserve view and goBack dynamic context', localRetries, () => { + //navigate with preserve view functionality + cy.wrap($iframeBody) + .contains('with preserved view: to dynamic node and go back') + .click(); + cy.expectPathToBe('/projects/pr1/users/groups/test1/settings'); + + cy.getIframeBody().then($iframeBody => { + cy.wrap($iframeBody) + .contains('projects/pr1/users/groups/test2/settings') + .click(); + cy.expectPathToBe('/projects/pr1/users/groups/test2/settings'); + + cy.getIframeBody().then($iframeBody => { + cy.wrap($iframeBody) + .contains('Go Back') + .click(); + cy.expectPathToBe('/projects/pr1/users/groups/test1/settings'); + }); + }); + }); + it('path exists check', localRetries, () => { [ // non-existent relative path diff --git a/test/e2e-test-application/src/app/project/project.component.html b/test/e2e-test-application/src/app/project/project.component.html index f3fbe1619f..8ddf78edf3 100644 --- a/test/e2e-test-application/src/app/project/project.component.html +++ b/test/e2e-test-application/src/app/project/project.component.html @@ -400,6 +400,18 @@