aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-12-03 15:33:43 +0000
committerGerrit Code Review <gerrit@onap.org>2019-12-03 15:33:43 +0000
commit2a8f0ba72f2c449d2048674a22820d4f8385f8ca (patch)
treebbdec4b493af20f44d935bf4671c1276c9e1bfc7 /vid-webpack-master/cypress/integration
parentf5dda3933425888c52b7b9d1c0fa2a6227c89123 (diff)
parentd00cf8079f6ec7d791aa92d9991d95ea0bb4a0e6 (diff)
Merge "free text filter in instantiationStatus Page"
Diffstat (limited to 'vid-webpack-master/cypress/integration')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts
index 3b657343f..054f7858b 100644
--- a/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts
@@ -58,6 +58,18 @@ describe('Instantiation status', function () {
}
});
+ it('should filter rows by filter text', function () {
+ cy.openIframe('app/ui/#/instantiationStatus');
+ cy.getElementByDataTestsId("instantiationStatusFilter").type("ComplexService");
+ cy.get('table#instantiation-status tbody tr').should('have.length', 3);
+ });
+
+ it('should filter rows by url filter text', function () {
+ cy.openIframe('app/ui/#/instantiationStatus?filterText=ComplexService');
+ cy.getElementByDataTestsId("instantiationStatusFilter").should('have.value','ComplexService');
+ cy.get('table#instantiation-status tbody tr').should('have.length', 3);
+ });
+
it('should enable correct menu items', function () {
cy.openIframe('app/ui/#/instantiationStatus');