diff options
author | Eylon Malin <eylon.malin@intl.att.com> | 2019-12-03 12:12:38 +0200 |
---|---|---|
committer | Eylon Malin <eylon.malin@intl.att.com> | 2019-12-03 14:38:23 +0200 |
commit | d00cf8079f6ec7d791aa92d9991d95ea0bb4a0e6 (patch) | |
tree | a4e3aa972af54847a396e23881c70718f5e4c0d3 /vid-webpack-master/cypress/integration | |
parent | 3250d40c952004bb08a1f54dcc7f816a9de09e1f (diff) |
free text filter in instantiationStatus Page
Issue-ID: VID-724
Change-Id: I5f363ecc66ff1f1fef9c9d75a12a9c43403aa905
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Diffstat (limited to 'vid-webpack-master/cypress/integration')
-rw-r--r-- | vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts | 12 |
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'); |