Skip to content
Extraits de code Groupes Projets
Valider 14f9599b rédigé par Thomas Steur's avatar Thomas Steur Validation de Matthieu Aubry
Parcourir les fichiers

Don't force enable low population when using all columns table (#10653)

parent 5262b7a0
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -26,7 +26,6 @@ class AllColumns extends HtmlTable ...@@ -26,7 +26,6 @@ class AllColumns extends HtmlTable
public function beforeRender() public function beforeRender()
{ {
$this->config->show_extra_columns = true; $this->config->show_extra_columns = true;
$this->config->show_exclude_low_population = true;
parent::beforeRender(); parent::beforeRender();
} }
......
Le fichier a été supprimé par une entrée .gitattributes, ou son encodage n'est pas pris en charge.
...@@ -39,13 +39,6 @@ describe("ViewDataTableTest", function () { // TODO: should remove Test suffix f ...@@ -39,13 +39,6 @@ describe("ViewDataTableTest", function () { // TODO: should remove Test suffix f
}, done); }, 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) { it("should show all available visualizations for this report", function (done) {
expect.screenshot("5_visualizations").to.be.captureSelector('.dataTableFooterIcons', function (page) { expect.screenshot("5_visualizations").to.be.captureSelector('.dataTableFooterIcons', function (page) {
page.click('.activateVisualizationSelection'); page.click('.activateVisualizationSelection');
...@@ -157,4 +150,14 @@ describe("ViewDataTableTest", function () { // TODO: should remove Test suffix f ...@@ -157,4 +150,14 @@ describe("ViewDataTableTest", function () { // TODO: should remove Test suffix f
page.click('.datatableRelatedReports li>span:visible'); page.click('.datatableRelatedReports li>span:visible');
}, done); }, 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
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter