// Make sure that the new complex action was saved properly.
$this->assertText(t('The action has been successfully saved.'), t("Make sure we get a confirmation that we've successfully saved the complex action."));
$this->assertText($action_description, t("Make sure the action description appears on the configuration page after we've saved the complex action."));
// Make another POST request to the action edit page.
$this->assertText(t('The action has been successfully saved.'), t("Make sure we get a confirmation that we've successfully updated the complex action."));
$this->assertNoText($action_description, t("Make sure the old action description does NOT appear on the configuration page after we've updated the complex action."));
$this->assertText($new_action_description, t("Make sure the action description appears on the configuration page after we've updated the complex action."));
// Make sure that the action was actually deleted.
$this->assertRaw(t('Action %action was deleted', array('%action' => $new_action_description)), t('Make sure that we get a delete confirmation message.'));
$this->assertNoText($new_action_description, t("Make sure the action description does not appear on the overview page after we've deleted the action."));