def METHOD_NAME(self):
    registry = getUtility(IRegistry)
    settings = registry.forInterface(INavigationSchema, prefix="plone")
    self.browser.open("%s/@@navigation-controlpanel" % self.portal_url)
    self.browser.getControl(
        "Show items normally excluded from navigation if viewing their children."
    ).selected = False  # noqa
    self.browser.getControl("Save").click()
    self.assertFalse(settings.show_excluded_items)