Kaynağa Gözat

Adding Asset Browser and DPE CVar Editor workflow tests

Signed-off-by: jckand-amzn <[email protected]>
jckand-amzn 2 yıl önce
ebeveyn
işleme
71bb0b4194

+ 32 - 0
testing-guidance/workflow-tests/editor/editor-workflow-tests.md

@@ -128,3 +128,35 @@ A project with the White Box and the Script Canvas gems activated.
 | Script Canvas	gem														 | <ol><li>Verify that the Script Canvas tool is listed in the Tools menu.</li><li>Create an entity and add the Script Canvas component to it.</li><li>Save the project and turn it off.</li><li>In the Project Manager select the project's hamburger menu and select configure gems.</li><li>Search for the Script Canvas gem, deactivate it and save. (Confirm the popup informing of no longer needed dependencies)</li><li>Rebuild the project and open it.</li><li>Verify that the Script Canvas in not listed in the Tools menu.</li></ol>| <ul><li>Correct and informative error messages.</li><li>Prompt about no longer needed dependent gems.</li><li>Component correctly deactivated and not selectable.</li><li>Script Canvas removed from the Tools menu.</li></ul>|
 | Script Canvas	gem														 | <ol><li>Verify that the Script Canvas tool is listed in the Tools menu.</li><li>Create an entity and add the Script Canvas component to it.</li><li>Save the project and turn it off.</li><li>In the Project Manager select the project's hamburger menu and select configure gems.</li><li>Search for the Script Canvas gem, deactivate it and save. (Confirm the popup informing of no longer needed dependencies)</li><li>Rebuild the project and open it.</li><li>Verify that the Script Canvas in not listed in the Tools menu.</li></ol>| <ul><li>Correct and informative error messages.</li><li>Prompt about no longer needed dependent gems.</li><li>Component correctly deactivated and not selectable.</li><li>Script Canvas removed from the Tools menu.</li></ul>|
 ---
 ---
 
 
