Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for Global Replace #8184

Closed
3 tasks done
sandy081 opened this issue Jun 27, 2016 · 0 comments
Closed
3 tasks done

Tests for Global Replace #8184

sandy081 opened this issue Jun 27, 2016 · 0 comments
Assignees
Milestone

Comments

@sandy081
Copy link
Member

sandy081 commented Jun 27, 2016

Test for #7602

  • Windows - @kieferrm
  • OS X - @bpasero
  • Linux - @isidorn
  • Replace functionality enablement
    • Replace functionality is disabled when
      • Replace is not shown
      • Replace is shown and Search text box is in focus
    • When Replace functionality is enabled
      • Replace All button is enabled in Replace textbox
      • Replace and Remove buttons are shown on all Search results.
      • Replace preview is shown.
  • Replace preview in results
    • Each result shows the replaced text instead of search text in the result. In case of empty string, original search text is shown in strike-through. Test for color background change for replaced text preview.
    • Changing the replace term in Replace text box changes in the replace preview results
    • When Replace functionality is disabled, Preview only shows search results
  • Replace preview editor
    • Clicking or Enter on an entry results should open a Replace preview editor with Current state on the left and Replace preview on the right. It reveals the selected entry line at the center of the view.
    • Changing the replace term in Replace text box also updates the preview
    • Changing the file outside, updates the Replace preview editor
    • Updating search criteria closes the editors automatically
  • Replace actions
    • Replace action on a file result should replace all entries in the file and File entry is removed from the results.
    • Replace action on a single entry result replace that entry and this entry is removed from the results.
  • Replace all action
    • Replace all action replaces all files and entries shown in the results. Those which are already committed or removed are not considered during this action.
    • A confirmation dialog and progress are shown for this action.
  • Test Undo action per file after performing each action. Note that we do not have yet Global undo support.
  • Test all other actions in the View are working as expected with replace functionality enabled.
  • Test search and replace with different options in Search - Regex, Inclusion and Exclusion etc.,
  • Test Keyboard navigation
    • You can navigate among input boxes and results with Up and Down arrows
    • Use Cmd + Delete or Delete to remove entries
@sandy081 sandy081 added this to the June 2016 milestone Jun 27, 2016
@sandy081 sandy081 self-assigned this Jun 27, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants