---
title: Tables Document
slug: cypress-smoke-tests-qa3-env-domain-7
docTags: 
createdAt: 2026-03-19T16:11:53.461Z
---







| **Test Case ID&#x20;**    | **TC-EDITOR-BUTTON-001&#x20;**                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "Button" option is correctly displayed in the "Add blocks" dropdown menu with proper styling and shortcut information.                                                                                                                                                                                                                                                        |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                  |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Type "/" character to trigger the "Add blocks" menu .<br />5. Wait for the dropdown menu to appear and verify dropdown is visible.<br />6. Locate the "Button" option in the dropdown list.<br />7. Verify the "Button" option is displayed with correct styling.      |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "/" character triggers the "Add blocks" dropdown menu.<br />3. Dropdown menu appears and is visible on screen.<br />4. "Button" option is present in the dropdown list and has correct syling.<br />5. "Button" option appears in its default, unselected state.<br />6. "Button" option appears clickable and selectable. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                           |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should display “Button” option correctly in Add blocks dropdown<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-001                                                                                                 |



| **Test Case ID**          | **TC-EDITOR-BUTTON-002**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "Button" block can be created and displayed correctly using the "/" menu selection.                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Type "/" character to open the "/" menu.<br />5. Wait for the dropdown menu to appear and verify dropdown is visible.<br />6. Locate the "Button" option in the dropdown list and select it.<br />7. Verify the "Button" block is created                                                                                                                                                         |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "/" character triggers the "Add blocks" dropdown menu.<br />3. Dropdown menu appears and is visible on screen.<br />4. Clicking "Button" from "Add blocks" menu transforms the block into a "Button" block.<br />5. Empty "Button" appears with placeholder text.<br />6. "Button" block is in editable state and ready for text input.<br />7. User can immediately start typing to replace placeholder text.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should create “Button” block via "/" menu selection<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-002                                                                                                                                                                                                                                        |



| **Test Case ID**          | **TC-EDITOR-BUTTON-003**                                                                                                                                                                                                                                                                                                                                  |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "Button" block can be created and displayed correctly using the "(button)" shortcut.                                                                                                                                                                                                                                                          |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                  |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Type "(button) + space key" to create the "Button" block.<br />5. Type a space character immediately after "\[]".<br />6 Verify the "Button" block is created                                                                          |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. "Button" block is in editable state and ready for text input.<br />5. User can immediately start typing to replace placeholder text.<br />6. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                           |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should create “Button” block via “(button)” shortcut<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-003                                                                            |



| **Test Case ID**          | **TC-EDITOR-BUTTON-004**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that a single character can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5 Verify the "Button" block is created<br />6. Type the "Single Character" text in the "Button" block.<br />7. Verify the "Single Character" text is displayed correctly in the "Button" block.                                                                                           |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the "Single Character" text.<br />6. "Single Character" text typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display single character in “Button” block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-004                                                                                                                                                                                                                    |



| **Test Case ID**          | **TC-EDITOR-BUTTON-005**                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that a "Button" block can be emptied of all text and handles empty state correctly.                                                                                                                                                                                                                                                                                                                                                      |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                        |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />3. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created<br />6. Clear the placeholder text from "Button" block.<br />7. Verify the empty "Button" block displays correctly.                                                                     |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to clear the placeholder text in "Button" block.<br />5. "Button" block accepts the clearing of the placeholder text.<br />6. "Button" block maintains its styling.<br />7. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display empty "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-005                                                                                                                                                                        |



| **Test Case ID**          | **TC-EDITOR-BUTTON-006**                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that a single word can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type a single word text in the "Button" block.<br />7. Verify the single word text is displayed correctly in the "Button" block.                                                                                           |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the single word text.<br />6. Single word text typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display single word in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-006                                                                                                                                                                                                           |



| **Test Case ID**          | **TC-EDITOR-BUTTON-007**                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that multiple words can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type multiple words text in the "Button" block.<br />7. Verify the multiple words text is displayed correctly in the "Button" block.                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the multiple words text.<br />6. Multiple words text typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display multiple words in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-007                                                                                                                                                                                                              |



| **Test Case ID**          | **TC-EDITOR-BUTTON-008**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that special characters can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type special characters text in the "Button" block.<br />7. Verify the special characters text is displayed correctly in the "Button" block.                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the special characters text.<br />6. Special characters text typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display special characters in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-008                                                                                                                                                                                                                  |



| **Test Case ID**          | **TC-EDITOR-BUTTON-009**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that leading and trailing spaces can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text with leading and trailing spaces in the "Button" block.<br />7. Verify the text with leading and trailing spaces is displayed correctly in the "Button" block.                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the text with leading and trailing spaces.<br />6. Text with leading and trailing spaces typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display leading and trailing spaces in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-009                                                                                                                                                                                                                                     |



| **Test Case ID**          | **TC-EDITOR-BUTTON-010**                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that long text can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                      |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type long text in the "Button" block.<br />7. Verify the long text is displayed correctly in the "Button" block.                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the long text.<br />6. Long text typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display long text in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-010                                                                                                                                                                                               |



| **Test Case ID**          | **TC-EDITOR-BUTTON-011**                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that very long text can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type very long text in the "Button" block.<br />7. Verify the very long text is displayed correctly in the "Button" block.                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the very long text.<br />6. Very long text typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display very long text in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-011                                                                                                                                                                                                    |



| **Test Case ID**          | **TC-EDITOR-BUTTON-012**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that Unicode characters can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type Unicode characters text in the "Button" block.<br />7. Verify the Unicode characters text is displayed correctly in the "Button" block.                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the Unicode characters text.<br />6. Unicode characters text typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display Unicode characters in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-012                                                                                                                                                                                                                  |



| **Test Case ID**          | **TC-EDITOR-BUTTON-013**                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that emojis can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                          |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type emojis text in the "Button" block.<br />7. Verify the emojis text is displayed correctly in the "Button" block.                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the emojis text.<br />6. Emojis text typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display emojis in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-013                                                                                                                                                                                                      |



| **Test Case ID**          | **TC-EDITOR-BUTTON-014**                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that mixed case text can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type mixed case text in the "Button" block.<br />7. Verify the mixed case text is displayed correctly in the "Button" block.                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the mixed case text.<br />6. Mixed case text typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display mixed case text in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-014                                                                                                                                                                                                     |



| **Test Case ID**          | **TC-EDITOR-BUTTON-015**                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that numbers can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                            |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type numbers text in the "Button" block.<br />7. Verify the numbers text is displayed correctly in the "Button" block.                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the numbers text.<br />6. Numbers text typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display numbers in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-015                                                                                                                                                                                                       |



| **Test Case ID**          | **TC-EDITOR-BUTTON-016**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that HTML-like characters can be typed in a "Button" block and displays correctly.                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type HTML-like characters text in the "Button" block.<br />7. Verify the HTML-like characters text is displayed correctly in the "Button" block.                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can immediately start typing to replace placeholder text in "Button" block.<br />5. "Button" block accepts the HTML-like characters text.<br />6. HTML-like characters text typed replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display HTML-like characters in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-016                                                                                                                                                                                                                    |



| **Test Case ID**          | **TC-EDITOR-BUTTON-017**                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that pasted plain text can be displayed correctly in a "Button" block.                                                                                                                                                                                                                                                                                                                                                                         |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                              |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Copy plain text from an external source.<br />7. Paste the plain text into the "Button" block.<br />8. Verify the pasted plain text is displayed correctly in the "Button" block.    |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can paste plain text into "Button" block.<br />5. "Button" block accepts the pasted plain text.<br />6. Pasted plain text replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display pasted plain text in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-017                                                                                                                                                               |