+## Workflow 6: Asset Browser
+
+**Product:** No tangible product, this workflow covers UX for the Asset Browser, allowing managing and adding assets
+
+**Suggested Time Box:** 5-10 mins
+
+| Workflow                    | Requests                                                                                                                                                                                                                                                                                                | Things to Watch For                                                                                                                                                                                                                                                                                                                                                       |
+|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Drag and drop files         | <ol><li>Drag and drop asset/prefabs into the Viewport</li><li>Test with List/Thumbnail/Table views</li></ol>                                                                                                                                                                                            | <ul><li>Dragging an asset/prefab from the Asset Browser into the Viewport should utilize mouse cursor placement when dropped.</li></ul>                                                                                                                                                                                                                                   |
+| Move files and folders      | <ol><li>Use Right-click context menu > Move to</li><li>Use drag/drop operations</li><li>Test with List/Thumbnail/Table views</li></ol>                                                                                                                                                                  | <ul><li>Verify 'Pick folder to move to' modal appears</li></ul>                                                                                                                                                                                                                                                                                                           |
+| Duplicate files and folders | <ol><li>Single files selected</li><li>Multiple selected files (at once)</li><li>Various file types</li><li>Utilize hotkeys as well to perform actions where possible</li><li>Test with List/Thumbnail/Table views</li></ol>                                                                             | <ul><li>Selecting single or multiple files should be reflected in the context menu</li></ul>                                                                                                                                                                                                                                                                              |
+| Edit files                  | <ol><li>Double click selected files</li><li>Right-click context menu > Open with associated application...</li><li>Open various file types in various programs</li><li>Utilize hotkeys as well to perform actions where possible</li><li>Test with List/Thumbnail/Table views</li></ol>                 | <ul><li>Double clicking some file types will open in Editor by default, while others will, initially, open a programs list modal to edit the file in.</li><li>Selecting a program from the modal will consistently associate that file type to that program.</li><li>Right-Click context menu can be used to change the program associated with that file type.</li></ul> |
+| Rename files and folders    | <ol><li>Right-click context menu > Rename</li><li>Utilize hotkeys as well to perform actions where possible</li><li>Test with List/Thumbnail/Table views</li></ol>                                                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                           |
+| Folder management           | <ol><li>Add folders: <ul><li>Right-click context menu > Create > Folder</li><li>Add via the + button</li></ul><li>Remove folders:</li><ul><li>Via right-click context menu<li>Via hotkey</li></ul><li>Test with List/Thumbnail/Table views</li></ol>                                                    |                                                                                                                                                                                                                                                                                                                                                                           |
+| Delete files                | <ol><li>Delete a single file</li><li>Delete multiple files at once</li><li>Delete various file types</li><li>Utilize hotkeys as well as right-click context menu</li><li>Test with List/Thumbnail/Table views</li></ol>                                                                                 | <ul><li>Selecting single or multiple files should be reflected in the context menu</li></ul>                                                                                                                                                                                                                                                                              |
+| Add new assets              | <ol><li>Right-click context menu > Create > \[Asset Type\]:<ul><li>ScriptCanvas Graph</li><li>Material</li><li>Material Graph</li><li>AnimGraph</li><li>MotionSet</li><li>Lua Script</li><li>Lua Component Script</li></ul><li>Test with List/Thumbnail/Table views</li><li>Test via + button</li></ol> | <ul><li>New asset should appear in the currently selected directory</li><li>New asset should be selected/prompt for a rename</li><li>Material/Material graph prompt using unique dialog to select type/path:</li><ul><li>Path should be filled in with current directory</li><li>Renaming completed via Windows Explorer dialog</li></ul>                                 |
+| Asset Browser Inspector     | <ol><li>Open tool via Tools menu</li><li>Dock/Undock/Resize tool pane</li><li>Validate asset details appear when in List/Thumbnail/Table views</li></ol>                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                           |
+| Directory breadcrumbs       | <ol><li>Navigate to lower level directories via the breadcrumb links</li><li>Copy/paste directory address into breadcrumb box</li><li>Type directory address into breadcrumb box</li></ol>                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                           |
+| Back/Forward Navigation     | <ol><li>Navigate to various directories via the Back/Forward navigation buttons</li></ol>                                                                                                                                                                                                               | <ul><li>Behaves like a web browser, not for navigating up/down breadcrumb addresses</li></ul>                                                                                                                                                                                                                                                                             |
+| Search/Filtering            | <ol><li>Filter to specific asset types in List/Thumbnail/Table views</li><li>Utilize text search in List/Thumbnail/Table views</li><li>Toggle Hide Engine Folders/Hide Unusable Product Assets</li></ol>                                                                                                |                                                                                                                                                                                                                                                                                                                                                                           |
+
+## Workflow 7: DPE CVar Editor
+
+**Product:** No tangible product, this workflow covers customizing console variables for use in the Editor
+
+**Suggested Time Box:** 10-15 mins
+
+| Workflow                   | Requests                                                                                                                                                                                                                                                                                                                                                                                              | Things to Watch For                                                                                                                                                                                                                                                                                      |
+|----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Open/Close the CVar Editor | <ol><li>Open via Tools > Other menu</li><li>Open via lower-left Console ( x ) button</li><li>Close via window ( x ) button</li><li>Close via title bar tab ( x ) button</li><li>Close via loading a saved layout without the CVar Editor active</li></ol>                                                                                                                                             | <ul><li>DPE Asserts</li><li>Console warning spam</li><li>Excessive load times</li></ul>                                                                                                                                                                                                                  |
+| Search                     | <ol><li>Enter text to filter results</li><li>Clear search:</li><ul><li>Delete/Backspace</li><li>Clicking the X in the search bar</li><li>Closing/reopening the CVar Editor</li></ul><li>Search for values (e.g. True/False, specific ints/floats, etc.)</li></ol>                                                                                                                                     | <ul><li>Hitches during search filtering</li><li>Incorrect results</li><li>Searches should filter to valid results with matches in CVar names, tooltips, or values (ex. Searching for "true" will bring up all variables currently flagged to true, or with "true" in the tooltip or CVar name)</li></ul> |
+| Set CVars                  | <ol><li>Set a value for each type of CVar:</li><ul><li>boolean</li><li>string</li><li>int</li><li>float</li><li>vec2</li><li>color</ul><li>Set values both via the CVar Editor itself, and via the console</li><li>Search a CVar name in the Console to see the currently set value</li><li>Increment/decrement values via the <> buttons</li><li>Relaunch the Editor after changing values</li></ol> | <ul><li>Incorrect values set</li><li>Mismatches in reported values between the Console and the CVar Editor</li><li>Warnings/Asserts</li><li>Hitches during value setting</li><li>Values are not saved between Editor launches unless set elsewhere (e.g. game.cfg)</li></ul>                             |