Ir a la última revisión | 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 click on "Disable Latest badges" "link"Then I should see "Latest badges disabled."And "Disable Latest badges" "link" should not existBut "Enable Latest badges" "link" should existWhen I click on "Enable Latest badges" "link"Then I should see "Latest badges enabled."And "Enable Latest badges" "link" should not existBut "Disable Latest badges" "link" should existScenario: An administrator can control the enabled 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 "Disable Latest badges" "link"Then I should see "Latest badges disabled."And "Disable Latest badges" "link" should not existBut "Enable Latest badges" "link" should existWhen I click on "Enable Latest badges" "link"Then I should see "Latest badges enabled."And "Enable Latest badges" "link" should not existBut "Disable Latest badges" "link" should exist@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