| **Test Case ID**          | **TC-EDITOR-BUTTON-018**                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that pasted very long text can be displayed correctly in a "Button" block.                                                                                                                                                                                                                                                                                                                                                                                 |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                          |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Copy very long text from an external source.<br />7. Paste the very long text into the "Button" block.<br />8. Verify the pasted very long text is displayed correctly in the "Button" block.    |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can paste very long text into "Button" block.<br />5. "Button" block accepts the pasted very long text.<br />6. Pasted very long text replaces the placeholder text.<br />7. "Button" block maintains its styling.<br />8. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should accept and display pasted very long text in "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-018                                                                                                                                                                       |



| **Test Case ID**          | **TC-EDITOR-BUTTON-019**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "Button" block text persists correctly after browser refresh.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type a text in the "Button" block.<br />7. Verify the text is displayed correctly in the "Button" block.<br />8. Refresh the browser page.<br />9. Wait for the document to fully load after refresh.<br />10. Verify the "Button" block text is persisted and displayed correctly. |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is saved in the "Button" block.<br />6. Browser refresh completes successfully.<br />7. Document loads after refresh with the "Button" block.<br />8. "Button" block text is persisted and matches the text entered before refresh.<br />9. Document remains in edit mode.                     |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should persist "Button" block text after browser refresh<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-019                                                                                                                                                                                                                                                                   |



| **Test Case ID**          | **TC-EDITOR-BUTTON-020**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that keyboard shortcuts (copy, paste, undo, redo) work correctly in a "Button" block.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Select the text in the "Button" block.<br />8. Use keyboard shortcut to copy the text.<br />9. Use keyboard shortcut to paste the text.<br />10. Use keyboard shortcut to undo the action.<br />11. Use keyboard shortcut to redo the action.<br />12. Verify all keyboard shortcuts work correctly in the "Button" block.          |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text can be selected in "Button" block.<br />6. Copy keyboard shortcut copies the selected text.<br />7. Paste keyboard shortcut pastes the copied text.<br />8. Undo keyboard shortcut reverts the last action.<br />9. Redo keyboard shortcut reapplies the reverted action.<br />10. All keyboard shortcuts function correctly in "Button" block.<br />11. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should support keyboard shortcuts in "Button" block \[copy, paste, undo, redo]<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-020                                                                                                                                                                                                                                                                                                                                      |



| **Test Case ID**          | **TC-EDITOR-BUTTON-021**                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that a word can be selected and replaced from "Button" text.                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text containing multiple words in the "Button" block.<br />7. Select a word from the "Button" text.<br />8. Type new text to replace the selected word.<br />9. Verify the word is replaced correctly in the "Button" block. |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Word can be selected from "Button" text.<br />6. Selected word is highlighted.<br />7. Typing new text replaces the selected word.<br />8. "Button" block maintains its styling.<br />9. Document remains in edit mode.                           |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow selecting and replacing word from "Button" text<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-021                                                                                                                                                                                                             |



| **Test Case ID**          | **TC-EDITOR-BUTTON-022**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that individual characters can be deleted from "Button" text.                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Position the cursor at a specific character in the "Button" text.<br />8. Use Backspace key to remove individual characters.<br />9. Verify individual characters are deleted correctly from the "Button" text.     |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Cursor can be positioned at any character in "Button" text.<br />6. Backspace key deletes the character before the cursor.<br />7. Characters are removed correctly from "Button" text.<br />8. "Button" block maintains its styling.<br />9. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow deleting individual characters from "Button" text<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-022                                                                                                                                                                                                                                      |



| **Test Case ID**          | **TC-EDITOR-BUTTON-023**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that text can be inserted in the middle of a "Button" block.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Position the cursor in the middle of the "Button" text.<br />8. Type additional text at the cursor position.<br />9. Verify the text is inserted correctly in the middle of the "Button" block.                                     |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Cursor can be positioned in the middle of "Button" text.<br />6. Typing at the cursor position inserts text in the middle.<br />7. Existing text is preserved and shifted to accommodate inserted text.<br />8. "Button" block maintains its styling.<br />9. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow inserting text in middle of "Button" block<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-023                                                                                                                                                                                                                                                             |



| **Test Case ID**          | **TC-EDITOR-BUTTON-024**                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "Button" block can be indented using Tab key.                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                      |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Type text in the "Button" block.<br />6. Verify the "Button" block is created.<br />7. Click on the "Button" block to select it.<br />8. Press Tab key to indent the "Button" block.<br />9. Verify the "Button" block is indented correctly.              |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. "Button" block can be selected.<br />6. Tab key indents the "Button" block.<br />7. "Button" block displays with increased indentation.<br />8. "Button" block maintains its styling.<br />9. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow indenting "Button" block with Tab key<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-024                                                                                                                                                                                                  |



| **Test Case ID**          | **TC-EDITOR-BUTTON-025**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "Button" block can be outdented using Shift+Tab key.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Type text in the "Button" block.<br />6. Verify the "Button" block is created.<br />7. Indent the "Button" block using Tab key.<br />8. Click on the "Button" block to select it.<br />9. Press Shift+Tab key to outdent the "Button" block.<br />10. Verify the "Button" block is outdented correctly.                  |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. "Button" block can be indented using Tab key.<br />6. "Button" block can be selected.<br />7. Shift+Tab key outdents the "Button" block.<br />8. "Button" block displays with decreased indentation.<br />9. "Button" block maintains its styling.<br />10. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow outdenting "Button" block with Shift+Tab key<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-025                                                                                                                                                                                                                                                         |



| **Test Case ID**          | **TC-EDITOR-BUTTON-026**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "Internal Link" is displayed as the default tab for default "Button".                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Verify "Internal Link" tab is displayed as the default tab.                                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "Internal Link" tab is visible and active by default.<br />9. "Internal Link" tab is the selected tab.<br />10. "Button" block maintains its styling.<br />11. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should display "Internal Link" as the default tab for default "Button"<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-026                                                                                                                                                                                                                                                                                                                                   |



| **Test Case ID**          | **TC-EDITOR-BUTTON-027**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "External Link" default tab is displayed correctly for default "Button".                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Click on the "External Link" tab.<br />10. Verify the "External Link" tab is displayed correctly.                                                                                                                                                                        |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "External Link" tab is visible in the settings popover.<br />9. Clicking "External Link" tab switches to the "External Link" tab.<br />10. "External Link" tab displays correctly with all its options.<br />11. "Button" block maintains its styling.<br />12. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should display "External Link" default tab correctly for default "Button"<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-027                                                                                                                                                                                                                                                                                                                                                                                                                                 |



| **Test Case ID**          | **TC-EDITOR-BUTTON-028**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that the text changes from empty "Button" to Button when selecting first document in "Internal Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.<br />3. At least one document exists in the workspace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Clear the text from "Button" block to make it empty.<br />8. Click on the setting button from "Button" block to open the settings popover.<br />9. Verify the "Button" settings popover is displayed.<br />10. Verify "Internal Link" tab is displayed.<br />11. Select a document in the "Recent Docs" section.<br />12. Verify the "Button" text changes from empty to Button.                                                                                                                                                                                          |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Text can be cleared from "Button" block.<br />7. "Button" block is empty after clearing text.<br />8. Clicking on setting button from "Button" block opens the settings popover.<br />9. "Button" settings popover is displayed.<br />10. "Internal Link" tab is displayed.<br />11. Documents are available in the "Recent Docs" section.<br />12. Document can be selected from the "Recent Docs" section.<br />13. "Button" text changes from empty to Button after document selection.<br />14. "Button" block maintains its styling.<br />15. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should change the text from empty "Button" to Button when selecting first document in "Internal Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-028                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |



