Repository navigation
Closed
Labels
metaIssues used to co-ordinate tasks, or discuss a feature before the required work is captured
Description
#Checklist of testing scenarios and notes of anything interesting found during testing.
Testing using: 1.1.2-beta7
Test on: Mac and Windows
Manifest scenarios
Welcome Flow
-
Sign in to Github.comlink-
Sign insuccessful if valid username/email and password- If 2FA activated, user sent auth code to enter (test SMS and authenticator app)
- User can reissue auth code with
Resend SMSlink
- User can reissue auth code with
- If 2FA activated, user sent auth code to enter (test SMS and authenticator app)
- Sign in successful with active 2FA code, user goes to Configure Git
- User sees Repository landing page if sign in successful
- Error message if code is wrong or inactive
- Error message if incorrect username/email or password
-
Cancelreturns to initial Welcome Flow -
Sign in using your browseropens default browser- Browser login, "authorize" GitHub Desktop, “accept” link
- If successful, Desktop shown in
/settings/applicationsin user profile
- If successful, Desktop shown in
- Browser login, "authorize" GitHub Desktop, “accept” link
-
-
Sign in to Enterpriselink (works with v2.8 and up)-
Continuesuccessful if server address is valid, else error message-
Sign in using your browseropens default browser- Browser login, [insert custom security measure], Authorize GitHub Desktop, “accept” link
-
- User goes to Configure Git if successful
-
Cancelreturns to initial Welcome Flow - User served generic message if not authorized to access Enterprise server
-
- Skip "username+password" step
- Configure Git
- Name and email pulled from global
.gitconfigfile, if configured
- Name and email pulled from global
- If recognized, your avatar is present in example commit; gravatars not recognized
-
Continueokay if fields populated or blank
-
- Valid login credentials from github.com or Enterprise carried through
- User sees Repository landing page if sign in successful
- Configure Git
- Usage Data
- Checked by default; user can uncheck. (Should not be checked if user on free plan only.)
- Clicking
Finish, and user is signed in successfully to Desktop
- Clicking
-
Cancelreturns to initial Configure Git page
- Checked by default; user can uncheck. (Should not be checked if user on free plan only.)
Repositories landing page
- Create New Repository (Mac:
⌘N; Windows:Ctrl+N)- Modal opens with name, path (choose option), readme (unchecked), git ignore, license. Name and path mandatory.
- If repository name is over 100 characters, warning message is surfaced in modal
- If repository contains URL-hostile characters, show error message
-
Create Repositorybutton adds new repo, which is added to Repo list -
Cancelbutton does not save any changes made; modal closed
- Modal opens with name, path (choose option), readme (unchecked), git ignore, license. Name and path mandatory.
- Clone a Repository (Mac:
⇧⌘O; Windows:Ctrl+Shift+O)- Enter valid URL or
username/repo/gist, else error message- If authentication error for Github.com, modal with username/password surfaced;
CancelorSave and Retrybuttons- If successful, repo is cloned
- If authentication error for Github.com, modal with username/password surfaced;
- Modal surfaces again if unsuccessful
- If authentication error for Enterprise, user redirected to Preferences
- Valid path can be entered or selected
- Local path is prepopulated; if not unique then error surfaced
- All repos from both GitHub.com and Enterprise are populated -- your repos are listed first, followed by org(s)
- User must be logged in to view list; else
Sign Inbutton present - Results are filterable, and can be selected for cloning
- User must be logged in to view list; else
-
Clonecreates repo at selected path- Repo added to Repo list
-
Cancelcloses modal, no repo cloned
- Enter valid URL or
- Add a Local Repository (Mac:
⌘O; Windows:Ctrl+O)- Valid path can be entered or selected
-
Add repositoryactivated if repo path exists- Repo added to Repo list
- If directory path not valid, 'Create a new repo' error message is present
-
Cancelcloses modal, no repo added - Large repos (> 100MB) trigger Initialize Git LFS modal
- Link takes user to (
https://git-lfs.github.com/) - Local path to repo is displayed
- User can click
CancelorInitialize Git LFS
- Link takes user to (
- Drag and drop repository
- User can drag existing local repository into Desktop
- Successful attempt adds repo to Repo list; else error message
- User can drag existing local repository into Desktop
Publishing a repository
- Publish Repository modal present if repo is unpublished and user clicks
Publish repositorybutton- GitHub tab is default; Enterprise tab is also present
- User must be signed in to publish, else
Sign Inbutton present on tab
- User must be signed in to publish, else
- Modal fields are Name, Description (optional),
Keep this code privatecheckbox, Organization list (alpha order, tab-specific, if orgs exist),Cancelbutton,Publish Repositorybutton- Clicking
Publish Repositorybutton pushes repo to GitHub.com or Enterprise;Cancelbutton closes modal- Repository is present on GitHub.com or Enterprise if published
- Clicking
- 'Visibility can't be private error' shown, if user's plan is not sufficient
- A
.gitattributesfile is added to the repository as part of the initial commit - If repo is forked and upstream remote does not match, then modal is surfaced with Ignore/Update button
- GitHub tab is default; Enterprise tab is also present
Application
- Minimize, Maximize, Close buttons work in top nav
- If user zooms in and quits app, settings should be retained when reopened
- Double-clicking local desktop icon opens the application (Mac only)
- Double clicking top nav bar toggles full-screen / last used screen-size (Mac only); Exit by (Mac:
^⌘f11; Windows:Alt) - Clicking Desktop icon in dock/taskbar opens the application
- Changing desktop icon name while app is open results in package error; closed app name change is successful
GitHub Desktop menu top-level
- About GitHub Desktop
- Current version shown
- Links to release notes (github.com), terms (modal), licenses (modal)
- Update banner shows
whats newlink andretart nowlink - Update modal shows enhancements / bug fixes in latest build with
Install button; user can X the banner - Clicking the version number copies to clipboard
- Clicking
Check for updatesbutton produces "read-only volume" error message, with link for help
- Clicking
- Clicking
Check for updatesbutton timestamps last attempt- If checking for update or download latest update, the
Check for updatesbutton is disabled - Restarting the app automatically checks for updates
- If checking for update or download latest update, the
-
Closebutton closes modal
- Preferences/Options (Mac:
⌘,Windows:Ctrl+,)- Accounts
- GitHub.com name, handle, avatar,
sign outbutton, if user signed in - Enterprise handle, avatar,
sign outbutton, if user signed in - User can sign out of either account
- User can sign-in to both Enterprise and GitHub.com at same time
- GitHub.com name, handle, avatar,
- Git
- Username and email are displayed if
.gitconfigconfigured for Welcome flow -
Savebutton saves any changes made -
Cancelbutton does not save any changes made; modal closed
- Username and email are displayed if
- Advanced
- External Editor options shown in dropdown; else show "Install Atom?" link
- Shell options shown in dropdown
- Shared usage data option; selection carried through from Welcome flow
-
anonymous usage datalink opens https://desktop.github.com/usage-data/ - Check
stats-opt-outvalue in Dev Tools > Application > Local storage > file://
-
- Confirmation dialogue for removing repositories is checked by default; user can toggle
- Check
ConfirmDiscardChangesvalue in Dev Tools > Application > Local storage > file://
- Check
- Confirmation dialogue for discarding files is checked by default; user can toggle
- Check
ConfirmRepoRemovalvalue in Dev Tools > Application > Local storage > file://
- Check
-
Savebutton saves any changes made -
Cancelbutton does not save any changes made; modal closed
- Clicking
OKcloses modal
- Accounts
- Quit/Exit Desktop (Mac:
⌘Q)- Quitting/Exiting and reopening Desktop returns you to last visited repo
- Menu items are disabled any modal is present; MacOS-default menu items not applicable
File top-level menu
- Create New Repository (Mac:
⌘N; Windows:Ctrl+N) - Clone a Repository (Mac:
⇧⌘O; Windows:Ctrl+Shift+O) - Add a Local Repository (Mac:
⌘O; Windows:Ctrl+O) - Options... (Windows only:
Ctrl+,) - Exit (Windows only; quits the app)
Edit top-level menu
- Undo (Mac:
⌘Z; Windows:Ctrl+Z) - Redo (Mac:
⇧⌘Z; Windows:Ctrl+Y) - Cut (Mac:
⌘X; Windows:Ctrl+X) - Copy (Mac:
⌘C; Windows:Ctrl+C) - Paste (Mac:
⌘V; Windows:Ctrl+V) - Select all (Mac:
⌘A; Windows:Ctrl+A)
View top-level menu
- Show History (Mac:
⌘1; Windows:Ctrl+1) - Show Compare (Mac:
⌘2; Windows:Ctrl+2) - Show Repositories List (Mac:
⌘T; Windows:Ctrl+T) - Show Branches List (Mac:
⌘B; Windows:Ctrl+B) - Enter Full Zoom (Mac:
^⌘F; Windows:F11) - Reset Zoom (Mac:
⌘0; Windows:Ctrl+0) - Zoom In (Mac:
⌘=; Windows:Ctrl+=) - Zoom Out (Mac:
⌘-; Windows:Ctrl+-) - Toggle Developer Tools (Mac:
⌥⌘I; Windows:Ctrl+Shift+I)
Repository top-level menu. (Only enabled if one repo present)
- Push (Mac:
⌘P; Windows:Ctrl+P)- Commits from repo pushed to .com; error message shown if conflicts
- Pull (Mac:
⇧⌘P; Windows:Ctrl+Shirt+P)- Commits from repo pulled from .com; error message shown if conflicts
- Remove
- Repo is removed from Repo List; confirmation dialogue shown if Preferences option enabled
- View on GitHub (Mac:
⌥⌘G; Windows:Ctrl+Alt+G)- Repo on .com is opened; must be logged in if private repo or Enterprise
- Open in Terminal/Command prompt (Mac:
^[tilde-sign]; Windows: )- Local repo is opened
- If git not installed, modal asks to Open with Git or Install Git
- Show in Finder/Explorer (Mac:
⇧⌘F; Windows:Ctrl+Shift+F)- Local repo is opened
- Open in External Editor (Mac:
⇧⌘A; Windows:Ctrl+Shift+A); see External Editor option in prefs- Secondary modal appears if no Editors set; option to Download Atom
- Repository settings
- Remote path can be edited for existing repo; origin already set. Cannot be empty string, else error message.
-
Savedbutton saves last entry -
Cancelbutton closes modal
-
- User can opt for
Setup custom remotefor a non-GitHub repository-
Save & Publishbutton saves last entry -
Cancelbutton closes modal
-
- Ignored Files
-
.gitignorefile contents are shown and can be edited
-
-
Savedbutton saves last entry; changes create a new commit -
Cancelbutton closes modal
- Remote path can be edited for existing repo; origin already set. Cannot be empty string, else error message.
Branch top-level menu
- New Branch (Mac:
⇧⌘N; Windows:Ctrl+Shift+N)- Clicking
Create Branchmakes new branch based on the entered name, if not a duplicate - Master branch is mentioned in the list; current branch shown first
-
Cancelbutton closes modal
- Clicking
- Rename (cannot be master)
-
Renamebutton changes branch name if field updated- Same branch on GitHub.com is not renamed
-
Cancelbutton closes modal - Protected branches cannot be renamed
-
- Delete (cannot be master)
- Option to delete branch on the remote; default is unchecked
-
Deletebutton deletes branch name (and remote too if option checked) -
Cancelbutton closes modal - Protected branches cannot be deleted
- Update from Default Branch (cannot be master; Mac:
⇧⌘U; Windows:Ctrl+Shift+U) - Compare to Branch (Mac:
⇧⌘B; Windows:Ctrl+Shift+B) - Takes you to the
historytab with the input selected so you can directly choose a branch - Merge into Current Branch (Mac:
⇧⌘M; Windows:Ctrl+Shift+M)- Use can filter existing branches
- User can select branch, other than current
-
Mergebutton only activated if something to merge -
Cancelbutton closes modal
- Compare on GitHub (Mac:
⇧⌘C; Windows:Ctrl+Shift+C) (if repo already published ongithub.com) - Create Pull request (Mac:
⌘R; Windows:Ctrl+R) opens Pull Request ongithub.com- If branch unpublished, dialogue asks to publish the branch
-
Push Local Changesmodal surfaces with option toCreate Without PushingandPush Commits;(trigger:Create Pull Requestafter commit on branch before pushing)
Window top-level menu (Mac only)
- Minimize, Zoom (maximize app size), Close, Bring All to Front, GitHub Desktop
Help top-level menu
-
Report Issueopens issue template in Desktop repo ongithub.com -
Contact GitHub Supportopenshttps://github.com/contactpage with user and build prepopulated -
Show User Guidesopens Desktop help page ongithub.com -
Show Logs in Finder/Exploreropens Finder/Explorer logs in local directory- Mac:
ls ~/Library/Application\ Support/GitHub\ Desktop/logs/*.log - Windows:
%LOCALAPPDATA%\\Desktop\\*.desktop.production.log
- Mac:
- About GitHub Desktop (Windows only)
Repositories list
- Current repo is always shown in top slot with respective icon; if repo exists
- Opening list shows all repos in categorized format with a working filter
-
ESCclears the filter - Search filter match results in bold characters
- All repos (private, enterprise, local, public, forked, other) have proper icon and found in the proper category (GitHub.com/Enterprise/Other)
- Hover shows username/repo, url, and/or local path in tooltip
- User must have paid account for private repos
- Repo icon is updated if admin changes status (public vs private)
-
- Repositories cloned from non-github servers should always be in the Other group, and have the 'computer' icon.
- Selecting a repo updates Changes/Compare/Diff areas
- If no Changes, Diff area shows
Open this repositorylink to Finder/Explorer on local
- If no Changes, Diff area shows
-
Right-clickon any repo showsOpen in Terminal,Open in Finder/Explorer,Open in External Editor, andRemoveoptions - Repos which have been removed locally (and trash emptied) have 'cannot find repository' warning
- Relaunching the app when it displays a missing repository preserves the repo's name and last seen path
- Remove a repo which can not be found (deleted locally & trash emptied)
- Repos which are cloning display a progress bar
History tab
- History tab shows
•icon if files are waiting to be committed- Number of changed files is always present; it can be 0
- Any changed files appear in the list, with respective +/•/- sign; with arrow keys enabled
- Merge-conflicted files shown with hazard icon; cannot be committed until fixed
- User can check none, or check one or more files to commit; list is scrollable
- User can select one or more lines to commit; diff is scrollable
- Right-clicking opens context menu
- User can discard the file; pending confirmation dialogue
-
Do not show this message againoverrides the preference setting if true- User can ignore single/all files, show in Finder/Explorer, reveal in external editor, or open in default program
- A specific files can only be ignored once
- All ignored files found in Repository Settings > Ignored Files tab
- User can open in finder, preferred editor, or OS default program
- Panes can be resized horizontally, and contents resize to take the full width
- Quitting Desktop and relaunching remembers sizes
Compare tab
- Compare (was History) tab shows commits on your current branch by default
- All commits listed in chronological order, with avatar, date and name; list is scrollable with arrow keys enabled
- Right clicking any commit shows options: Revert, Copy SHA, View on GitHub
- Hover shows file name in tooltip
- Placing cursor in search field show all branches with number of commits behind/ahead
- User can search to a target branch to filter commits;
esckey to exit; autocomplete and text prediction intact- User can toggle between behind/ahead, with counts shown
- Only commits behind/ahead shown
- User can merge in any commits into current branch for the "behind" tab
- After successful merge, tab counts update and merge button is disabled
- Merge conflict results in dialog shown directing user to commit view
- All commits listed in chronological order, with avatar, date and name; list is scrollable with arrow keys enabled
Relationship between branches
- Clicking in field with placeholder text
Select Branch to Compare…shows a list of all branches and their number of commits ahead and behind the currently checked out branch - Pressing
esckey clears the current filter - Filtering for branch name that doesn't exist shows "Sorry, I can't find that branch"
- Selecting a branch from the list populates the tab with that branch comparison data
- Behind tab is shown by default
- See number of commits behind in tab header
- If more than 0 commits behind, a list of commits are shown in reverse chronological order
- See button to merge into current branch (button disabled if 0 commits behind)
- Clicking the merge button shows merge conflicts if any, or successfully merges the commit(s)
- After merging, the comparison branch is 0 commits behind
- Ahead tab is on the right-hand side
- If more than 0 commits ahead, a list of commits are shown in reverse chronological order
- Can toggle between ahead/behind tabs using keyboard
- Behind tab is shown by default
- Clearing text in the
compare to branchesinput on thehistory tabby pressingxtakes you to the history view and clears the selected comparison branch
Diffs tab
- All commits have avatar, selectable SHA, # of files changed, commit message, commit description (optional)
- Long commit descriptions can be toggled with expand/collapse icon
- Reverting commit repopulates commit area
- Error message if no changes to commit
- Reverting commit repopulates commit area
- Long commit descriptions can be toggled with expand/collapse icon
- All files within a commit listed, with respective +/•/-/-> sign; list is scrollable
- Diffs are viewable; list is scrollable with arrow keys enabled
- Green is for additions, red for deletions
- Different file types are rendered properly
- Single pic file with the
->sign has multiple view options: 2-up (default); Swipe; Onion Skin; and Difference
- Diffs are viewable; list is scrollable with arrow keys enabled
- Panes can be resized horizontally, and contents resize to take the full width
Commit section
- Commit created if user clicks
Commit to [branch]button with commit message and at least one checked file-
Fetch originchanges toPushwith number of commits badge
-
- Avatar of user is shown
- User can 'at-mention' those associated with the respective repo; either subject or description field is ok (published repositories only)
- User can 'pound-mention' an issue in the either subject or description field; issue number should populate (published repositories only)
- Description field is optional
- User can undo last commit
-
Pushwith number of commits badge is decremented or reverts toFetch origin
-
-
Undobutton disabled if user is pushing commit - User can publish a new repo with no commits (aka unborn repo/branch)
- User can make new branch the default branch, by making the intial commit on the new branch.
- User can select individual files to commit at a time
Co-authoring
- clicking co-author icon toggles co-author field; or right-click within commit area
- Hovering over the icon reveals add/remove 'action' text
- Right-click includes Mac/Windows context menus; option greyed out if repo not published to Github.com
- User can tag other GitHub.com users only, or those within your Enterprise org
- Tag is tied to public API name/email; email is "no-reply" if user setting is enabled
- Mouseover tooltip reveals name and email of any entered tags
- Tagging those outside of GitHub turns tag red
- You cannot tag a user more than once via the autocomplete; manually you can
- Typing a GitHub name not part of the initial autocomplete will initiate a search
- Found names are tagged; all others are turned red
- Navigating away from the History tab will clear red tags
- Toggling the co-author icon clears the field
- All co-authors show up in Compare and diff view
- Commits with
Co-Authored-By: Name <[email protected]>in the decription field reveal avatar of user - Hovering over an avatar reveals all tagged users
- Hovering over the "people" text reveals all names/emails of tagged users
- Commits with
- Undoing a commit re-enables the tags
- Reverting a commit does not re-enable the tags
Branches list
- Current branch always shows if repository present
- Hover shows full branch name in tooltip
- Long branch names are truncated, with beginning/end of branch name shown
- Opening list shows all branches in categorized format with a working filter
-
Newbutton opens 'New Branch' modal - If filters results are nil, then prefill branch name in modal if user clicks
Create New Branch - Active branch is highlighted and marked with a check
-
ESCclears the filter - Search filter match results in bold characters
- Hover shows full branch name in tooltip
-
- Default branch labeled and listed first, with timestamp
- Selecting a branch switches branches
- Creating a new branch shows
Publish branchbutton- Publishing successful if logged in only; else error message
-
Create Pull Requestmenu option shows warning if branch not published yet
-
- Publishing successful if logged in only; else error message
- Renamed branches updated on .com and vice-versa if logged in; else error message
- Opens modal with ability to enter new name
- Deleted branches updated on .com and vice-versa if logged in; else error message
- Deleting branch show warning message
Fetching origin/Pull
- Code is constantly being fetched from .com with timestamp
- Hover shows timestamp in tooltip
- If Pull Requests on .com, they are reflected with down arrow and quantity
- Pull Requests and Commits can co-exist; error surfaces if merge commit
- User cannot Push/Pull without being signed in; error message surfaced
- Push/Pull works with public/private/Enterprise repos
- Tooltip shows status upon hover, if progress to display
- When a branch is local-only make sure that the
Fetchbutton changes toPublishand it publishes
Publishing only
- Unpublished repository, unborn HEAD -
Publish buttonenabled (user can publish repository) - Unpublished repository, valid branch -
Publish buttonenabled (user can publish repository and branch) - Published repository, unborn HEAD -
Publish buttondisabled (no branch to push) - Published repository, branch without tracking -
Publish buttonenabled (user can publish branch) - Published repository, network action -
Publish buttondisabled (don't interfere with existing action)
Pull Request list + CI status (v1.1)
- Pull request list shown as tab on Branch list
- Only open Pull Requests are reflected; closed Pull Requests not shown in the list
- Pull Request toolbar status is surfaced with yellow, green or red icon, or no icon if no status
- If no pull requests, then no badge shown, and Pull Request tab shows
0- User shown current branch in text area, and given option to create a new branch or create new pull request
- Pull request for the current branch selected by default, with pull-request-number badge in header
- Pull request list can be filtered;
esckey clears filter; arrow keys can scroll list - Results in chronological order, with name, id number, date, username, and CI status
- Status checks run frequently in background, especially if yellow
- If user hovers over CI status icons, tooltips show individual/group status details
- Pull request list can be filtered;
- PR status can be updated independently of respective PR
Additional RBB scenarios
Branches
- Try to compare branches when only master exists and see "No Branches to Compare"
- If there are no commits yet, then the rest of the history tab will be blank
- If commits, then the history tab will show history of commits
- Compare branches when more than 1000 branches in a repository
- Confirm scrolling through branches is smooth
- Changing default branch updates when selecting comparison branch
Commits
- Add commits for a branch and confirm ahead/behind counts increment
- Choose branch to compare more than 1000 commits behind
- Confirm scrolling through commits is smooth
- Choose branch to compare more than 1000 commits ahead
- Confirm scrolling through commits is smooth
Merge conflicts
- Compare and merge branch that results in a merge conflict
- Close button closes modal
- View Conflicts button redirects to Commit view
General
- [x] Can compare branches when not signed in - [x] Feature works with GitHub and GitHub enterprise accountsTesting notes
Interesting, weird, or other noteworthy things...
- After creating a new repo, publishing and then adding another branch that has committed changes I still see
No Branches to Compareunder the History tab. "No Branches to Compare" shown when there are 2 branches #4755

Metadata
Metadata
Assignees
Labels
metaIssues used to co-ordinate tasks, or discuss a feature before the required work is captured
Activity
[-]Testing notes for 1.2 release[/-][+]Testing notes for 1.2.0 release[/+]