Skip to content

Commit

Permalink
[Sample data] Use Lens in ecommerce data (#106039)
Browse files Browse the repository at this point in the history
* [Sample data] Use Lens in ecommerce data

* Fix tests

* Update from comments
  • Loading branch information
Wylie Conlon committed Jul 21, 2021
1 parent 3039db2 commit 482d3c7
Show file tree
Hide file tree
Showing 9 changed files with 177 additions and 260 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/functional/apps/home/_sample_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const toTime = `${todayYearMonthDay} @ 23:59:59.999`;
await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime);
const panelCount = await PageObjects.dashboard.getPanelCount();
expect(panelCount).to.be(12);
expect(panelCount).to.be(15);
});
});

Expand Down
1 change: 1 addition & 0 deletions test/functional/page_objects/home_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export class HomePageObject extends FtrService {

async launchSampleDataSet(id: string) {
await this.addSampleDataSet(id);
await this.common.closeToastIfExists();
await this.testSubjects.click(`launchSampleDataSet${id}`);
}

Expand Down
8 changes: 0 additions & 8 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -1935,20 +1935,12 @@
"home.manageData.sectionTitle": "データを管理",
"home.pageTitle": "ホーム",
"home.recentlyAccessed.recentlyViewedTitle": "最近閲覧",
"home.sampleData.ecommerceSpec.averageSalesPriceTitle": "[e コマース] 平均販売価格",
"home.sampleData.ecommerceSpec.averageSoldQuantityTitle": "[e コマース] 平均販売数",
"home.sampleData.ecommerceSpec.controlsTitle": "[e コマース] コントロール",
"home.sampleData.ecommerceSpec.markdownTitle": "[e コマース] マークダウン",
"home.sampleData.ecommerceSpec.ordersTitle": "[e コマース] 注文",
"home.sampleData.ecommerceSpec.promotionTrackingTitle": "[e コマース] プロモーショントラッキング",
"home.sampleData.ecommerceSpec.revenueDashboardDescription": "サンプルの e コマースの注文と収益を分析します",
"home.sampleData.ecommerceSpec.revenueDashboardTitle": "[e コマース] 収益ダッシュボード",
"home.sampleData.ecommerceSpec.salesByCategoryTitle": "[e コマース] カテゴリーごとの売上",
"home.sampleData.ecommerceSpec.salesByGenderTitle": "[e コマース] 性別ごとの売上",
"home.sampleData.ecommerceSpec.salesCountMapTitle": "[eコマース] 売上カウントマップ",
"home.sampleData.ecommerceSpec.soldProductsPerDayTitle": "[e コマース] 1 日の販売製品",
"home.sampleData.ecommerceSpec.topSellingProductsTitle": "[e コマース] トップセラー製品",
"home.sampleData.ecommerceSpec.totalRevenueTitle": "[e コマース] 合計収益",
"home.sampleData.ecommerceSpecDescription": "e コマースの注文をトラッキングするサンプルデータ、ビジュアライゼーション、ダッシュボードです。",
"home.sampleData.ecommerceSpecTitle": "サンプル e コマース注文",
"home.sampleData.flightsSpec.airportConnectionsTitle": "[フライト] 空港乗り継ぎ (空港にカーソルを合わせてください) ",
Expand Down
9 changes: 0 additions & 9 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1947,20 +1947,11 @@
"home.manageData.sectionTitle": "管理您的数据",
"home.pageTitle": "主页",
"home.recentlyAccessed.recentlyViewedTitle": "最近查看",
"home.sampleData.ecommerceSpec.averageSalesPriceTitle": "[电子商务] 平均销售价格",
"home.sampleData.ecommerceSpec.averageSoldQuantityTitle": "[电子商务] 平均销售数量",
"home.sampleData.ecommerceSpec.controlsTitle": "[电子商务] 控制",
"home.sampleData.ecommerceSpec.markdownTitle": "[eCommerce] Markdown",
"home.sampleData.ecommerceSpec.ordersTitle": "[电子商务] 订单",
"home.sampleData.ecommerceSpec.promotionTrackingTitle": "[电子商务] 促销追踪",
"home.sampleData.ecommerceSpec.revenueDashboardDescription": "分析模拟的电子商务订单和收入",
"home.sampleData.ecommerceSpec.revenueDashboardTitle": "[电子商务] 收入仪表板",
"home.sampleData.ecommerceSpec.salesByCategoryTitle": "[电子商务] 按类别划分的销售额",
"home.sampleData.ecommerceSpec.salesByGenderTitle": "[电子商务] 按性别划分的销售额",
"home.sampleData.ecommerceSpec.salesCountMapTitle": "[电子商务] 销售计数地图",
"home.sampleData.ecommerceSpec.soldProductsPerDayTitle": "[电子商务] 每天已售产品",
"home.sampleData.ecommerceSpec.topSellingProductsTitle": "[电子商务] 热卖产品",
"home.sampleData.ecommerceSpec.totalRevenueTitle": "[电子商务] 总收入",
"home.sampleData.ecommerceSpecDescription": "用于追踪电子商务订单的样例数据、可视化和仪表板。",
"home.sampleData.ecommerceSpecTitle": "样例电子商务订单",
"home.sampleData.flightsSpec.airportConnectionsTitle": "[航班] 机场航线 (将鼠标悬停在机场上) ",
Expand Down

0 comments on commit 482d3c7

Please sign in to comment.