| **Test Case ID**          | **TC-EDITOR-BUTTON-029**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Test Case Description** | Verify that the text changes from default "Button" to Button when selecting first document in "Internal Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.<br />3. At least one document exists in the workspace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created with default "Button" text.<br />6. Click on the setting button from "Button" block to open the settings popover.<br />7. Verify the "Button" settings popover is displayed.<br />8. Verify "Internal Link" tab is displayed.<br />9. Select a document in the "Recent Docs" section.<br />10. Verify the "Button" text changes from typed text to Button.                                                                                                 |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text showing default "Button" text.<br />4. Clicking on setting button from "Button" block opens the settings popover.<br />5 "Button" settings popover is displayed.<br />6. "Internal Link" tab is displayed.<br />7. Documents are available in the "Recent Docs" section.<br />8. Document can be selected from the "Recent Docs" section.<br />9. "Button" text changes from placeholder text to Button after document selection.<br />10. "Button" block maintains its styling.<br />11. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should change the text from default "Button" to Button when selecting first document in "Internal Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-029                                                                                                                                                                                                                                                                                                                                                                              |



| **Test Case ID**          | **TC-EDITOR-BUTTON-030**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that the text does not change from filled "Button" to Button when selecting first document in "Internal Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.<br />3. At least one document exists in the workspace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type custom text in the "Button" block to fill it.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Verify "Internal Link" tab is displayed.<br />10. Select a document in the "Recent Docs" section.<br />11. Verify the "Button" text does not change and remains as the custom filled text.                                                                                                                                       |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type custom text in "Button" block.<br />5. Custom text replaces the placeholder text.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "Internal Link" tab is displayed.<br />9. Documents are available in the "Recent Docs" section.<br />10. Document can be selected from the "Recent Docs" section.<br />11. "Button" text does not change and remains as the custom filled text after document selection.<br />12. "Button" block maintains its styling.<br />13. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should not change the text from filled "Button" to Button when selecting first document in "Internal Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-030                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |



| **Test Case ID**          | **TC-EDITOR-BUTTON-031**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "Heading" can be selected for "Set anchor" option when having a document selected in "Internal Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.<br />3. At least one document exists in the workspace.<br />4. Selected document has at least one "Heading" block.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Verify "Internal Link" tab is displayed.<br />10. Select a document in the "Recent Docs" section.<br />11. Locate the "Set anchor" dropdown in the "Internal Link" tab.<br />12. Select a "Heading" from the "Set anchor" dropdown.<br />13. Verify the "Heading" is selected in the dropdown for "Set anchor" option.                                                                                                                                                                                                      |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "Internal Link" tab is displayed.<br />9. Documents are available in the "Recent Docs" section.<br />10. Document can be selected from the "Recent Docs" section.<br />11. "Set anchor" dropdown is available in the "Internal Link" tab.<br />12. "Heading" options are available in the "Set anchor" dropdown.<br />13. "Heading" can be selected from the "Set anchor" dropdown.<br />14. Selected "Heading" is displayed in the "Set anchor" dropdown.<br />15. "Button" block maintains its styling.<br />16. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow selecting "Heading" for "Set anchor" option when having a document select in "Internal Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-031                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |



| **Test Case ID**          | **TC-EDITOR-BUTTON-032**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "Heading" can be removed for "Set anchor" option when having a document selected in "Internal Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.<br />3. At least one document exists in the workspace.<br />4. Selected document has at least one "Heading" block.<br />5. A "Heading" is already selected in "Set anchor" option.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Verify "Internal Link" tab is displayed.<br />10. Select a document in the "Recent Docs" section.<br />11. Locate the "Set anchor" dropdown in the "Internal Link" tab.<br />12. Select a "Heading" from the "Set anchor" dropdown.<br />13. Remove the selected "Heading" from the "Set anchor" dropdown.<br />14. Verify the "Heading" is removed from "Set anchor" dropdown.                                                                                                                                                                                                                                             |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "Internal Link" tab is displayed.<br />9. Documents are available in the "Recent Docs" section.<br />10. Document can be selected from the "Recent Docs" section.<br />11. "Set anchor" dropdown is available in the "Internal Link" tab.<br />12. "Heading" can be selected from the "Set anchor" dropdown.<br />13. Selected "Heading" is displayed in the "Set anchor" dropdown.<br />14. Selected "Heading" can be removed from the "Set anchor" dropdown using the remove button.<br />15. "Set anchor" dropdown is cleared after removing "Heading".<br />16. "Button" block maintains its styling.<br />17. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow removing "Heading" for "Set anchor" option when having a document select in "Internal Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-032                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |



