Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7d37e6
commit a853c34
Showing
3 changed files
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
@speedbar | ||
Feature: Goto line command | ||
|
||
Background: | ||
Given I open a new edit tab | ||
|
||
Scenario: Open goto line speedbar | ||
When I replace the contents with "Foo\nBar\nBaz" | ||
And I move the cursor to 0 | ||
And I run the command Redcar::Top::GotoLineCommand | ||
Then the Redcar::Top::GotoLineCommand::Speedbar speedbar should be open | ||
|
||
Scenario: Search for a word should select next occurrence | ||
When I replace the contents with "Foo\nBar\nBaz" | ||
And I move the cursor to 0 | ||
And I run the command Redcar::Top::GotoLineCommand | ||
And I type "2" into the "line" field in the speedbar | ||
And I press "Go" in the speedbar | ||
Then the cursor should be on line 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters