---
title: "Edit or delete an A/B/n test"
slug: "edit-or-delete-an-a-b-n-test"
abstract: "How to edit or delete an A/B/n test while the test is in Draft status."
---
# Edit or delete an A/B/n test

You can continue editing your draft A/B/n tests after creating them. You also have the option to delete any draft A/B/n tests that you no longer need.

## Edit a test

You can continue editing A/B/n tests, including their variants, while they are in *Draft* status. You can make any necessary changes in content, layout, and styling, as well as the test configuration before starting the test.

To edit a test:

1. In the Page builder **Editor** mode, open the page that contains the A/B/n test you want to edit.

    > [!note]
    > Any page with an A/B/n test is indicated by the :mdiFlask: icon next to it in the Site tree.

2. Make the necessary edits. [Create additional variants](https://doc.sitecore.com/sai/en/users/sitecoreai/a-b-n-testing/get-started-with-a-b-n-testing/create-an-a-b-n-test.html "Create an A/B/n test"), update their content, layout, and styling or [configure the test settings](https://doc.sitecore.com/sai/en/users/sitecoreai/a-b-n-testing/get-started-with-a-b-n-testing/configure-a-b-n-test-settings.html "Configure A/B/n test settings").

## Delete a test

Before you delete an A/B/n test, make sure it's no longer needed and that none of your teammates are working on it. Tests can only be deleted if they are in *Draft* status.

To delete a test:

1. In the Page builder **Editor** mode, on the **Pages** tab, open the page that contains the A/B/n test you want to delete.
2. In the right-hand pane, click **Delete A/B/n test**.
3. In the confirmation dialog, click **Delete**. This action deletes the A/B/n test on the page including all its variants. This action cannot be undone.