| **Test Case ID**          | **TC-EDITOR-BUTTON-033**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Test Case Description** | Verify that "Open in new tab" switch can be turned off or on from "Internal Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.<br />3. At least one document exists in the workspace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Verify "Internal Link" tab is displayed.<br />10. Select a document in the "Recent Docs" section.<br />11. Locate the "Open in new tab" switch in the "Internal Link" tab.<br />12. Toggle the "Open in new tab" switch to on.<br />13. Verify the "Open in new tab" switch is turned on.<br />14. Toggle the "Open in new tab" switch to off.<br />15. Verify the "Open in new tab" switch is turned off.                                                                                                                                                          |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "Internal Link" tab is displayed.<br /><br />9. Documents are available in the "Recent Docs" section.<br />10. Document can be selected from the "Recent Docs" section.<br />11. "Open in new tab" switch is available in the "Internal Link" tab.<br />12. "Open in new tab" switch can be toggled to on.<br />13. "Open in new tab" switch displays as on when toggled.<br />14. "Open in new tab" switch can be toggled to off.<br />15. "Open in new tab" switch displays as off when toggled.<br />16. "Button" block maintains its styling.<br />17. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow "Open in new tab" switch turn to off or on from "Internal Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-033                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |



| **Test Case ID**          | **TC-EDITOR-BUTTON-034**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Test Case Description** | Verify that "Show as snippet" switch can be turned on or off from "Internal Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.<br />3. At least one document exists in the workspace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Verify "Internal Link" tab is displayed.<br />10. Select a document in the "Recent Docs" section.<br />11. Locate the "Show as snippet" switch in the "Internal Link" tab.<br />12. Toggle the "Show as snippet" switch to on.<br />13. Verify the "Show as snippet" switch is turned on.<br />14. Toggle the "Show as snippet" switch to off.<br />15. Verify the "Show as snippet" switch is turned off.                                                                                                                                                    |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "Internal Link" tab is displayed.<br />9. Documents are available in the "Recent Docs" section.<br />10. Document can be selected from the "Recent Docs" section.<br />11. "Show as snippet" switch is available in the "Internal Link" tab.<br />12. "Show as snippet" switch can be toggled to on.<br />13. "Show as snippet" switch displays as on when toggled.<br />14. "Show as snippet" switch can be toggled to off.<br />15. "Show as snippet" switch displays as off when toggled.<br />16. "Button" block maintains its styling.<br />17. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow "Show as snippet" switch turn to on or off from "Internal Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-034                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |



| **Test Case ID**          | **TC-EDITOR-BUTTON-035**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that the selected document can be removed from "Internal Link" tab "Button".                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.<br />3. At least one document exists in the workspace.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Verify "Internal Link" tab is displayed.<br />10. Select a document in the "Recent Docs" section.<br />11. Verify the document is selected.<br />12. Remove the selected document from the "Internal Link" tab.<br />13. Verify the selected document is removed.                                                                                                                                                                                                              |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "Internal Link" tab is displayed.<br />9. Documents are available in the "Recent Docs" section.<br />10. Document can be selected from the "Recent Docs" section.<br />11. Selected document is displayed in the "Internal Link" tab.<br />12. Selected document can be removed from the "Internal Link" tab "Recent Docs" section using remove button.<br />13. Document selection is cleared after removal.<br />14. "Button" block maintains its styling.<br />15. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow removing the selected document from "Internal Link" tab Button<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-035                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |



