mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Make Discover table keyboard accessible. (#11604)
* Make Discover table carets tabbable. * Make Discover table tabs tabbable. * Make Discover table icon buttons tabbable.
This commit is contained in:
parent
fa1aa4f034
commit
c861dc2bc4
9 changed files with 103 additions and 47 deletions
|
@ -84,7 +84,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
it('doc view should show oldest time first', function () {
|
||||
// Note: Could just check the timestamp, but might as well check that the whole doc is as expected.
|
||||
const ExpectedDoc =
|
||||
'September 22nd 2015, 23:50:13.253 index:logstash-2015.09.22 @timestamp:September 22nd 2015, 23:50:13.253'
|
||||
'September 22nd 2015, 23:50:13.253\nindex:logstash-2015.09.22 @timestamp:September 22nd 2015, 23:50:13.253'
|
||||
+ ' ip:238.171.34.42 extension:jpg response:200 geo.coordinates:{ "lat": 38.66494528, "lon": -88.45299556'
|
||||
+ ' } geo.src:FR geo.dest:KH geo.srcdest:FR:KH @tags:success, info utc_time:September 22nd 2015,'
|
||||
+ ' 23:50:13.253 referer:http://twitter.com/success/nancy-currie agent:Mozilla/4.0 (compatible; MSIE 6.0;'
|
||||
|
@ -135,7 +135,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
it('doc view should sort ascending', function () {
|
||||
// Note: Could just check the timestamp, but might as well check that the whole doc is as expected.
|
||||
const ExpectedDoc =
|
||||
'September 20th 2015, 00:00:00.000 index:logstash-2015.09.20 @timestamp:September 20th 2015, 00:00:00.000'
|
||||
'September 20th 2015, 00:00:00.000\nindex:logstash-2015.09.20 @timestamp:September 20th 2015, 00:00:00.000'
|
||||
+ ' ip:143.84.142.7 extension:jpg response:200 geo.coordinates:{ "lat": 38.68407028, "lon": -120.9871642 }'
|
||||
+ ' geo.src:ES geo.dest:US geo.srcdest:ES:US @tags:error, info utc_time:September 20th 2015, 00:00:00.000'
|
||||
+ ' referer:http://www.slate.com/success/vladimir-kovalyonok agent:Mozilla/4.0 (compatible; MSIE 6.0;'
|
||||
|
|
|
@ -72,7 +72,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
await PageObjects.visualize.waitForVisualization();
|
||||
await retry.try(async function() {
|
||||
const rowData = await PageObjects.discover.getDocTableIndex(1);
|
||||
expect(rowData).to.be('September 18th 2015, 18:20:57.916 18');
|
||||
expect(rowData).to.be('September 18th 2015, 18:20:57.916\n18');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -139,7 +139,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
await PageObjects.visualize.waitForVisualization();
|
||||
await retry.try(async function() {
|
||||
const rowData = await PageObjects.discover.getDocTableIndex(1);
|
||||
expect(rowData).to.be('September 18th 2015, 18:20:57.916 18');
|
||||
expect(rowData).to.be('September 18th 2015, 18:20:57.916\n18');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -207,7 +207,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
await PageObjects.visualize.waitForVisualization();
|
||||
await retry.try(async function() {
|
||||
const rowData = await PageObjects.discover.getDocTableIndex(1);
|
||||
expect(rowData).to.be('September 18th 2015, 18:20:57.916 good');
|
||||
expect(rowData).to.be('September 18th 2015, 18:20:57.916\ngood');
|
||||
|
||||
});
|
||||
});
|
||||
|
@ -271,7 +271,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
await PageObjects.visualize.waitForVisualization();
|
||||
await retry.try(async function() {
|
||||
const rowData = await PageObjects.discover.getDocTableIndex(1);
|
||||
expect(rowData).to.be('September 18th 2015, 18:20:57.916 true');
|
||||
expect(rowData).to.be('September 18th 2015, 18:20:57.916\ntrue');
|
||||
|
||||
});
|
||||
});
|
||||
|
@ -336,7 +336,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
await PageObjects.visualize.waitForVisualization();
|
||||
await retry.try(async function() {
|
||||
const rowData = await PageObjects.discover.getDocTableIndex(1);
|
||||
expect(rowData).to.be('September 18th 2015, 06:52:55.953 2015-09-18 07:00');
|
||||
expect(rowData).to.be('September 18th 2015, 06:52:55.953\n2015-09-18 07:00');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue