Rev 1 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
@core @core_adminFeature: An administrator can manage Block pluginsIn order to alter the user experienceAs an adminI can manage block plugins@javascriptScenario: An administrator can control the enabled state of block plugins using JavaScriptGiven I am logged in as "admin"And I navigate to "Plugins > Blocks > Manage blocks" in site administrationWhen I toggle the "Disable Latest badges" admin switch "off"And I should see "Latest badges disabled."And I reload the pageThen I should see "Enable Latest badges"And I toggle the "Enable Latest badges" admin switch "on"And I should see "Latest badges enabled."And I reload the pageThen I should see "Disable Latest badges"@javascriptScenario: An administrator can control the protected state of block plugins using JavaScriptGiven I am logged in as "admin"And I navigate to "Plugins > Blocks > Manage blocks" in site administrationWhen I click on "Protect instances of Latest badges" "link"Then I should see "Latest badges block instances are protected."And "Protect instances of Latest badges" "link" should not existBut "Unprotect instances of Latest badges" "link" should existAnd "Protect instances of Activities" "link" should existWhen I click on "Unprotect instances of Latest badges" "link"Then I should see "Latest badges block instances are unprotected."And "Unprotect instances of Activities" "link" should not existBut "Protect instances of Latest badges" "link" should existAnd "Protect instances of Activities" "link" should existScenario: An administrator can control the protected state of block plugins without JavaScriptGiven I am logged in as "admin"And I navigate to "Plugins > Blocks > Manage blocks" in site administrationWhen I click on "Protect instances of Latest badges" "link"Then I should see "Latest badges block instances are protected."And "Protect instances of Latest badges" "link" should not existBut "Unprotect instances of Latest badges" "link" should existAnd "Protect instances of Activities" "link" should existWhen I click on "Unprotect instances of Latest badges" "link"Then I should see "Latest badges block instances are unprotected."And "Unprotect instances of Activities" "link" should not existBut "Protect instances of Latest badges" "link" should existAnd "Protect instances of Activities" "link" should exist