| **Test Case ID**          | **TC-EDITOR-BUTTON-036**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "No docs found." message is displayed when searching invalid document in input from "Internal Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Verify "Internal Link" tab is displayed.<br />10. Locate the search docs input field in the "Internal Link" tab.<br />11. Type an invalid document name in the search docs input field.<br />12. Verify the "No docs found." message is displayed.                                                                                                                                                   |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "Internal Link" tab is displayed.<br />9. Search docs input field is available in the "Internal Link" tab.<br />10. User can type in the search docs input field.<br />11. Invalid document name can be entered in the search docs input field.<br />12. "No docs found." message is displayed when searching for invalid document.<br />13. "Button" block maintains its styling.<br />14. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should display "No docs found." when searching invalid document in input from "Internal Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-036                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |



| **Test Case ID**          | **TC-EDITOR-BUTTON-037**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that correct https, http and mailto URLs can be added to data in url input from "External Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Click on the "External Link" tab.<br />10. Locate the url input field in the "External Link" tab.<br />11. Type a correct https URL in the url input field.<br />12. Verify the https URL is accepted.<br />13. Clear the url input field.<br />14. Type a correct http URL in the url input field.<br />15. Verify the http URL is accepted.<br />16. Clear the url input field.<br />17. Type a correct mail address in the url input field.<br />18. Verify the mailto URL is accepted. |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "External Link" tab is displayed.<br />9. Url input field is available in the "External Link" tab.<br />10. User can type in the url input field.<br />11. Correct https URL is accepted in the url input field.<br />12. Correct http URL is accepted in the url input field.<br />13. Correct mail address is accepted in the url input field.<br />14. All valid URL formats are accepted without error.<br />15. "Button" block maintains its styling.<br />16. Document remains in edit mode.               |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow adding correct https, http and mailto to data in url input from "External Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-037                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |



| **Test Case ID**          | **TC-EDITOR-BUTTON-038**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "URL is not valid" message is displayed when inserting invalid data in https, http and mailto url input from "External Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Click on the "External Link" tab.<br />10. Locate the url input field in the "External Link" tab.<br />11. Type an invalid https URL in the url input field.<br />12. Verify the "URL is not valid" message is displayed.<br />13. Clear the url input field.<br />14. Type an invalid http URL in the url input field.<br />15. Verify the "URL is not valid" message is displayed.<br />16. Clear the url input field.<br />17. Type an invalid mailto mail address in the url input field.<br />18. Verify the "URL is not valid" message is displayed. |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "External Link" tab is displayed.<br />9. Url input field is available in the "External Link" tab.<br />10. User can type in the url input field.<br />11. Invalid https URL triggers "URL is not valid" message.<br />12. Invalid http URL triggers "URL is not valid" message.<br />13. Invalid mailto mail address triggers "URL is not valid" message.<br />14. "URL is not valid" message is displayed for all invalid URL formats.<br />15. "Button" block maintains its styling.<br />16. Document remains in edit mode.                                                  |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should display "URL is not valid" when inserting invalid data in https, http and mailto url input from "External Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-038                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |



| **Test Case ID**          | **TC-EDITOR-BUTTON-039**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that apply, copy, open in new tab options can be used in url input from "External Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Click on the "External Link" tab.<br />10. Locate the url input field in the "External Link" tab.<br />11. Type a valid URL in the url input field.<br />12. Locate the apply option in the url input section.<br />13. Click on the apply option.<br />14. Verify the apply option works correctly.<br />15. Locate the copy option in the url input section.<br />16. Click on the copy option.<br />17. Verify the copy option works correctly.<br />18. Locate the open in new tab option in the url input section.<br />19. Click on the open in new tab option.<br />20. Verify the open in new tab option works correctly.                              |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "External Link" tab is displayed.<br />9. Url input field is available in the "External Link" tab.<br />10. User can type valid URL in the url input field.<br />11. Apply option is available in the url input section.<br />12. Apply option can be clicked and works correctly.<br />13. Copy option is available in the url input section.<br />14. Copy option can be clicked and works correctly.<br />15. Open in new tab option is available in the url input section.<br />16. Open in new tab option can be clicked and works correctly.<br />17. All options function as expected.<br />18. "Button" block maintains its styling.<br />19. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow using apply, copy, open in new tab in url input from "External Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-039                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |



