Tests/Write
The Abiword Test Case is supposed to simulate student writing a paper for a class. The paper contains the child's name and the date, a title, a few lines of text, an image, and a table.
Open the Write Activity
Justification: HIG for startup, self for remaining
Actions:
- Start the Write activity by clicking on the corresponding icon on the taskbar.
Verify:
- That the Write icon is added to the activity donut.
- That the Write icon pulses to indicate the activity starting up.
- That the Write activity starts properly.
- That the window is blank, and defaults to the "Activity" tab. ***
Type your name and the date
Justification: http://wiki.laptop.org/go/Image:Activity_write_text.jpg, Self
Actions:
- Click somewhere in the body of the window.
- Type your name, then press enter. Type the date and press enter again.
Verify:
- That the cursor becomes a text cursor when inside the text window.
- That your position marker appears properly when you click and blinks.
- That your text appears properly on the screen.
- That the position marker adjusts its position as you type.
- That a red underline appears under any words you have misspelled.
Check text storage
Justification: HIG
Actions:
- Switch to the journal.
Verify:
- That an entry has been added for your Write activity session.
- That a preview of the text you have written is properly displayed.
Type a title
Justification: http://wiki.laptop.org/go/Image:Activity_write_text.jpg, Self
Actions:
- Click the Text tab, then press the Center Align button and the Underline button.
- Select a font size 22 and DejaVu Sans as a font, then type a title for your paper. Hit Enter twice after that
Verify:
- That the Text tab properly highlights and displays a new row of buttons as you click it.
- That your text appears in the center of the screen, underlined, with the proper size and font.
Notes: Currently, the bold, italic and underline buttons become higlighted black when you mouse over them, obscuring the letters inside them. This doesn't seem right. Also, according to the image posted on the wiki page, every tab should be visible regardless of whether it is selected. However, right now, only the currently selected tab is visible - if you're trying to switch to another tab, you can't tell which one it is. Also, the alignment menu is completely black. The alignment visual indicators are only visible when you mouse over them.
Type a paragraph
Justification: http://wiki.laptop.org/go/Image:Activity_write_text.jpg, Self
Actions:
- Select the Justified alignment.
- Switch back to 12 point font, DejaVu Serif, non-underlined font.
- Right click and open the Paragraph window, then select Double spacing from the spacing menu. Close the Paragraphs window.
- Type a few lines of text.
Verify:
- That your text appears left aligned, in the proper size, font and style.
- That right-clicking displays a submenu, and that clicking the Paragraph option properly opens the Paragraph window.
- That the Spacing menu works properly.
- That your text spaces out each line properly as the Justified alignment indicates, and that your lines are double spaced.
Using Copy and Paste
Justification: http://wiki.laptop.org/go/Image:Activity_write_edit.jpg, Self
Actions:
- Switch to the Edit tab, then select a word you typed.
- Press the Copy button.
- Deselect your text and click somewhere else in the window.
- Press the Paste button.
Verify:
- That the Copy and Paste buttons become highlighted when you mouse over them and when you click them.
- That your text deselects properly when you click away from it.
- That your text appears properly where you clicked when you paste it.
Notes: This is currently broken. Paste does not work.
Inserting an Image
Justification: http://wiki.laptop.org/go/Image:Activity_write_image.jpg, Self
Actions:
- Switch to the Image tab and click the "Insert Image" button.
- Navigate through the directories and choose an image to insert. Click the Open button.
- Click on one of the 9 squares on the perimeter of the object to resize it, then click in the middle of the object and drag to move it.
- Type a label for your picture underneath it.
Verify:
- That the "Image" tab changes the taskbar to a different set of buttons.
- That the "Insert Picture" displays the Insert Picture window properly.
- That pressing "Okay" causes the selected picture appears properly wherever your cursor was.
- That your cursor changes to a pointing hand when you mouse over your picture and a 4-way arrow when you mouse over the perimeter of your picture.
- That your picture moves properly when you drag it and resizes appropriately when you resize it.
- That the label you make underneath your picture wraps around the image properly.
Making and Editing Tables
Justification: http://wiki.laptop.org/go/Image:Activity_write_table.jpg, Self
Actions:
- Click the "Table" tab.
- Click and hold down on the "Insert table" button, and drag down and to the right until you create a 3x3 table.
- Type something in the first field. Use the tab key to move through the other fields, adding info as you go, then use the mouse button to move back to the first field.
- Click the add rows button once.
Verify:
- That the "Table" tab changes the taskbar to a different set of buttons when you click the "Table" button.
- That a mini-spreadsheet appears as you hold down the button, starting as a 5v5, and adjusting as you drag, and that a spreadsheet of the dimensions you specified is produced when you let go.
- That you are able to insert, select and edit text properly into the tables, and that tabbing through fields works properly.
- That using the insert rows column inserts a row between the first and second rows.
Using the View tools
Justification: http://wiki.laptop.org/go/Image:Activity_write_view.jpg, Self
Actions:
- Type until you reach a new page, then type some text on the new page.
- Click the "View" tab.
- Press the + and - magnifying glass buttons to zoom in and out.
- Click the arrows on the page view indicator on the top taskbar to toggle between page 1 and page 2.
Verify:
- That the "View" tab changes the taskbar to a different set of buttons when you click the View tab.
- That the magnifying glass buttons properly alter the zoom percentage, and that the zoom percentage indicator upates to reflect the new percentage as it is changed.
- That a page break line appears when you type past the first page.
- That the page view tool properly allows you to switch between pages, and indicates the right page.
Close the Write activity
Justification: Self
Actions:
- Switch to the Activity tab.
- Click the X button in the top right corner.
Verify:
- That the "Activity" tab changes the taskbar to a different set of buttons when you click the "Activity" button.
- That clicking the X button closes the Write activity.
- That the Write icon disappears from the activity donut.
Resume working on a file
Justification: HIG
Actions:
- Switch to the Journal.
- Find the entry for your Write activity session. Click it.
- Click the "Resume" button.
Verify:
- That your entry in the Journal is still present and has updated the preview to indicate your new work.
- That Resuming your Write activity session opens Write and loads your work properly.
Collaboration
Justification: HIG
Actions:
- Have a member of your Friends group click on your Write activity icon.
- Switch back to the Write activity, then wait and see if the user you invited can make edits to it.
Verify:
- That the user is able to join your Write activity.
- That the user is able to collaborate on the Write project with you.
Placeholder. Not yet functional.
Using Undo and Redo
Justification: http://wiki.laptop.org/go/Image:Activity_write_edit.jpg, Self
Actions:
- Switch to the Edit tab.
- Press the Undo button until all of your work is undone.
- Press the Redo button until all of your work is redone.
Verify:
- That the edit tab changes the taskbar to a different set of buttons when you click the edit tab.
- That the Undo button undoes your actions properly, and in the right order, and that the screen is completely blank after you've finished Undoing.
- That the Redo button redoes your actions properly, and in the right order, and that your file is restored to its previous state after you've finished Redoing.
- That the Undo button becomes ghosted when nothing is left on the screen, and that the Redo button becomes ghosted when your file is restored to its previous state.