forked from adobe/brackets
-
Notifications
You must be signed in to change notification settings - Fork 0
Localization Tests
jason-sanjose edited this page Aug 20, 2012
·
39 revisions
-
citrus completed
test project: https://github.com/adobe/brackets/tree/master/test/smokes/citrus%20completed - To setup each test, load the
citrus completed
project viaFile > Open folder...
- Placeholders for screenshots are written as
<image_filename_placeholder>
- To open files from the project panel (i.e. to add them to the working set), double-click on the file.
- Top Level
- File
- Edit
- View
- Navigate
- Debug (TODO exclude?)
- Experimental Build
- Lightning bolt icon tooltip
Live File Preview
- On mac,
Brackets > About Brackets
. On win,Help > About
- Confirm about dialog text
<dialog_about>
- Click
File > Open
menu - Confirm file open dialog title
<dialog_file_open>
- Click
Navigate > Quick Open
- Confirm the quick open UI appears at the top of the editor
<dialog_quick_open>
- In the project tree, expand the
images
folder. - Click on
events.jpg
- Confirm error message
<dialog_error_opening_file>
- Click
File > New
menu - Confirm
untitled.js
editable file name <project_panel_untitled_file> - Rename
untitled.js
tofoo:js
- Confirm error message
<dialog_error_invalid_file_name>
- Select
index.html
- Click
File > New
menu - Rename
untitled.js
toindex.html
- Confirm error message
<dialog_error_file_already_exists>
- Open
index.html
- Make any change
- Click
File > Close
menu - Confirm dialog
<dialog_save_changes_one_file>
- Choose "Cancel"
- From the project tree, open
desktop.css
- Make any change****
- Click
File > Quit
menu - Confirm dialog
<dialog_save_changes_multiple_files>
- Choose cancel
- Open
desktop.css
in a different program. - Dirty the file so that the last modified time updates. Does not necessarily require a change to the file content.
- Return to Brackets
- Confirm dialog
<dialog_external_changes>
- Choose "Reload from Disk"
Note: These tests assume that Brackets does not update the project tree when files are added and removed. Since these tests require changes to the file system, it is recommended to work with a separate copy of the citrus completed
project and to close and restart Brackets for each test.
- In Brackets, close
index.html
if open - In the operating system, delete
index.html
- In Brackets,
index.html
is still listed. - Attempt to open
index.html
- Confirm error opening file dialog
<dialog_error_opening_file_file_not_found>
- In the operating system, restore
index.html
- In Brackets, collapse all folders (only
css
,images
andindex.html
should be visible in the tree) - Quit and restart Brackets
- In the operating system, delete the
images
directory - Attempt to open the
images
directory - Confirm error loading project dialog
<dialog_error_loading_project_directory_contents>
- In the operating system, restore the
images
directory
- Open
index.html
- Click
Edit > Find
menu - Confirm find UI appears at the top of the editor
<dialog_find>
- Press escape
- Click
Edit > Replace
menu - Confirm replace UI appears at the top of the editor
<dialog_replace_1>
- Type any character(s) into the text box, press Enter
- Confirm replace UI appears at the top of the editor
<dialog_replace_2>
- Enable
View > Enable JSLint
(a checkmark will appear when enabled) - Confirm JSLint panel title
<panel_jslint>
- Exit Chrome if it is running.
- Open
index.html
- Click
File > Live Preview
menu - In Brackets, hover over the lightning bold icon
- Confirm tooltip
<tooltip_disconnect_live_file_preview>
- Quit Chrome
- Start Chrome
- Click
File > Live Preview
menu - Confirm live development error dialog
<dialog_live_development_connection_error>
- Click
Cancel
- Open
css\desktop.css
- Click
File > Live Preview
menu - Confirm live development error dialog
<dialog_live_developement_file_type_error>