| **Test Case ID**          | **TC-EDITOR-BUTTON-040**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "Open in new tab" switch can be turned off or on from "External Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Click on the "External Link" tab.<br />10. Locate the "Open in new tab" switch in the "External Link" tab.<br />11. Toggle the "Open in new tab" switch to on.<br />12. Verify the "Open in new tab" switch is turned on.<br />13. Toggle the "Open in new tab" switch to off.<br />14. Verify the "Open in new tab" switch is turned off.                                                                                   |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "External Link" tab is displayed.<br />9. "Open in new tab" switch is available in the "External Link" tab.<br />10. "Open in new tab" switch can be toggled to on.<br />11. "Open in new tab" switch displays as on when toggled.<br />12. "Open in new tab" switch can be toggled to off.<br />13. "Open in new tab" switch displays as off when toggled.<br />14. "Button" block maintains its styling.<br />15. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Automation Test Case**  | **Cypress Test File:** [cypress/e2e/EDITOR/EDITOR\_Button.cy.ts](https://github.com/Archbee/archbee-e2e/blob/main/cypress/e2e/EDITOR/EDITOR_Button.cy.ts)<br />**Test Name:** Should allow "Open in new tab" switch turn to off or on from "External Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-040                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |



| **Test Case ID**          | **TC-EDITOR-BUTTON-041**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test Case Description** | Verify that "Add nofollow tag" switch can be turned on or off from "External Link" tab.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Preconditions**         | 1. User has a document created and opened.<br />2. User is in edit mode of the document.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Test Steps**            | 1. Navigate to the document.<br />2. Wait for the document to fully load.<br />3. Click on an empty block.<br />4. Create a new "Button" block using "Add Blocks" menu or "(button) + space key" shortcut.<br />5. Verify the "Button" block is created.<br />6. Type text in the "Button" block.<br />7. Click on the setting button from "Button" block to open the settings popover.<br />8. Verify the "Button" settings popover is displayed.<br />9. Click on the "External Link" tab.<br />10. Locate the "Add nofollow tag" switch in the "External Link" tab.<br />11. Toggle the "Add nofollow tag" switch to on.<br />12. Verify the "Add nofollow tag" switch is turned on.<br />13. Toggle the "Add nofollow tag" switch to off.<br />14. Verify the "Add nofollow tag" switch is turned off.                                                                                   |
| **Expected Results**      | 1. Document loads successfully and is ready for input.<br />2. "Add Blocks" menu or "(button) + space key" creates a "Button" block.<br />3. Empty "Button" appears with placeholder text.<br />4. User can type text in "Button" block.<br />5. Text is displayed in the "Button" block.<br />6. Clicking on setting button from "Button" block opens the settings popover.<br />7. "Button" settings popover is displayed.<br />8. "External Link" tab is displayed.<br />9. "Add nofollow tag" switch is available in the "External Link" tab.<br />10. "Add nofollow tag" switch can be toggled to on.<br />11. "Add nofollow tag" switch displays as on when toggled.<br />12. "Add nofollow tag" switch can be toggled to off.<br />13. "Add nofollow tag" switch displays as off when toggled.<br />14. "Button" block maintains its styling.<br />15. Document remains in edit mode. |
| **Comments**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **Automation Test Case**  | **Cypress Test File:** cypress/e2e/EDITOR/EDITOR\_Button.cy.ts<br />**Test Name:** Should allow "Add nofollow tag" switch turn to on or off from "External Link" tab<br />**Test ID:** AUTO-TC-EDITOR-BUTTON-041                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |







