summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2020-01-26 09:55:18 +0200
committerEylon Malin <eylon.malin@intl.att.com>2020-01-26 08:06:49 +0000
commit910ebff905e386cbc14422959591e83f5d90233b (patch)
tree95306fbfd88fbbd7fa824072a19447cc67c35b03 /vid-webpack-master/cypress/integration
parent667fbe07aae6f9669127e9e0212f6f83c87b0d0a (diff)
cypress test - ignore timezone while assert create date in template modal
Issue-ID: VID-757 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3ca8f8b21895423f467581b78699e46fc1cea6d0
Diffstat (limited to 'vid-webpack-master/cypress/integration')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts
index dd51457e9..f76babe76 100644
--- a/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts
@@ -97,7 +97,7 @@ describe('Template', () => {
// check table body row
cy.getElementByDataTestsId(`userId-${templateJobIdFromE2EFile}`).contains('16807000');
- cy.getElementByDataTestsId(`createDate-${templateJobIdFromE2EFile}`).contains('2019-12-26 11:57:05');
+ cy.getElementByDataTestsId(`createDate-${templateJobIdFromE2EFile}`).contains(/2019-12-26 [0-9]{1,2}:57:05/); //timezone insensitive
cy.getElementByDataTestsId(`instanceName-${templateJobIdFromE2EFile}`).contains('SERVICE_NAME');
cy.getElementByDataTestsId(`instantiationStatus-${templateJobIdFromE2EFile}`).contains('IN_PROGRESS');
cy.getElementByDataTestsId(`summary-${templateJobIdFromE2EFile}`).contains('vnf: 1, vfModule: 2, volumeGroup: 1');