mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[functional tests] Remove include_in_all (#10268)
* [functional tests] Remove include_in_all * [functional tests] Get milliseconds from date
This commit is contained in:
parent
20ea24f358
commit
0d9e51f72f
3 changed files with 3 additions and 5 deletions
|
@ -36,8 +36,7 @@ module.exports = {
|
|||
},
|
||||
'id': {
|
||||
'type': 'integer',
|
||||
'index': true,
|
||||
'include_in_all': false
|
||||
'index': true
|
||||
},
|
||||
'clientip': {
|
||||
'type': 'ip'
|
||||
|
|
|
@ -36,8 +36,7 @@ module.exports = {
|
|||
},
|
||||
'id': {
|
||||
'type': 'integer',
|
||||
'index': true,
|
||||
'include_in_all': false
|
||||
'index': true
|
||||
},
|
||||
'clientip': {
|
||||
'type': 'ip'
|
||||
|
|
|
@ -323,7 +323,7 @@ bdd.describe('creating and using Painless date scripted fields', function descri
|
|||
await PageObjects.settings
|
||||
.addScriptedField(scriptedPainlessFieldName2, 'painless', 'date',
|
||||
{ format: 'Date', datePattern: 'YYYY-MM-DD HH:00' }, '1',
|
||||
'doc[\'utc_time\'].value + (1000) * 60 * 60');
|
||||
'doc[\'utc_time\'].value.getMillis() + (1000) * 60 * 60');
|
||||
await PageObjects.common.try(async function() {
|
||||
expect(parseInt(await PageObjects.settings.getScriptedFieldsTabCount())).to.be(startingCount + 1);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue