Issue #3270378 by andregp, murilohp, Rinku Jacob 13, AaronMcHale, dww,...
Issue #3270378 by andregp, murilohp, Rinku Jacob 13, AaronMcHale, dww, alexpott, smustgrave: Promote non-stable modules to the top of the list at admin/modules/uninstall form
(cherry picked from commit 642c614b)
(cherry picked from commit 157ebea1)
@@ -82,6 +82,20 @@ public function testUninstallPage() {
$this->assertSession()->elementExists('xpath',"//a[contains(@aria-label, 'View information on the Obsolete status of the module System obsolete status test')]");
// Select the first stable module on the uninstall list.
$module_stable=$this->assertSession()->elementExists('xpath',"//label[contains(@class, 'module-name') and not(./a[contains(@class, 'module-link--non-stable')])]")->getOuterHtml();
// Select the unstable modules (deprecated, and obsolete).
$module_unstable_1=$this->assertSession()->elementExists('xpath',"//label[./a[contains(@aria-label, 'View information on the Deprecated status of the module Deprecated module')]]")->getOuterHtml();
$module_unstable_2=$this->assertSession()->elementExists('xpath',"//label[./a[contains(@aria-label, 'View information on the Obsolete status of the module System obsolete status test')]]")->getOuterHtml();
// Check that all unstable modules appear before the first stable module.