# Prefab Workflow Tests Testing in this area revolves around CRUD operations on prefabs, as well as spawning prefabs at runtime. ## Project Requirements Any ## Common Issues to Watch For Test guidance will sometimes note specific issues to watch for. The common issues below should be watched for through all testing, even if unrelated to the current workflow being tested. 1. Console log errors/warnings/spam 2. Asserts ## Feature: Levels as Prefabs ### Workflow 1: Basic Level/Entity CRUD [https://www.o3de.org/docs/learning-guide/tutorials/entities-and-prefabs/entity-and-prefab-basics/](https://www.o3de.org/docs/learning-guide/tutorials/entities-and-prefabs/entity-and-prefab-basics/) **Product:** myLevel.prefab, mylevel.spawnable, Levels running in Editor and game launcher **Suggested Time Box:** 30 mins | Workflow | Requests | Things to Watch For | |-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Create a new/open an existing level | | * Errors reported upon opening a new level or an existing level
* Default environment is loaded (if there is one)
* Load times | | Create new entities | * Create entities and child entities in the Entity Outliner and some in the Viewport
* Drag prefab from Asset Browser
* Instantiate prefab from context menu
* Duplicating entities to create new copies
* Undo/Redo any of the above | * Entity Id
* Entity name
* Parent entity linked to (parent entity should be linked to the level prefab and child entities should be linked to its parent entities)
* Creating many entities (30+ entities) | | Edit Entities | * Add/remove components to an entity
* Change values of a property on a component
* Reparenting entities
* Copy & paste components from one entity to another
* Undo/Redo any of the above | * Adding multiple components to a single entity
* Components appearing in the viewport and how it changes after editing | | Remove Entities | * Remove parent entities, child entities, entities with components
* Undo/Redo any of the above | | | Save Level | * File > Save
* File > Save as
* Save level within another folder
* Overwrite an existing level
* Shortcut keys (Ctrl + S or Ctrl + Shift + S)
* Edit > Editor settings > Global Preferences > Prefabs to change the Save Prefabs Preferences
| * Level is saved in the correct location (o3de\Game Project\levels\\Level Name.prefab)
* Spawnable file is saved in correct location (o3de\Game Project\Cache\pc\levels\Level Name\Level Name.spawnable)
* Asset Processor errors with level processing
* After using "Save As" make some changes to the level such a deleting a few entities > Editor should remain stable

**Global Preferences/Save Prefabs = Ask every time****Global Preferences/Save Prefabs = Save all****Global Preferences/Save Prefabs = Save none** | | Load/Switch Levels | **Editor** **Game Launcher**