mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[FieldFormats] Unskip url field formatter test (#107651)
This commit is contained in:
parent
d34cd91fc5
commit
9d42d670e1
2 changed files with 47 additions and 4 deletions
|
@ -36,8 +36,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
expect(currentUrl).to.equal(fieldUrl);
|
||||
};
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/79463
|
||||
describe.skip('Changing field formatter to Url', () => {
|
||||
describe('Changing field formatter to Url', () => {
|
||||
before(async function () {
|
||||
await esArchiver.load('test/functional/fixtures/es_archiver/dashboard/current/kibana');
|
||||
await kibanaServer.uiSettings.replace({
|
||||
|
@ -48,13 +47,14 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await settings.clickIndexPatternLogstash();
|
||||
await settings.filterField(fieldName);
|
||||
await settings.openControlsByName(fieldName);
|
||||
await settings.toggleRow('formatRow');
|
||||
await settings.setFieldFormat('url');
|
||||
await settings.controlChangeSave();
|
||||
});
|
||||
|
||||
it('applied on dashboard', async () => {
|
||||
await common.navigateToApp('dashboard');
|
||||
await dashboard.loadSavedDashboard('dashboard with everything');
|
||||
await dashboard.loadSavedDashboard('dashboard with table');
|
||||
await dashboard.waitForRenderComplete();
|
||||
const fieldLink = await visChart.getFieldLinkInVisTable(`${fieldName}: Descending`, 1);
|
||||
await clickFieldAndCheckUrl(fieldLink);
|
||||
|
|
|
@ -1135,6 +1135,49 @@
|
|||
}
|
||||
}
|
||||
|
||||
{
|
||||
"type": "doc",
|
||||
"value": {
|
||||
"id": "dashboard:d2525040-3dcd-11e8-8660-4d65aa086b3b",
|
||||
"index": ".kibana",
|
||||
"source": {
|
||||
"coreMigrationVersion": "7.14.0",
|
||||
"dashboard": {
|
||||
"description": "I have one of every visualization type since the last time I was created!",
|
||||
"hits": 0,
|
||||
"kibanaSavedObjectMeta": {
|
||||
"searchSourceJSON": "{\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"filter\":[],\"highlightAll\":true,\"version\":true}"
|
||||
},
|
||||
"optionsJSON": "{\"darkTheme\":false,\"hidePanelTitles\":false,\"useMargins\":true}",
|
||||
"panelsJSON": "[{\"version\":\"7.3.0\",\"type\":\"visualization\",\"gridData\":{\"x\":0,\"y\":15,\"w\":24,\"h\":15,\"i\":\"3\"},\"panelIndex\":\"3\",\"embeddableConfig\":{\"enhancements\":{}},\"panelRefName\":\"panel_3\"}]",
|
||||
"refreshInterval": {
|
||||
"display": "Off",
|
||||
"pause": false,
|
||||
"value": 0
|
||||
},
|
||||
"timeFrom": "Mon Apr 09 2018 17:56:08 GMT-0400",
|
||||
"timeRestore": true,
|
||||
"timeTo": "Wed Apr 11 2018 17:56:08 GMT-0400",
|
||||
"title": "dashboard with table",
|
||||
"version": 1
|
||||
},
|
||||
"migrationVersion": {
|
||||
"dashboard": "7.14.0"
|
||||
},
|
||||
"references": [
|
||||
{
|
||||
"id": "4b5d6ef0-3dcb-11e8-8660-4d65aa086b3c",
|
||||
"name": "3:panel_3",
|
||||
"type": "visualization"
|
||||
}
|
||||
],
|
||||
"type": "dashboard",
|
||||
"updated_at": "2018-04-16T16:05:02.915Z"
|
||||
},
|
||||
"type": "_doc"
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
"type": "doc",
|
||||
"value": {
|
||||
|
@ -3468,4 +3511,4 @@
|
|||
},
|
||||
"type": "_doc"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue