Tests/Etoys
Note: This test plan is currently incomplete. Obviously there's a lot of stuff you can do with Etoys, not all of which is immediately accessible. Right now all I have is the basic drawing and object managing functions, but more will be added later.
Open the Etoys activity
Justification: HIG, http://wiki.laptop.org/images/e/e1/Running-olpc-etoys-small.jpg
Actions:
- Open Etoys by clicking on the Etoys activity on the taskbar.
Verify:
- That an Etoys icon is added to the activity donut.
- That the icon pulses to indicate the activity starting up.
- That the Etoys main menu screen and taskbar loads properly.
- That the red car on the screen is moving.
Viewing the Etoys Demo
Justification: Self
Actions:
- Click the button that says "Click Here for a Demo of Etoys"
- Watch the demo in its entirety.
- Click the Exit button when you are done watching.
Verify:
- That the button becomes highlighted when you mouse over it.
- That the demo is animated properly.
- That the sound works properly.
- That clicking the "Exit" button returns you to the main menu.
Notes: Clicking the "Exit" button did not return me to the main menu.
Load a sample project
Justification: Self
Actions:
- Click the button that says "Gallery of Projects"
- Click the project "Random Racing"
Verify:
- That pressing the "Gallery of Projects" button loads a project choosing window properly, and that you are able to scroll between different projects.
- That you can load Random Racing, and that a loading progress bar appears as Random Racing loads and properly indicates the status of the load.
Start a new document
Justification: http://wiki.laptop.org/go/Sugar_Etoys, Self
Actions:
- Return to the main menu.
- Click the "make new project" button in the lower right of the main screen.
- Click the "new project" button in the upper left corner.
- Click the orange box that comes up in the upper lefthand corner.
Verify:
- That pressing the first "make new project" button clears the screen.
- That the button becomes highlighted as you mouse over and and when you click it.
- That a tooltip appears under the button saying "Start a new project."
- That clicking it causes a small box to appear over the button with the tooltip "Click here to enter the project named "Unnamed1."
- That clicking the small box also clears the screen.
Paint in your document
Justification: http://wiki.laptop.org/go/Image:PaintingSuppliesSummary.jpeg, Self
Actions:
- Click the "Make a Painting" button.
- Draw a shape on the canvas.
- Switch to a different brush size by clicking the different shapes in the toolbar on the right.
Verify:
- That a grey border appears around the canvas when you press Make New Painting, and that the toolbar appears properly on the right.
- That your cursor changes to a paintbrush when over the canvas.
- That the shape you drew appears properly, and with the correct brush settings.
- That no shape you drew exceeds the borders of the canvas.
- That a select box appears around the different brush shapes as you choose them, and that the circle beneath your brush adjusts in size to indicate the current brush size.
Choosing a different color
Justification: http://wiki.laptop.org/go/Image:PaintingSuppliesSummary.jpeg, Self
Actions:
- Pick a new color by mousing over the color chooser and clicking inside the color window that pops up.
- Draw something on the canvas.
Verify:
- That the color chooser window appears as you mouse over the color chooser.
- That a circle appears within the window when you click indicating the currently chosen color.
- That the brush shape icons adjust their color to indicate your newly chosen color.
- That the upper leftmost of the 8 squares at the bottom of the toolbar becomes your currently chosen color, shifting other previously chosen colors to the right.
- That the shape you draw is the color you just chose.
Drawing shapes
Justification: http://wiki.laptop.org/go/Image:PaintingSuppliesSummary.jpeg
Actions:
- Click the Shapes button at the very bottom right of the toolbar.
- Pick one of the shapes that appears from the dropdown menu.
- In the canvas, click and drag to form your shape.
Verify:
- That clicking the Shapes button properly brings up a dropdown menu of shapes.
- That your cursor adjusts to become the shape you just selected.
- That your shape draws itself properly after you are finished clicking and dragging.
- That the border of the shape is the currently selected color, and the interior of the shape is unfilled.
- That the thickness of the border corresponds to the currently selected brush size.
Managing multiple objects
Justification: http://wiki.laptop.org/go/Image:PaintingSuppliesSummary.jpeg
Actions:
- Click the Keep button, then try moving the object you made around by clicking and dragging it.
- Click the Make a Painting button again, draw something, and click Keep again. Try to make it a different color from the old one.
- Move the new object over the old one by clicking and dragging it. Then, move the old object over the new one.
- Press the Undo button on the top toolbar. Then, press it again.
Verify:
- That the toolbar and canvas border disappear when you click Keep.
- That that the objects you just drew stay in the window.
- That objects are movable and cast a small shadow when picked up.
- That you can adjust which object is on top by clicking and dragging it.
- That clicking the Undo button properly moves the old object back under the new one, and clicking it again reverses the order back to normal.
Discarding an object
Justification: http://wiki.laptop.org/go/Image:PaintingSuppliesSummary.jpeg
Actions:
- Click the make new painting button.
- Draw something on the canvas.
- Press the Clear button on the toolbar. Then, press Undo.
- Press the Toss button on the toolbar. Choose "Keep painting it."
- Press the Toss button again and choose "Throw it away."
Verify:
- That any objects that overlap the canvas are tinted lighter on the portions which overlap.
- That pressing the Clear button removes everything on the canvas (excluding static objects which overlap the canvas)
- That the warning menu "Do you really want to throw away what you just painted" appears when you click the Toss button.
- That choosing "Keep painting it" when you click the Toss button does nothing.
- That choosing "Throw it away" when you click the Toss button removes anything on the canvas and closes the Toolbar.
Quitting Etoys
Justification: Self
Actions:
- Press the X button on the top toolbar..
- Click "Yes" on the warning that comes up.
Verify:
- That a warning window comes up asking if you are sure you want to quit.
- That pressing "Yes" exits the program.
- That the Etoys icon is removed from the activity donut.
Journal management is mostly a placeholder, as it doesn't appear to be functional yet.
Journal Management
Justification: HIG, Self
Actions:
- Open the Journal from the activity donut.
- Scroll down until you find an entry for your Etoys activity section. Click on it.
- Click the Reusme button.
Verify:
- That there is an entry for your Etoys activity section that displays properly.
- That the preview properly displays a thumbnail of your project.
- That clicking the Resume button properly opens Etoys and displays your project.
Collaboration
Justification: HIG Actions:
- Click the Share button in the upper right hand corner.
- Have another member of the local mesh join your activity.
- Switch back to the Etoys activity, then wait and see if the user you invited can make edits to it.
Verify:
- That the user is able to join your Etoys activity.
- That the user is able to collaborate on the Etoys project with you.
- That the user's icon is added to the right side of the frame
- That an Etoys activity icon appears in the Neighborhood view, with your icon and the other user's icon by it.