Skip to content

Commit

Permalink
unskip url ff test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Aug 4, 2021
1 parent 96f27b9 commit 877799f
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/functional/apps/dashboard/url_field_formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -3468,4 +3511,4 @@
},
"type": "_doc"
}
}
}

0 comments on commit 877799f

Please sign in to comment.