Fix 5.x tests - something accidentally got back rted that shouldn't have. (#11207)

This commit is contained in:
Stacey Gammon 2017-04-12 17:58:29 -04:00 committed by GitHub
parent d5c5f1af67
commit e4f9f3848c

View file

@ -329,7 +329,7 @@ export default function ({ getService, getPageObjects }) {
await PageObjects.settings
.addScriptedField(scriptedPainlessFieldName2, 'painless', 'date',
{ format: 'Date', datePattern: 'YYYY-MM-DD HH:00' }, '1',
'doc[\'utc_time\'].value.getMillis() + (1000) * 60 * 60');
'doc[\'utc_time\'].value + (1000) * 60 * 60');
await retry.try(async function() {
expect(parseInt(await PageObjects.settings.getScriptedFieldsTabCount())).to.be(startingCount + 1);
});