-
+
+
-
}
- tabIndex={0}
- />
-
-
-
+
+
- }
- onActivation={[Function]}
- onDeactivation={[Function]}
- persistentFocus={false}
- />
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ Job Info
+
+
+
+
+
+
+
+
-
-
-
-
-
+ }
+ tabIndex={0}
+ />
+
+
+
+
+
,
{
const clickHandler = jest.fn();
const wrapper = mount( );
- wrapper.simulate('click');
+ wrapper.find('button').simulate('click');
expect(clickHandler).toHaveBeenCalledTimes(1);
});
diff --git a/x-pack/package.json b/x-pack/package.json
index b3496e0eb820..8e79e973481d 100644
--- a/x-pack/package.json
+++ b/x-pack/package.json
@@ -177,7 +177,7 @@
"@babel/runtime": "^7.5.5",
"@elastic/datemath": "5.0.2",
"@elastic/ems-client": "1.0.5",
- "@elastic/eui": "14.9.0",
+ "@elastic/eui": "16.0.0",
"@elastic/filesaver": "1.1.2",
"@elastic/javascript-typescript-langserver": "^0.3.3",
"@elastic/lsp-extension": "^0.1.2",
diff --git a/x-pack/test/functional/apps/discover/feature_controls/discover_security.ts b/x-pack/test/functional/apps/discover/feature_controls/discover_security.ts
index 67bc8bd38ff1..7cbab3cdcf4f 100644
--- a/x-pack/test/functional/apps/discover/feature_controls/discover_security.ts
+++ b/x-pack/test/functional/apps/discover/feature_controls/discover_security.ts
@@ -25,9 +25,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
const savedQueryManagementComponent = getService('savedQueryManagementComponent');
async function setDiscoverTimeRange() {
- const fromTime = '2015-09-19 06:31:44.000';
- const toTime = '2015-09-23 18:31:44.000';
- await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime);
+ await PageObjects.timePicker.setDefaultAbsoluteRange();
}
describe('security', () => {
diff --git a/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts b/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts
index 243d5a0b6b6d..4c2a8b4bed30 100644
--- a/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts
+++ b/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts
@@ -21,9 +21,7 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
const appsMenu = getService('appsMenu');
async function setDiscoverTimeRange() {
- const fromTime = '2015-09-19 06:31:44.000';
- const toTime = '2015-09-23 18:31:44.000';
- await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime);
+ await PageObjects.timePicker.setDefaultAbsoluteRange();
}
describe('spaces', () => {
diff --git a/x-pack/test/functional/apps/monitoring/beats/beat_detail.js b/x-pack/test/functional/apps/monitoring/beats/beat_detail.js
index d352579e0116..d17e233a484e 100644
--- a/x-pack/test/functional/apps/monitoring/beats/beat_detail.js
+++ b/x-pack/test/functional/apps/monitoring/beats/beat_detail.js
@@ -17,8 +17,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/beats', {
- from: '2017-12-19 17:14:09.000',
- to: '2017-12-19 18:15:09.000',
+ from: 'Dec 19, 2017 @ 17:14:09.000',
+ to: 'Dec 19, 2017 @ 18:15:09.000',
});
// go to beats detail
diff --git a/x-pack/test/functional/apps/monitoring/beats/cluster.js b/x-pack/test/functional/apps/monitoring/beats/cluster.js
index 8ee93066254d..9a2532adfbae 100644
--- a/x-pack/test/functional/apps/monitoring/beats/cluster.js
+++ b/x-pack/test/functional/apps/monitoring/beats/cluster.js
@@ -15,8 +15,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/beats', {
- from: '2017-12-19 17:14:09.000',
- to: '2017-12-19 18:15:09.000',
+ from: 'Dec 19, 2017 @ 17:14:09.000',
+ to: 'Dec 19, 2017 @ 18:15:09.000',
});
});
diff --git a/x-pack/test/functional/apps/monitoring/beats/listing.js b/x-pack/test/functional/apps/monitoring/beats/listing.js
index 700b5d593ecb..7a27a7b5f219 100644
--- a/x-pack/test/functional/apps/monitoring/beats/listing.js
+++ b/x-pack/test/functional/apps/monitoring/beats/listing.js
@@ -17,8 +17,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/beats', {
- from: '2017-12-19 17:14:09.000',
- to: '2017-12-19 18:15:09.000',
+ from: 'Dec 19, 2017 @ 17:14:09.000',
+ to: 'Dec 19, 2017 @ 18:15:09.000',
});
// go to beats listing
diff --git a/x-pack/test/functional/apps/monitoring/beats/overview.js b/x-pack/test/functional/apps/monitoring/beats/overview.js
index 1c8b70a46284..16c198be0432 100644
--- a/x-pack/test/functional/apps/monitoring/beats/overview.js
+++ b/x-pack/test/functional/apps/monitoring/beats/overview.js
@@ -17,8 +17,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/beats', {
- from: '2017-12-19 17:14:09.000',
- to: '2017-12-19 18:15:09.000',
+ from: 'Dec 19, 2017 @ 17:14:09.000',
+ to: 'Dec 19, 2017 @ 18:15:09.000',
});
// go to beats overview
diff --git a/x-pack/test/functional/apps/monitoring/cluster/alerts.js b/x-pack/test/functional/apps/monitoring/cluster/alerts.js
index b2842c03e141..79fabd36f535 100644
--- a/x-pack/test/functional/apps/monitoring/cluster/alerts.js
+++ b/x-pack/test/functional/apps/monitoring/cluster/alerts.js
@@ -23,8 +23,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-yellow-platinum', {
- from: '2017-08-29 17:23:47.528',
- to: '2017-08-29 17:25:50.701',
+ from: 'Aug 29, 2017 @ 17:23:47.528',
+ to: 'Aug 29, 2017 @ 17:25:50.701',
});
// ensure cluster alerts are shown on overview
@@ -51,8 +51,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-yellow-platinum--with-10-alerts', {
- from: '2017-08-29 17:23:47.528',
- to: '2017-08-29 17:25:50.701',
+ from: 'Aug 29, 2017 @ 17:23:47.528',
+ to: 'Aug 29, 2017 @ 17:25:50.701',
});
// ensure cluster alerts are shown on overview
@@ -166,8 +166,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-yellow-platinum', {
- from: '2017-08-29 17:23:47.528',
- to: '2017-08-29 17:25:50.701',
+ from: 'Aug 29, 2017 @ 17:23:47.528',
+ to: 'Aug 29, 2017 @ 17:25:50.701',
});
// ensure cluster alerts are shown on overview
diff --git a/x-pack/test/functional/apps/monitoring/cluster/list.js b/x-pack/test/functional/apps/monitoring/cluster/list.js
index 70e89689a89d..399b392cad79 100644
--- a/x-pack/test/functional/apps/monitoring/cluster/list.js
+++ b/x-pack/test/functional/apps/monitoring/cluster/list.js
@@ -21,8 +21,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/multicluster', {
- from: '2017-08-15 21:00:00.000',
- to: '2017-08-16 00:00:00.000',
+ from: 'Aug 15, 2017 @ 21:00:00.000',
+ to: 'Aug 16, 2017 @ 00:00:00.000',
});
await clusterList.assertDefaults();
@@ -76,8 +76,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/multi-basic', {
- from: '2017-09-07 20:12:04.011',
- to: '2017-09-07 20:18:55.733',
+ from: 'Sep 7, 2017 @ 20:12:04.011',
+ to: 'Sep 7, 2017 @ 20:18:55.733',
});
await clusterList.assertDefaults();
diff --git a/x-pack/test/functional/apps/monitoring/cluster/overview.js b/x-pack/test/functional/apps/monitoring/cluster/overview.js
index 8242150e404e..3396426e9538 100644
--- a/x-pack/test/functional/apps/monitoring/cluster/overview.js
+++ b/x-pack/test/functional/apps/monitoring/cluster/overview.js
@@ -16,8 +16,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-green-gold', {
- from: '2017-08-23 21:29:35.267',
- to: '2017-08-23 21:47:25.556',
+ from: 'Aug 23, 2017 @ 21:29:35.267',
+ to: 'Aug 23, 2017 @ 21:47:25.556',
});
});
@@ -71,8 +71,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-yellow-platinum', {
- from: '2017-08-29 17:23:47.528',
- to: '2017-08-29 17:25:50.701',
+ from: 'Aug 29, 2017 @ 17:23:47.528',
+ to: 'Aug 29, 2017 @ 17:25:50.701',
});
});
@@ -121,8 +121,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-yellow-basic', {
- from: '2017-08-29 17:55:43.879',
- to: '2017-08-29 18:01:34.958',
+ from: 'Aug 29, 2017 @ 17:55:43.879',
+ to: 'Aug 29, 2017 @ 18:01:34.958',
});
});
diff --git a/x-pack/test/functional/apps/monitoring/elasticsearch/index_detail.js b/x-pack/test/functional/apps/monitoring/elasticsearch/index_detail.js
index c3fe5f9273a8..7109f9363e1b 100644
--- a/x-pack/test/functional/apps/monitoring/elasticsearch/index_detail.js
+++ b/x-pack/test/functional/apps/monitoring/elasticsearch/index_detail.js
@@ -25,8 +25,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-three-nodes-shard-relocation', {
- from: '2017-10-05 20:31:48.354',
- to: '2017-10-05 20:35:12.176'
+ from: 'Oct 5, 2017 @ 20:31:48.354',
+ to: 'Oct 5, 2017 @ 20:35:12.176'
});
// go to indices listing
@@ -83,8 +83,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-red-platinum', {
- from: '2017-10-06 19:53:06.748',
- to: '2017-10-06 20:15:30.212'
+ from: 'Oct 6, 2017 @ 19:53:06.748',
+ to: 'Oct 6, 2017 @ 20:15:30.212'
});
// go to indices listing
diff --git a/x-pack/test/functional/apps/monitoring/elasticsearch/indices.js b/x-pack/test/functional/apps/monitoring/elasticsearch/indices.js
index 2a97e997600e..d46e1f2b9bad 100644
--- a/x-pack/test/functional/apps/monitoring/elasticsearch/indices.js
+++ b/x-pack/test/functional/apps/monitoring/elasticsearch/indices.js
@@ -17,8 +17,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-red-platinum', {
- from: '2017-10-06 19:53:06.748',
- to: '2017-10-06 20:15:30.212',
+ from: 'Oct 6, 2017 @ 19:53:06.748',
+ to: 'Oct 6, 2017 @ 20:15:30.212',
});
// go to indices listing
diff --git a/x-pack/test/functional/apps/monitoring/elasticsearch/node_detail.js b/x-pack/test/functional/apps/monitoring/elasticsearch/node_detail.js
index 99dce6c1b89b..6521753de506 100644
--- a/x-pack/test/functional/apps/monitoring/elasticsearch/node_detail.js
+++ b/x-pack/test/functional/apps/monitoring/elasticsearch/node_detail.js
@@ -19,8 +19,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-three-nodes-shard-relocation', {
- from: '2017-10-05 20:31:48.354',
- to: '2017-10-05 20:35:12.176'
+ from: 'Oct 5, 2017 @ 20:31:48.354',
+ to: 'Oct 5, 2017 @ 20:35:12.176'
});
// go to nodes listing
@@ -74,8 +74,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-red-platinum', {
- from: '2017-10-06 19:53:06.748',
- to: '2017-10-06 20:15:30.212'
+ from: 'Oct 6, 2017 @ 19:53:06.748',
+ to: 'Oct 6, 2017 @ 20:15:30.212'
});
// go to nodes listing
diff --git a/x-pack/test/functional/apps/monitoring/elasticsearch/nodes.js b/x-pack/test/functional/apps/monitoring/elasticsearch/nodes.js
index b2c4940fda16..adf3fbb3b40f 100644
--- a/x-pack/test/functional/apps/monitoring/elasticsearch/nodes.js
+++ b/x-pack/test/functional/apps/monitoring/elasticsearch/nodes.js
@@ -21,8 +21,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-three-nodes-shard-relocation', {
- from: '2017-10-05 20:28:28.475',
- to: '2017-10-05 20:34:38.341',
+ from: 'Oct 5, 2017 @ 20:28:28.475',
+ to: 'Oct 5, 2017 @ 20:34:38.341',
});
// go to nodes listing
@@ -196,8 +196,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-three-nodes-shard-relocation', {
- from: '2017-10-05 20:31:48.354',
- to: '2017-10-05 20:35:12.176',
+ from: 'Oct 5, 2017 @ 20:31:48.354',
+ to: 'Oct 5, 2017 @ 20:35:12.176',
});
// go to nodes listing
diff --git a/x-pack/test/functional/apps/monitoring/elasticsearch/overview.js b/x-pack/test/functional/apps/monitoring/elasticsearch/overview.js
index a0e91e2336e0..b5429cdc891f 100644
--- a/x-pack/test/functional/apps/monitoring/elasticsearch/overview.js
+++ b/x-pack/test/functional/apps/monitoring/elasticsearch/overview.js
@@ -17,8 +17,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-three-nodes-shard-relocation', {
- from: '2017-10-05 20:31:48.354',
- to: '2017-10-05 20:35:12.176'
+ from: 'Oct 5, 2017 @ 20:31:48.354',
+ to: 'Oct 5, 2017 @ 20:35:12.176'
});
// go to overview
diff --git a/x-pack/test/functional/apps/monitoring/elasticsearch/shards.js b/x-pack/test/functional/apps/monitoring/elasticsearch/shards.js
index 228bbdcd05cf..f9848d51d479 100644
--- a/x-pack/test/functional/apps/monitoring/elasticsearch/shards.js
+++ b/x-pack/test/functional/apps/monitoring/elasticsearch/shards.js
@@ -20,8 +20,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-three-nodes-shard-relocation', {
- from: '2017-10-05 19:34:48.000',
- to: '2017-10-05 20:35:12.000',
+ from: 'Oct 5, 2017 @ 19:34:48.000',
+ to: 'Oct 5, 2017 @ 20:35:12.000',
});
});
diff --git a/x-pack/test/functional/apps/monitoring/kibana/instance.js b/x-pack/test/functional/apps/monitoring/kibana/instance.js
index 33448fc4b206..0d4e06fb2b98 100644
--- a/x-pack/test/functional/apps/monitoring/kibana/instance.js
+++ b/x-pack/test/functional/apps/monitoring/kibana/instance.js
@@ -17,8 +17,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-yellow-platinum', {
- from: '2017-08-29 17:24:14.254',
- to: '2017-08-29 17:25:44.142',
+ from: 'Aug 29, 2017 @ 17:24:14.254',
+ to: 'Aug 29, 2017 @ 17:25:44.142',
});
// go to kibana instance
diff --git a/x-pack/test/functional/apps/monitoring/kibana/instances.js b/x-pack/test/functional/apps/monitoring/kibana/instances.js
index 28bf108d59f2..8f72806eee44 100644
--- a/x-pack/test/functional/apps/monitoring/kibana/instances.js
+++ b/x-pack/test/functional/apps/monitoring/kibana/instances.js
@@ -17,8 +17,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-yellow-platinum', {
- from: '2017-08-29 17:24:14.254',
- to: '2017-08-29 17:25:44.142',
+ from: 'Aug 29, 2017 @ 17:24:14.254',
+ to: 'Aug 29, 2017 @ 17:25:44.142',
});
// go to kibana instances
diff --git a/x-pack/test/functional/apps/monitoring/kibana/overview.js b/x-pack/test/functional/apps/monitoring/kibana/overview.js
index 7282e48fc8a9..c5da75e37a77 100644
--- a/x-pack/test/functional/apps/monitoring/kibana/overview.js
+++ b/x-pack/test/functional/apps/monitoring/kibana/overview.js
@@ -17,8 +17,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/singlecluster-yellow-platinum', {
- from: '2017-08-29 17:24:14.254',
- to: '2017-08-29 17:25:44.142',
+ from: 'Aug 29, 2017 @ 17:24:14.254',
+ to: 'Aug 29, 2017 @ 17:25:44.142',
});
// go to kibana overview
diff --git a/x-pack/test/functional/apps/monitoring/logstash/pipelines.js b/x-pack/test/functional/apps/monitoring/logstash/pipelines.js
index 8eab922e0e5a..51ef2359ab13 100644
--- a/x-pack/test/functional/apps/monitoring/logstash/pipelines.js
+++ b/x-pack/test/functional/apps/monitoring/logstash/pipelines.js
@@ -19,8 +19,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/logstash-pipelines', {
- from: '2018-01-22 09:10:00.000',
- to: '2018-01-22 09:41:00.000',
+ from: 'Jan 22, 2018 @ 09:10:00.000',
+ to: 'Jan 22, 2018 @ 09:41:00.000',
});
// go to pipelines listing
diff --git a/x-pack/test/functional/apps/monitoring/time_filter.js b/x-pack/test/functional/apps/monitoring/time_filter.js
index 0afcada14be5..ae5b11e8e0b3 100644
--- a/x-pack/test/functional/apps/monitoring/time_filter.js
+++ b/x-pack/test/functional/apps/monitoring/time_filter.js
@@ -17,8 +17,8 @@ export default function ({ getService, getPageObjects }) {
before(async () => {
await setup('monitoring/multicluster', {
- from: '2017-08-15 21:00:00.000',
- to: '2017-08-16 00:00:00.000',
+ from: 'Aug 15, 2017 @ 21:00:00.000',
+ to: 'Aug 16, 2017 @ 00:00:00.000',
});
await clusterList.assertDefaults();
});
@@ -35,7 +35,7 @@ export default function ({ getService, getPageObjects }) {
});
it('should send another request when changing the time picker', async () => {
- await PageObjects.timePicker.setAbsoluteRange('2016-08-15 21:00:00.000', '2016-08-16 00:00:00.000');
+ await PageObjects.timePicker.setAbsoluteRange('Aug 15, 2016 @ 21:00:00.000', 'Aug 16, 2016 @ 00:00:00.000');
await clusterList.assertNoData();
});
});
diff --git a/x-pack/test/functional/apps/security/rbac_phase1.js b/x-pack/test/functional/apps/security/rbac_phase1.js
index 9b8be614c9f5..3f9f2f6bdbe8 100644
--- a/x-pack/test/functional/apps/security/rbac_phase1.js
+++ b/x-pack/test/functional/apps/security/rbac_phase1.js
@@ -85,8 +85,6 @@ export default function ({ getService, getPageObjects }) {
// this is to acertain that all role assigned to the user can perform actions like creating a Visualization
it('rbac all role can save a visualization', async function () {
- const fromTime = '2015-09-19 06:31:44.000';
- const toTime = '2015-09-23 18:31:44.000';
const vizName1 = 'Visualization VerticalBarChart';
log.debug('log in as kibanauser with rbac_all role');
@@ -96,8 +94,10 @@ export default function ({ getService, getPageObjects }) {
log.debug('clickVerticalBarChart');
await PageObjects.visualize.clickVerticalBarChart();
await PageObjects.visualize.clickNewSearch();
- log.debug('Set absolute time range from \"' + fromTime + '\" to \"' + toTime + '\"');
- await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime);
+ log.debug('Set absolute time range from \"' +
+ PageObjects.timePicker.defaultStartTime + '\" to \"' +
+ PageObjects.timePicker.defaultEndTime + '\"');
+ await PageObjects.timePicker.setDefaultAbsoluteRange();
await PageObjects.visualize.waitForVisualization();
await PageObjects.visualize.saveVisualizationExpectSuccess(vizName1);
await PageObjects.security.logout();
diff --git a/x-pack/test/functional/apps/uptime/monitor.ts b/x-pack/test/functional/apps/uptime/monitor.ts
index b94a7b8deaa3..ec9ef6d0366d 100644
--- a/x-pack/test/functional/apps/uptime/monitor.ts
+++ b/x-pack/test/functional/apps/uptime/monitor.ts
@@ -18,8 +18,8 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
after(async () => await esArchiver.unload(archive));
it('loads and displays uptime data based on date range', async () => {
await pageObjects.uptime.loadDataAndGoToMonitorPage(
- '2019-09-10 12:40:08.078',
- '2019-09-11 19:40:08.078',
+ 'Sep 10, 2019 @ 12:40:08.078',
+ 'Sep 11, 2019 @ 19:40:08.078',
'0000-intermittent',
'0000-intermittent'
);
diff --git a/x-pack/test/functional/apps/uptime/overview.ts b/x-pack/test/functional/apps/uptime/overview.ts
index cdb904537a0f..9a337c86185f 100644
--- a/x-pack/test/functional/apps/uptime/overview.ts
+++ b/x-pack/test/functional/apps/uptime/overview.ts
@@ -12,8 +12,8 @@ export default ({ getPageObjects }: FtrProviderContext) => {
const pageObjects = getPageObjects(['uptime']);
describe('overview page', function() {
- const DEFAULT_DATE_START = '2019-09-10 12:40:08.078';
- const DEFAULT_DATE_END = '2019-09-11 19:40:08.078';
+ const DEFAULT_DATE_START = 'Sep 10, 2019 @ 12:40:08.078';
+ const DEFAULT_DATE_END = 'Sep 11, 2019 @ 19:40:08.078';
it('loads and displays uptime data based on date range', async () => {
await pageObjects.uptime.goToUptimeOverviewAndLoadData(
DEFAULT_DATE_START,
diff --git a/x-pack/test/functional/apps/visualize/hybrid_visualization.ts b/x-pack/test/functional/apps/visualize/hybrid_visualization.ts
index dacd0b75b126..03b6ed8e8e7c 100644
--- a/x-pack/test/functional/apps/visualize/hybrid_visualization.ts
+++ b/x-pack/test/functional/apps/visualize/hybrid_visualization.ts
@@ -75,8 +75,8 @@ export default function({ getPageObjects, getService }: FtrProviderContext) {
['2019-08-22 00:00', 'php', '11'],
['2019-08-22 16:00', 'jpg', '3'],
];
- const fromTime = '2019-08-19 01:55:07.240';
- const toTime = '2019-08-22 23:09:36.205';
+ const fromTime = 'Aug 19, 2019 @ 01:55:07.240';
+ const toTime = 'Aug 22, 2019 @ 23:09:36.205';
await PageObjects.common.navigateToApp('visualize');
await PageObjects.visualize.clickVisualizationByName('hybrid_histogram_line_chart');
diff --git a/x-pack/test/functional/page_objects/lens_page.ts b/x-pack/test/functional/page_objects/lens_page.ts
index 8153a8713ca2..480814cb0278 100644
--- a/x-pack/test/functional/page_objects/lens_page.ts
+++ b/x-pack/test/functional/page_objects/lens_page.ts
@@ -46,7 +46,9 @@ export function LensPageProvider({ getService, getPageObjects }: FtrProviderCont
* Move the date filter to the specified time range, defaults to
* a range that has data in our dataset.
*/
- goToTimeRange(fromTime = '2015-09-19 06:31:44.000', toTime = '2015-09-23 18:31:44.000') {
+ goToTimeRange(fromTime?: string, toTime?: string) {
+ fromTime = fromTime || PageObjects.timePicker.defaultStartTime;
+ toTime = toTime || PageObjects.timePicker.defaultEndTime;
return PageObjects.timePicker.setAbsoluteRange(fromTime, toTime);
},
diff --git a/x-pack/test/functional/page_objects/reporting_page.js b/x-pack/test/functional/page_objects/reporting_page.js
index 30de10c400c8..0ba0325ad560 100644
--- a/x-pack/test/functional/page_objects/reporting_page.js
+++ b/x-pack/test/functional/page_objects/reporting_page.js
@@ -165,15 +165,13 @@ export function ReportingPageProvider({ getService, getPageObjects }) {
async setTimepickerInDataRange() {
log.debug('Reporting:setTimepickerInDataRange');
- const fromTime = '2015-09-19 06:31:44.000';
- const toTime = '2015-09-23 18:31:44.000';
- await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime);
+ await PageObjects.timePicker.setDefaultAbsoluteRange();
}
async setTimepickerInNoDataRange() {
log.debug('Reporting:setTimepickerInNoDataRange');
- const fromTime = '1999-09-19 06:31:44.000';
- const toTime = '1999-09-23 18:31:44.000';
+ const fromTime = 'Sep 19, 1999 @ 06:31:44.000';
+ const toTime = 'Sep 23, 1999 @ 18:31:44.000';
await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime);
}
}
diff --git a/yarn.lock b/yarn.lock
index 5a72d1ec9292..8b7c660439aa 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1005,7 +1005,7 @@
dependencies:
regenerator-runtime "^0.13.2"
-"@babel/runtime@^7.4.4":
+"@babel/runtime@^7.4.4", "@babel/runtime@^7.6.3":
version "7.7.2"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.7.2.tgz#111a78002a5c25fc8e3361bedc9529c696b85a6a"
integrity sha512-JONRbXbTXc9WQE2mAZd1p0Z3DZ/6vaQIkgYMSTP3KjRCyd7rCZCcfhCyX+YjwcKxcZ82UrxbRD358bpExNgrjw==
@@ -1212,10 +1212,10 @@
tabbable "^1.1.0"
uuid "^3.1.0"
-"@elastic/eui@14.9.0":
- version "14.9.0"
- resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-14.9.0.tgz#934ab8d51c56671635dc17ac20ec325f43ceda75"
- integrity sha512-0ZztvfRO3SNgHtS8a+4i6CSG3Yc+C0Kodzc7obY5wkOzissrnbwLZdU79hU/H6DHYCt/zYDdGcrDp6BeD67RtQ==
+"@elastic/eui@16.0.0":
+ version "16.0.0"
+ resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-16.0.0.tgz#511898bfbeba5ffea6ac96c077d1184d657a451d"
+ integrity sha512-i9t13PzrsfBUolMZ6n2X9aAYJ/wUI2NJduCQlDU4zrXfFrM1LFJ5/KSCcpgzI8VNDakeA3PTml+oqD7J0qGA3g==
dependencies:
"@types/lodash" "^4.14.116"
"@types/numeral" "^0.0.25"
@@ -1227,12 +1227,12 @@
lodash "^4.17.11"
numeral "^2.0.6"
prop-types "^15.6.0"
- react-ace "^5.5.0"
+ react-ace "^7.0.5"
react-beautiful-dnd "^10.1.0"
react-focus-lock "^1.17.7"
- react-input-autosize "^2.2.1"
+ react-input-autosize "^2.2.2"
react-is "~16.3.0"
- react-virtualized "^9.18.5"
+ react-virtualized "^9.21.2"
resize-observer-polyfill "^1.5.0"
tabbable "^3.0.0"
uuid "^3.1.0"
@@ -6791,7 +6791,7 @@ brace-expansion@^1.1.7:
balanced-match "^1.0.0"
concat-map "0.0.1"
-brace@0.11.1, brace@^0.11.0:
+brace@0.11.1, brace@^0.11.0, brace@^0.11.1:
version "0.11.1"
resolved "https://registry.yarnpkg.com/brace/-/brace-0.11.1.tgz#4896fcc9d544eef45f4bb7660db320d3b379fe58"
integrity sha1-SJb8ydVE7vRfS7dmDbMg07N5/lg=
@@ -8075,6 +8075,11 @@ cloneable-readable@^1.0.0:
process-nextick-args "^2.0.0"
readable-stream "^2.3.5"
+clsx@^1.0.1:
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.0.4.tgz#0c0171f6d5cb2fe83848463c15fcc26b4df8c2ec"
+ integrity sha512-1mQ557MIZTrL/140j+JVdRM6e31/OA4vTYxXgqIIZlndyfjHpyawKZia1Im05Vp9BWmImkcNrNtFYQMyFcgJDg==
+
cmd-shim@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-2.1.0.tgz#e59a08d4248dda3bb502044083a4db4ac890579a"
@@ -9197,6 +9202,11 @@ csstype@^2.5.7:
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.3.tgz#b701e5968245bf9b08d54ac83d00b624e622a9fa"
integrity sha512-rINUZXOkcBmoHWEyu7JdHu5JMzkGRoMX4ov9830WNgxf5UYxcBUO0QTKAqeJ5EZfSdlrcJYkC8WwfVW7JYi4yg==
+csstype@^2.6.7:
+ version "2.6.7"
+ resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.7.tgz#20b0024c20b6718f4eda3853a1f5a1cce7f5e4a5"
+ integrity sha512-9Mcn9sFbGBAdmimWb2gLVDtFJzeKtDGIr76TUqmjZrw9LFXBMSU70lcs+C0/7fyCd6iBDqmksUcCOUIkisPHsQ==
+
cuint@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/cuint/-/cuint-0.2.2.tgz#408086d409550c2631155619e9fa7bcadc3b991b"
@@ -10158,6 +10168,11 @@ diagnostics@^1.1.1:
enabled "1.0.x"
kuler "1.0.x"
+diff-match-patch@^1.0.4:
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/diff-match-patch/-/diff-match-patch-1.0.4.tgz#6ac4b55237463761c4daf0dc603eb869124744b1"
+ integrity sha512-Uv3SW8bmH9nAtHKaKSanOQmj2DnlH65fUpcrMdfdaOxUG02QQ4YGZ8AE7kKOMisF7UqvOlGKVYWRvezdncW9lg==
+
diff-sequences@^24.0.0:
version "24.0.0"
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-24.0.0.tgz#cdf8e27ed20d8b8d3caccb4e0c0d8fe31a173013"
@@ -10285,6 +10300,14 @@ dom-helpers@^3.3.1:
dependencies:
"@babel/runtime" "^7.1.2"
+dom-helpers@^5.0.0:
+ version "5.1.3"
+ resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-5.1.3.tgz#7233248eb3a2d1f74aafca31e52c5299cc8ce821"
+ integrity sha512-nZD1OtwfWGRBWlpANxacBEZrEuLa16o1nh7YopFWeoF68Zt8GGEmzHu6Xv4F3XaFIC+YXtTLrzgqKxFgLEe4jw==
+ dependencies:
+ "@babel/runtime" "^7.6.3"
+ csstype "^2.6.7"
+
dom-serialize@^2.2.0:
version "2.2.1"
resolved "https://registry.yarnpkg.com/dom-serialize/-/dom-serialize-2.2.1.tgz#562ae8999f44be5ea3076f5419dcd59eb43ac95b"
@@ -22700,6 +22723,17 @@ react-ace@^5.9.0:
lodash.isequal "^4.1.1"
prop-types "^15.5.8"
+react-ace@^7.0.5:
+ version "7.0.5"
+ resolved "https://registry.yarnpkg.com/react-ace/-/react-ace-7.0.5.tgz#798299fd52ddf3a3dcc92afc5865538463544f01"
+ integrity sha512-3iI+Rg2bZXCn9K984ll2OF4u9SGcJH96Q1KsUgs9v4M2WePS4YeEHfW2nrxuqJrAkE5kZbxaCE79k6kqK0YBjg==
+ dependencies:
+ brace "^0.11.1"
+ diff-match-patch "^1.0.4"
+ lodash.get "^4.4.2"
+ lodash.isequal "^4.5.0"
+ prop-types "^15.7.2"
+
react-addons-create-fragment@^15.6.2:
version "15.6.2"
resolved "https://registry.yarnpkg.com/react-addons-create-fragment/-/react-addons-create-fragment-15.6.2.tgz#a394de7c2c7becd6b5475ba1b97ac472ce7c74f8"
@@ -23430,6 +23464,18 @@ react-virtualized@^9.18.5:
prop-types "^15.6.0"
react-lifecycles-compat "^3.0.4"
+react-virtualized@^9.21.2:
+ version "9.21.2"
+ resolved "https://registry.yarnpkg.com/react-virtualized/-/react-virtualized-9.21.2.tgz#02e6df65c1e020c8dbf574ec4ce971652afca84e"
+ integrity sha512-oX7I7KYiUM7lVXQzmhtF4Xg/4UA5duSA+/ZcAvdWlTLFCoFYq1SbauJT5gZK9cZS/wdYR6TPGpX/dqzvTqQeBA==
+ dependencies:
+ babel-runtime "^6.26.0"
+ clsx "^1.0.1"
+ dom-helpers "^5.0.0"
+ loose-envify "^1.3.0"
+ prop-types "^15.6.0"
+ react-lifecycles-compat "^3.0.4"
+
react-vis@^1.8.1:
version "1.8.2"
resolved "https://registry.yarnpkg.com/react-vis/-/react-vis-1.8.2.tgz#0e0aebc427e50856a01b666569ffad0411ef050f"