Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/CoreVisualizations/Visualizations/HtmlTable/AllColumns.php1
-rw-r--r--tests/UI/expected-screenshots/ViewDataTableTest_exclude_low_population.png (renamed from tests/UI/expected-screenshots/ViewDataTableTest_4_exclude_low_population.png)0
-rw-r--r--tests/UI/specs/ViewDataTable_spec.js17
3 files changed, 10 insertions, 8 deletions
diff --git a/plugins/CoreVisualizations/Visualizations/HtmlTable/AllColumns.php b/plugins/CoreVisualizations/Visualizations/HtmlTable/AllColumns.php
index ef6ad37ea8..536477abb3 100644
--- a/plugins/CoreVisualizations/Visualizations/HtmlTable/AllColumns.php
+++ b/plugins/CoreVisualizations/Visualizations/HtmlTable/AllColumns.php
@@ -26,7 +26,6 @@ class AllColumns extends HtmlTable
public function beforeRender()
{
$this->config->show_extra_columns = true;
- $this->config->show_exclude_low_population = true;
parent::beforeRender();
}
diff --git a/tests/UI/expected-screenshots/ViewDataTableTest_4_exclude_low_population.png b/tests/UI/expected-screenshots/ViewDataTableTest_exclude_low_population.png
index 806b9059db..806b9059db 100644
--- a/tests/UI/expected-screenshots/ViewDataTableTest_4_exclude_low_population.png
+++ b/tests/UI/expected-screenshots/ViewDataTableTest_exclude_low_population.png
diff --git a/tests/UI/specs/ViewDataTable_spec.js b/tests/UI/specs/ViewDataTable_spec.js
index a7254b3ef6..b13944c412 100644
--- a/tests/UI/specs/ViewDataTable_spec.js
+++ b/tests/UI/specs/ViewDataTable_spec.js
@@ -39,13 +39,6 @@ describe("ViewDataTableTest", function () { // TODO: should remove Test suffix f
}, done);
});
- it("should exclude low population rows when low population clicked", function (done) {
- expect.screenshot("4_exclude_low_population").to.be.capture(function (page) {
- page.click('.dropdownConfigureIcon');
- page.click('.dataTableExcludeLowPopulation');
- }, done);
- });
-
it("should show all available visualizations for this report", function (done) {
expect.screenshot("5_visualizations").to.be.captureSelector('.dataTableFooterIcons', function (page) {
page.click('.activateVisualizationSelection');
@@ -157,4 +150,14 @@ describe("ViewDataTableTest", function () { // TODO: should remove Test suffix f
page.click('.datatableRelatedReports li>span:visible');
}, done);
});
+
+ it("should exclude low population rows when low population clicked", function (done) {
+ var newUrl = url.replace('moduleToWidgetize=Referrers', 'moduleToWidgetize=Actions').replace('actionToWidgetize=getKeywords', 'actionToWidgetize=getPageUrls');
+ expect.screenshot("exclude_low_population").to.be.capture(function (page) {
+ page.load(newUrl);
+ page.click('.dropdownConfigureIcon');
+ page.click('.dataTableExcludeLowPopulation');
+ }, done);
+ });
+
}); \ No newline at end of file