|
@@ -44,14 +44,13 @@ Any project can be used, the Script Canvas gem and its gem dependencies are requ
|
|
| Workflow | Requests | Things to Watch For |
|
|
| Workflow | Requests | Things to Watch For |
|
|
|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| Script Canvas editor can be launched and configured | <ol><li>Open Script Canvas editor by multiple ways including:</li><ul><li>Tools menu</li><li>Script Canvas button in components</li><li>Keyboard shortcut ( a shortcut can be assigned via Edit > Editor Settings > Keyboard Customization > Customize Keyboard)</li></ul></ul></li><li>Perform resize, maximize, minimize undock, dock actions with Script Canvas editor and its panes and drag them around the Editor.</li><li>Close and reopen the Script Canvas editor.</li></ol> | <ul><li>Script Canvas editor not launching quickly or not launching at all.</li><li>Script Canvas Editor not retaining configuration settings on close/relaunch.</li><li>Script Canvas panes not rendering, having rendering issues after being altered.</li><li>Not being able to resize, dock or drag panes borders.</li> |
|
|
| Script Canvas editor can be launched and configured | <ol><li>Open Script Canvas editor by multiple ways including:</li><ul><li>Tools menu</li><li>Script Canvas button in components</li><li>Keyboard shortcut ( a shortcut can be assigned via Edit > Editor Settings > Keyboard Customization > Customize Keyboard)</li></ul></ul></li><li>Perform resize, maximize, minimize undock, dock actions with Script Canvas editor and its panes and drag them around the Editor.</li><li>Close and reopen the Script Canvas editor.</li></ol> | <ul><li>Script Canvas editor not launching quickly or not launching at all.</li><li>Script Canvas Editor not retaining configuration settings on close/relaunch.</li><li>Script Canvas panes not rendering, having rendering issues after being altered.</li><li>Not being able to resize, dock or drag panes borders.</li> |
|
|
-| Script Canvas window pane renders a script canvas graph | <ol><li>Create a new script in Script Canvas editor by multiple ways including:</li><ul><li>Tools menu File > New Script</li><li>Using Ctrl+N shortcut</li><li>By dragging a node from the Node Pallete into an empty graph window</li></ul></ul></li><li>Close the created script and save it when prompted.</li><li>Open the created script.</li><li>Create multiple new scripts in Script Canvas editor.<ol> | <ul><li>Modifying an existing file places an asterisk in the graph's tab.</li><li>An asterisk appears on the tab only if a change is made to the file.</li><li>User is always prompted to save a modified file when closing the tab.</li><li>Creating or opening multiple files generates multiple tabs in the main window.</li><li>Creating and having several graphs opened should not impact Script Canvas editor's performance.</li><li>A drop down menu for file selection appears when enough script canvas files are opened.</li></ul> |
|
|
|
|
-| Script Canvas editor tools can be opened and configured | <ol><li>Open each of the Script Canvas editor tools.</li><li>Click and try to drag every UI item of the opened tool.</li></ol> | <ul><li>Script Canvas tools render properly.</li><li>Tools do not become unresponsive after configuring them.</li><li>UI elements in each of the tools respond when clicked or dragged</li> |
|
|
|
|
-| Using basic Script Canvas graph controls | <ol><li>Create a new script canvas graph file, add a few nodes and perform every action from:</li><ul><li>View menu</li><li>Edit Menu</li><li>File menu</li></ul></ul></li><li>Perform every control action located in Script Canvas graph window top left corner.</li></ol> | <ul><li>Every control action and action from Script Canvas menu bar perform corresponding actions.</li><li>Every control action and action from Script Canvas menu can be performed with associated keyboard shortcut.</li><li>Controls not responding or responding too slowly when used.</li><li>Controls gray out under appropriate circumstances.</li><li>Grayed out controls can not be interacted with</li><li>A helpful tooltip is generated and rendered properly for each control.</li><li>Tooltips do not go away prematurely.</li><li>Script Canvas graph renders properly after Pan/Zoom actions.</li></ul>
|
|
|
|
|
|
+| Script Canvas window pane renders a script canvas graph | <ol><li>Create a new script in Script Canvas editor by multiple ways including:</li><ul><li>Tools menu File > New Script</li><li>Using Ctrl+N shortcut</li><li>By dragging a node from the Node Pallete into an empty graph window</li></ul></ul></li><li>Close the created script and save it when prompted.</li><li>Open the created script.</li><li>Create multiple new scripts in Script Canvas editor.<ol> | <ul><li>Modifying an existing file places am asterisk in the graph's tab.</li><li>An asterisk appears on the tab only if a change is made to the file.</li><li>User is always prompted to save a modified file when closing the tab.</li><li>Creating or opening multiple files generates multiple tabs in the main window.</li><li>Creating and having several graphs opened should not impact Script Canvas editor's performance.</li><li>A drop down menu for file selection appears when enough script canvas files are opened.</li></ul> |
|
|
|
|
+| Script Canvas editor tools can be opened and configured | <ol><li>Open each of the Script Canvas editor tools.</li><li>Click and try to drag every UI item of the opened tool.</li></ol> | <ul><li>Script Canvas tools render properly.</li><li>Tools do not become unresponsive after configuring them.</li><li>UI elements in each of the tools respond when clicked or dragged.</li> |
|
|
|
|
+| Using basic Script Canvas graph controls | <ol><li>Create a new script canvas graph file, add a few nodes and perform every action from:</li><ul><li>View menu</li><li>Edit Menu</li><li>File menu</li></ul></ul></li><li>Perform every control action located in Script Canvas graph window top left corner.</li></ol> | <ul><li>Every control action and action from Script Canvas menu bar perform corresponding actions.</li><li>Every control action and action from Script Canvas menu can be performed with associated keyboard shortcut.</li><li>Controls not responding or responding too slowly when used.</li><li>Controls gray out under appropriate circumstances.</li><li>Grayed out controls can not be interacted with.</li><li>A helpful tooltip is generated and rendered properly for each control.</li><li>Tooltips do not go away prematurely.</li><li>Script Canvas graph renders properly after Pan/Zoom actions.</li></ul>
|
|
| Opening a Script Canvas graph from older version of the engine | <ol><li>Obtain a script canvas graph file from an earlier version of O3DE , put it into used project directory and open it with Script Canvas editor.</li><li>Following graph file [OldGraphTest.scriptcanvas](https://github.com/o3de/sig-content/raw/main/testing-guidance/workflow-tests/scripting/scripts/OldGraphTest.scriptcanvas) derived from older o3de development build can be used for this test.</li></ol> | <ul><li>Graph from the older version of the engine is processed by Asset Processor without errors and can be opened with Script Canvas editor.</li><li>If [OldGraphTest.scriptcanvas](https://github.com/o3de/sig-content/raw/main/testing-guidance/workflow-tests/scripting/scripts/OldGraphTest.scriptcanvas) was used and assigned to entity upon entering the game mode/simulation mode a message reading _Old Graph test successful_ should appear in the console.</li> |
|
|
| Opening a Script Canvas graph from older version of the engine | <ol><li>Obtain a script canvas graph file from an earlier version of O3DE , put it into used project directory and open it with Script Canvas editor.</li><li>Following graph file [OldGraphTest.scriptcanvas](https://github.com/o3de/sig-content/raw/main/testing-guidance/workflow-tests/scripting/scripts/OldGraphTest.scriptcanvas) derived from older o3de development build can be used for this test.</li></ol> | <ul><li>Graph from the older version of the engine is processed by Asset Processor without errors and can be opened with Script Canvas editor.</li><li>If [OldGraphTest.scriptcanvas](https://github.com/o3de/sig-content/raw/main/testing-guidance/workflow-tests/scripting/scripts/OldGraphTest.scriptcanvas) was used and assigned to entity upon entering the game mode/simulation mode a message reading _Old Graph test successful_ should appear in the console.</li> |
|
|
| Opening a Script Canvas graph with deprecated nodes | <ol><li>Obtain a script canvas graph file with deprecated nodes, put it into used project directory and open it with Script Canvas editor.</li><li>Following graph file [ontick.scriptcanvas](https://github.com/o3de/sig-content/raw/main/testing-guidance/workflow-tests/scripting/scripts/ontick.scriptcanvas) derived from older o3de development build can be used for this test.</li></ol> | <ul><li>Graph with deprecated nodes is processed by the Asset Processor with errors reminding the user of the deprecated classes but the graph can still be opened with Script Canvas editor.</li><li>When the graph with deprecated nodes is opened in Script Canvas editor it runs validation check on itself and informs the user that listed nodes were updated in order for the graph to work.</li><li>When the graph is saved with proposed updates it is no longer displayed as processed with errors in the Asset Processor.</li><li>If [ontick.scriptcanvas](https://github.com/o3de/sig-content/raw/main/testing-guidance/workflow-tests/scripting/scripts/ontick.scriptcanvas) was used, updated and assigned to entity upon entering the game mode/simulation mode a message reading _OnTick Event:The Sphere position did not change from previous position_ should appear in the console.</li> |
|
|
| Opening a Script Canvas graph with deprecated nodes | <ol><li>Obtain a script canvas graph file with deprecated nodes, put it into used project directory and open it with Script Canvas editor.</li><li>Following graph file [ontick.scriptcanvas](https://github.com/o3de/sig-content/raw/main/testing-guidance/workflow-tests/scripting/scripts/ontick.scriptcanvas) derived from older o3de development build can be used for this test.</li></ol> | <ul><li>Graph with deprecated nodes is processed by the Asset Processor with errors reminding the user of the deprecated classes but the graph can still be opened with Script Canvas editor.</li><li>When the graph with deprecated nodes is opened in Script Canvas editor it runs validation check on itself and informs the user that listed nodes were updated in order for the graph to work.</li><li>When the graph is saved with proposed updates it is no longer displayed as processed with errors in the Asset Processor.</li><li>If [ontick.scriptcanvas](https://github.com/o3de/sig-content/raw/main/testing-guidance/workflow-tests/scripting/scripts/ontick.scriptcanvas) was used, updated and assigned to entity upon entering the game mode/simulation mode a message reading _OnTick Event:The Sphere position did not change from previous position_ should appear in the console.</li> |
|
|
---
|
|
---
|
|
|
|
|
|
-
|
|
|
|
### Area: Default Script Canvas Editor tools
|
|
### Area: Default Script Canvas Editor tools
|
|
|
|
|
|
**Project Requirements**
|
|
**Project Requirements**
|
|
@@ -71,30 +70,27 @@ Any project can be used, the Script Canvas gem and its gem dependencies are requ
|
|
Responsive Script Canvas editor with all its tools enabled. No Asset Processor warnings about invalid data or files, no warnings or errors in the Console Log.
|
|
Responsive Script Canvas editor with all its tools enabled. No Asset Processor warnings about invalid data or files, no warnings or errors in the Console Log.
|
|
|
|
|
|
**Suggested Time Box:**
|
|
**Suggested Time Box:**
|
|
-
|
|
|
|
60 minutes
|
|
60 minutes
|
|
|
|
|
|
-
|
|
|
|
| Workflow | Requests | Things to Watch For |
|
|
| Workflow | Requests | Things to Watch For |
|
|
|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
-| Use and observe minimap behavior | <ol><li>Open or create a graph with multiple nodes</li><li>Drag the minimap view around.</li><li>Switch between multiple graphs</li></ol> | <ul><li>If the minimap does not render or update properly.</li><li>If dragging the minimap view does not cause the effect in main editor window and vice-versa.</li> |
|
|
|
|
-| Create a variable node with Variable Manager | <ol><li>Use Variable Manager to create a variable of any type.</li><li>Modify the properties of the variable.</li><li>Drop the variable off the Variable Manager list onto a graph.</li><li>Drag the variable off the Variable Manager list onto a node's input/ouput field (same type).</li><li>Convert a node's input/ouput field to a reference and drag/select variables from the Variable Manager onto it.<ol> | <ul><li>If variable properties do not update when modified.</li><li>Variable manager list refreshes and updates properly when variables are created, deleted or modified.</li><li>Node Inspector updates when variables are selected in the Variable Manager.</li></ul> |
|
|
|
|
|
|
+| Use and observe minimap behavior | <ol><li>Open or create a graph with multiple nodes</li><li>Drag the minimap view around.</li><li>Switch between multiple graphs.</li></ol> | <ul><li>If the minimap does not render or update properly.</li><li>If dragging the minimap view does not cause the effect in main editor window and vice-versa.</li> |
|
|
|
|
+| Create a variable node with Variable Manager | <ol><li>Use Variable Manager to create a variable of any type.</li><li>Modify the properties of the variable.</li><li>Drop the variable off the Variable Manager list onto a graph.</li><li>Drag the variable off the Variable Manager list onto a node's input/ouput field (same type).</li><li>Convert a node's input/ouput field to a reference and drag/select variables from the Variable Manager onto it.<ol> | <ul><li>If variable properties do not update when modified.</li><li>Variable Manager list refreshes and updates properly when variables are created, deleted or modified.</li><li>Node Inspector updates when variables are selected in the Variable Manager.</li></ul> |
|
|
| View and Modify a node with Node Inspector | <ol><li>Click a node on the graph.</li><li>Modify node values through Node Inspector.</li><li>Add and select different nodes and variables.</li><li>Select multiple nodes at once.</li></ol> | <ul><li>Fields and values of nodes are displayed and properly labeled in Node Inspector.</li><li>Changes made through Node Inspector are reflected on the node and vice-versa.</li><li>Selecting multiple nodes at once is reflected in Node Inspector.</li> |
|
|
| View and Modify a node with Node Inspector | <ol><li>Click a node on the graph.</li><li>Modify node values through Node Inspector.</li><li>Add and select different nodes and variables.</li><li>Select multiple nodes at once.</li></ol> | <ul><li>Fields and values of nodes are displayed and properly labeled in Node Inspector.</li><li>Changes made through Node Inspector are reflected on the node and vice-versa.</li><li>Selecting multiple nodes at once is reflected in Node Inspector.</li> |
|
|
| Create a graph validation error and warning | <ol><li>Drag several nodes onto a fresh SC graph and do not connect them.</li><li>Run validation check on the graph.</li><li>Connect nodes and run validation.</li><li>Run the graph validation using dedicated button in Graph Validation pane (checkmark in circle).</li></ol> | <ul><li>If Highlighting & Dimming of failing nodes is not updated.</li><li>If warnings and errors are not removed when issue is resolved.</li><li>If conditions that produce an invalid graph do not trigger a warning or error.</li></ul>
|
|
| Create a graph validation error and warning | <ol><li>Drag several nodes onto a fresh SC graph and do not connect them.</li><li>Run validation check on the graph.</li><li>Connect nodes and run validation.</li><li>Run the graph validation using dedicated button in Graph Validation pane (checkmark in circle).</li></ol> | <ul><li>If Highlighting & Dimming of failing nodes is not updated.</li><li>If warnings and errors are not removed when issue is resolved.</li><li>If conditions that produce an invalid graph do not trigger a warning or error.</li></ul>
|
|
| Use the Node Palette to find node types | <ol><li>Search the Node Palette for a specific node type.</li><li>Use the scrolling view controls to browse nodes.</li><li>Drag a node off the palette onto a new SC graph.</li><li>Use right click context menu on a SC graph to search & browse for nodes.</li><li>Mouse over a node in the palette to display a tooltip.</li></ol> | <ul><li>Node palette renders properly when entering/deleting text in search field.</li><li> Node categories can be expanded and collapsed.</li> |
|
|
| Use the Node Palette to find node types | <ol><li>Search the Node Palette for a specific node type.</li><li>Use the scrolling view controls to browse nodes.</li><li>Drag a node off the palette onto a new SC graph.</li><li>Use right click context menu on a SC graph to search & browse for nodes.</li><li>Mouse over a node in the palette to display a tooltip.</li></ol> | <ul><li>Node palette renders properly when entering/deleting text in search field.</li><li> Node categories can be expanded and collapsed.</li> |
|
|
-| Modify Global Preferences | <ol><li>Open Global Preferences and adjust the time required for certain actions to take place. (for instance Node Coupling, Drag Node Splicing)</li><li>Modify Styling Settings of connections.</li><li>Modify Edge Panning Settings.</li></ol> | <ul><li>If nodes are not visually distorted.</li><li> If modification of time requirement for certain actions to take place is not applied.</li> |
|
|
|
|
|
|
+| Modify Global Preferences | <ol><li>Open Global Preferences and adjust the time required for certain actions to take place. (for instance Node Coupling, Drag Node Splicing).</li><li>Modify Styling Settings of connections.</li><li>Modify Edge Panning Settings.</li></ol> | <ul><li>If nodes are not visually distorted.</li><li> If modification of time requirement for certain actions to take place is not applied.</li> |
|
|
| Using File Menu | <ol><li>Create a new script.</li><li>Open an existing script.<li>Use Save script / save script as... functions to save the script.</li><li>Close script.</li><li>Use available keyboard shortcuts to perform above mentioned actions.</li></ol> | <ul><li>If creating a script does not return error in Console.</li><li>Recently saved/created scripts are displayed in "Open Recent" menu.</li><li>Scripts can be saved.</li><li>No errors are printed in the console after saving a script.</li><li>Closing unsaved script displays a message reminding of unsaved changes.</li> |
|
|
| Using File Menu | <ol><li>Create a new script.</li><li>Open an existing script.<li>Use Save script / save script as... functions to save the script.</li><li>Close script.</li><li>Use available keyboard shortcuts to perform above mentioned actions.</li></ol> | <ul><li>If creating a script does not return error in Console.</li><li>Recently saved/created scripts are displayed in "Open Recent" menu.</li><li>Scripts can be saved.</li><li>No errors are printed in the console after saving a script.</li><li>Closing unsaved script displays a message reminding of unsaved changes.</li> |
|
|
| Using Edit Menu | <ol><li>Undo and redo various actions.</li><li>Manage nodes, groups, notes via Edit Menu by performing following actions:</li><ul><li>Cut</li><li>Copy</li><li>Paste</li><li>Duplicate</li><li>Delete</li></ul></ul></li><li>Take a screenshot of the graph.</li><li>Select all, inputs, outputs, connected, and clear selections.</li><li>Disable and enable selected nodes.</li><li>Align nodes in various directions.</li><li>Remove unused variables and nodes.</li><li>Use available keyboard shortcuts to perform above mentioned actions.</li></ol> | <ul><li> If nodes are not visually distorted.</li><li>Undoing or redoing actions does not cause an assert or errors to be printed in the console.</li><li> Copy-Pasted nodes do retain their modified properties.</li> |
|
|
| Using Edit Menu | <ol><li>Undo and redo various actions.</li><li>Manage nodes, groups, notes via Edit Menu by performing following actions:</li><ul><li>Cut</li><li>Copy</li><li>Paste</li><li>Duplicate</li><li>Delete</li></ul></ul></li><li>Take a screenshot of the graph.</li><li>Select all, inputs, outputs, connected, and clear selections.</li><li>Disable and enable selected nodes.</li><li>Align nodes in various directions.</li><li>Remove unused variables and nodes.</li><li>Use available keyboard shortcuts to perform above mentioned actions.</li></ol> | <ul><li> If nodes are not visually distorted.</li><li>Undoing or redoing actions does not cause an assert or errors to be printed in the console.</li><li> Copy-Pasted nodes do retain their modified properties.</li> |
|
|
| Using View Menu | <ol><li>Zoom graph in and out.</li><li>Show selection:</li><ul><li>individual node</li><li>multiple connected nodes</li><li>group</li><li> notes</li><li>entire graph</li></ul></ul></li><li>Use "Go to" option to navigate to start and end of the chain (graph must have multiple nodes connected with each other).</li><li>Restore default layout of Script Canvas tool.</li><li>Use available keyboard shortcuts to actions mentioned above.</li></ol> | <ul><li>Show selection or show entire graph options are displaying graph accurately.</li><li>Default layout can be restored.</li> |
|
|
| Using View Menu | <ol><li>Zoom graph in and out.</li><li>Show selection:</li><ul><li>individual node</li><li>multiple connected nodes</li><li>group</li><li> notes</li><li>entire graph</li></ul></ul></li><li>Use "Go to" option to navigate to start and end of the chain (graph must have multiple nodes connected with each other).</li><li>Restore default layout of Script Canvas tool.</li><li>Use available keyboard shortcuts to actions mentioned above.</li></ol> | <ul><li>Show selection or show entire graph options are displaying graph accurately.</li><li>Default layout can be restored.</li> |
|
|
| Using Tools Menu | <ol><li>Open and close tools available in Tools Menu.</li><li>Use available keyboard shortcuts to open and close all tools.<li>Perform resize, maximize, minimize, undock and dock actions with all of Script Canvas editor tools and drag them around the Script Canvas editor.</li></ol> | <ul><li>Tools are opened after selecting them in Tools Menu.</li><li>Shortcuts can be used to open/close tools.</li><li>The user is able to resize, minimize, maximize, undock, dock or drag Script Canvas editor tools around the Script Canvas editor.</li> |
|
|
| Using Tools Menu | <ol><li>Open and close tools available in Tools Menu.</li><li>Use available keyboard shortcuts to open and close all tools.<li>Perform resize, maximize, minimize, undock and dock actions with all of Script Canvas editor tools and drag them around the Script Canvas editor.</li></ol> | <ul><li>Tools are opened after selecting them in Tools Menu.</li><li>Shortcuts can be used to open/close tools.</li><li>The user is able to resize, minimize, maximize, undock, dock or drag Script Canvas editor tools around the Script Canvas editor.</li> |
|
|
-| Using Script Events [Preview] Menu | <ul><li> This menu is soon to be deprecated and reworked, until its updated its ommited from testing </li><li> [O3DE User Guide: Script Events](https://www.o3de.org/docs/user-guide/scripting/script-events/) can be followed for the current state of the functionality. |
|
|
|
|
|
|
+| Using Script Events [Preview] Menu | <ul><li> This menu is soon to be deprecated and reworked, until its updated its ommited from testing. </li><li> [O3DE User Guide: Script Events](https://www.o3de.org/docs/user-guide/scripting/script-events/) can be followed for the current state of the functionality. |
|
|
---
|
|
---
|
|
|
|
|
|
### Area: Basic Script Canvas graph tests
|
|
### Area: Basic Script Canvas graph tests
|
|
|
|
|
|
Testing in this area verify basic functionality of script canvas graphs and more in-depth functionality of the default editor tools.
|
|
Testing in this area verify basic functionality of script canvas graphs and more in-depth functionality of the default editor tools.
|
|
|
|
|
|
-
|
|
|
|
**Project Requirements**
|
|
**Project Requirements**
|
|
<p>Script Canvas editor opened with the complete list of tools which are:
|
|
<p>Script Canvas editor opened with the complete list of tools which are:
|
|
|
|
|
|
@@ -125,8 +121,8 @@ Script canvas graph files with basic input and output when run through game mode
|
|
|
|
|
|
| Workflow | Requests | Things to Watch For |
|
|
| Workflow | Requests | Things to Watch For |
|
|
|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
-| Create and save a new script canvas graph with basic input and output | <ol><li>Use any method to create a blank script canvas file.</li><li>Use the node palette or right click context menu to add and connect multiple nodes.</li><li>Create a logic sequence that will occur on graph start or on the activation of an entity</li><li>Use the variable manager to create one or more new variables.</li><li>Change a field on a node to a reference and use the newly created variable</li><li>Click on a variable you created and use the Node Inspector to modify it. Change its name, default value and scope.</li><li> Run the game mode or load the graph in the Interpreter.</li></ol> | <ul><li>If saving the file causes asset processor errors or warnings.</li><li>If repeatedly running the game causes the graph to produce no results or inconsistent results.</li><li>If any console warnings or errors regarding Lua appear.</li> |
|
|
|
|
-| Create a 2nd script canvas graph file and use a script event to make the two files communicate during gameplay | <ol><li>Use the O3DE asset editor to create a new script event.</li><li>Add a new event to the script event asset. Give it a unique and recognizable name </li><li>Add input parameters to the event and save the asset.</li><li>Search the Script Canvas editor's node inspector for the new event asset [](https://github.com/o3de/sig-content/blob/main/testing-guidance/workflow-tests/scripting/images/SCeditor_script_events_workflow.png) </li><li>Create a Send and Receive signal nodes for the new event.</li><li>Configure two or more script canvas files to send and receive signals from each other. </li>**Examples:** <ul><li> Attach a send signal to a timer node so every other second the receiving script changes a light's color. </li><li>Send multiple different script events and a script canvas file that has different logic predecated on receiving each of the different signals | <ul><li>If there are any tool display issues/unusable portions of tool.</li><li>Saved event asset appears in the directory in which it was saved.</li><li>Events can be used to send and receive signals from two or more script canvas files which can be proven by debug output or working graph logic.</li></ul> |
|
|
|
|
|
|
+| Create and save a new script canvas graph with basic input and output | <ol><li>Use any method to create a blank script canvas file.</li><li>Use the node palette or right click context menu to add and connect multiple nodes.</li><li>Create a logic sequence that will occur on graph start or on the activation of an entity.</li><li>Use the Variable Manager to create one or more new variables.</li><li>Change a field on a node to a reference and use the newly created variable.</li><li>Click on a variable you created and use the Node Inspector to modify it. Change its name, default value and scope.</li><li> Run the game mode or load the graph in the Interpreter.</li></ol> | <ul><li>If saving the file causes asset processor errors or warnings.</li><li>If repeatedly running the game causes the graph to produce no results or inconsistent results.</li><li>If any console warnings or errors regarding Lua appear.</li> |
|
|
|
|
+| Create a 2nd script canvas graph file and use a script event to make the two files communicate during gameplay | <ol><li>Use the O3DE Asset Editor to create a new script event.</li><li>Add a new event to the script event asset. Give it a unique and recognizable name </li><li>Add input parameters to the event and save the asset.</li><li>Search the Script Canvas editor's node inspector for the new event asset. [](https://github.com/o3de/sig-content/blob/main/testing-guidance/workflow-tests/scripting/images/SCeditor_script_events_workflow.png) </li><li>Create a Send and Receive signal nodes for the new event.</li><li>Configure two or more script canvas files to send and receive signals from each other. </li>**Examples:** <ul><li> Attach a send signal to a timer node so every other second the receiving script changes a light's color. </li><li>Send multiple different script events and a script canvas file that has different logic predecated on receiving each of the different signals. | <ul><li>If there are any tool display issues/unusable portions of tool.</li><li>Saved event asset appears in the directory in which it was saved.</li><li>Events can be used to send and receive signals from two or more script canvas files which can be proven by debug output or working graph logic.</li></ul> |
|
|
| Animated behavior and visual language of Script Canvas. | <ol><li>Create and hover one node above another, so the nodes are partially transparent.</li><li>Hold Alt key and left click on node to instantly delete it, square particles will appear. </li><li>Insert a node between two connected nodes, the cursor need to point onto connection, which will change to dashed line. The node-nudging is enabled by default, the nodes will move aside to accommodate new node.<p> </li></ol> | <ul><li>If nodes are not dimming/partially transparent when hovering one node over another node.</li><li>If node is deleted without particles visual effect when using Alt + LMB delete method.</li><li>If nodes are not nudging aside to accommodate new node.</li><li>If nodes are not connected after inserting node between two connected nodes.</li> |
|
|
| Animated behavior and visual language of Script Canvas. | <ol><li>Create and hover one node above another, so the nodes are partially transparent.</li><li>Hold Alt key and left click on node to instantly delete it, square particles will appear. </li><li>Insert a node between two connected nodes, the cursor need to point onto connection, which will change to dashed line. The node-nudging is enabled by default, the nodes will move aside to accommodate new node.<p> </li></ol> | <ul><li>If nodes are not dimming/partially transparent when hovering one node over another node.</li><li>If node is deleted without particles visual effect when using Alt + LMB delete method.</li><li>If nodes are not nudging aside to accommodate new node.</li><li>If nodes are not connected after inserting node between two connected nodes.</li> |
|
|
| Nodes behavior | <ol><li>Add nodes with various data value types to the graph and modify their values.</li><li>Attempt to connect two different value type pins.</li><li>Add input and operand to the node (e. g. Print/Add (+) nodes).</li><li>Hide/show unused slots on the node.</li><li>Convert value to reference and reference to value by clicking RMB on data pin.</li><li>Disable and enable nodes.</li><li>Insert long string into node string value field to extend the node.</li></ol> | <ul><li>If data values cannot be modified.</li><li>If nodes with long strings are visually distorted.</li><li>If disabled nodes are not grayed out.</li> |
|
|
| Nodes behavior | <ol><li>Add nodes with various data value types to the graph and modify their values.</li><li>Attempt to connect two different value type pins.</li><li>Add input and operand to the node (e. g. Print/Add (+) nodes).</li><li>Hide/show unused slots on the node.</li><li>Convert value to reference and reference to value by clicking RMB on data pin.</li><li>Disable and enable nodes.</li><li>Insert long string into node string value field to extend the node.</li></ol> | <ul><li>If data values cannot be modified.</li><li>If nodes with long strings are visually distorted.</li><li>If disabled nodes are not grayed out.</li> |
|
|
| Connections behavior | <ol><li>Create a connection between nodes by dragging connection from output pin onto input pin.</li><li>Drag a connection over empty space in graph and release LMB, in context menu search for desired node to be created and connected to.<li>Connect two nodes by using Node Coupling feature, mentioned feature is enabled by default in Global Preferences. Hover one node over another and hold it above until nodes connect.</li><li>Delete connection by selecting the connection and pressing Del key.</li><li>Delete connection by dragging one node and shaking it, shaking de-splice feature is enabled by default.</li><li>Delete connection by holding Alt key and clicking LMB on connection.</li></ol> | <ul><li>If connection is not created.</li><li>If node is not created after selecting it from context menu.</li><li>If connection cannot be deleted.</li> |
|
|
| Connections behavior | <ol><li>Create a connection between nodes by dragging connection from output pin onto input pin.</li><li>Drag a connection over empty space in graph and release LMB, in context menu search for desired node to be created and connected to.<li>Connect two nodes by using Node Coupling feature, mentioned feature is enabled by default in Global Preferences. Hover one node over another and hold it above until nodes connect.</li><li>Delete connection by selecting the connection and pressing Del key.</li><li>Delete connection by dragging one node and shaking it, shaking de-splice feature is enabled by default.</li><li>Delete connection by holding Alt key and clicking LMB on connection.</li></ol> | <ul><li>If connection is not created.</li><li>If node is not created after selecting it from context menu.</li><li>If connection cannot be deleted.</li> |
|