mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
troubleshooting windows test failures on travis
This commit is contained in:
parent
6df0db1832
commit
b438f58ddb
1 changed files with 9 additions and 33 deletions
|
@ -45,6 +45,7 @@ Feature: Writing new entries.
|
||||||
|
|
||||||
Scenario Outline: Writing an empty entry from the editor should yield "Nothing saved to file" message
|
Scenario Outline: Writing an empty entry from the editor should yield "Nothing saved to file" message
|
||||||
Given we use the config "<config_file>.yaml"
|
Given we use the config "<config_file>.yaml"
|
||||||
|
And we use the password "test" if prompted
|
||||||
When we open the editor and enter nothing
|
When we open the editor and enter nothing
|
||||||
Then the error output should contain "[Nothing saved to file]"
|
Then the error output should contain "[Nothing saved to file]"
|
||||||
|
|
||||||
|
@ -53,48 +54,23 @@ Feature: Writing new entries.
|
||||||
| editor |
|
| editor |
|
||||||
| editor_empty_folder |
|
| editor_empty_folder |
|
||||||
| dayone |
|
| dayone |
|
||||||
|
| basic_encrypted |
|
||||||
# this might need a new step for editors + encryption
|
| basic_onefile |
|
||||||
@todo
|
|
||||||
Scenario: Writing an empty entry from the editor in encrypted journal should yield "Nothing saved to file" message
|
|
||||||
Given we use the config "editor_encrypted.yaml"
|
|
||||||
#When we open the editor and enter nothing
|
|
||||||
#Then we should see the message "[Nothing saved to file]"
|
|
||||||
|
|
||||||
Scenario Outline: Writing an empty entry from the command line with no editor should yield nothing
|
Scenario Outline: Writing an empty entry from the command line with no editor should yield nothing
|
||||||
Given we use the config "<config_file>.yaml"
|
Given we use the config "<config_file>.yaml"
|
||||||
|
And we use the password "test" if prompted
|
||||||
When we run "jrnl" and enter nothing
|
When we run "jrnl" and enter nothing
|
||||||
Then the output should be empty
|
Then the output should be empty
|
||||||
And the error output should contain "Writing Entry; on a blank line"
|
And the error output should contain "Writing Entry; on a blank line"
|
||||||
And the editor should not have been called
|
And the editor should not have been called
|
||||||
|
|
||||||
Examples: configs
|
Examples: configs
|
||||||
| config_file |
|
| config_file |
|
||||||
| simple |
|
| simple |
|
||||||
| empty_folder |
|
| empty_folder |
|
||||||
|
| basic_encrypted |
|
||||||
@todo
|
# | dayone | @todo
|
||||||
Scenario: Writing an empty entry from the command line in DayOne journal
|
|
||||||
# There is a problem with DayOne behave tests and console input
|
|
||||||
|
|
||||||
@todo
|
|
||||||
Scenario: Writing an empty entry from the command line in encrypted journal
|
|
||||||
# Need some steps for encryption + editor
|
|
||||||
|
|
||||||
Scenario Outline: Writing an empty entry from the editor should yield nothing
|
|
||||||
Given we use the config "<config_file>.yaml"
|
|
||||||
And we use the password "bad doggie no biscuit" if prompted
|
|
||||||
When we run "jrnl" and enter nothing
|
|
||||||
Then the output should be empty
|
|
||||||
And the error output should contain "[Nothing saved to file]"
|
|
||||||
And the editor should have been called
|
|
||||||
|
|
||||||
Examples: configs
|
|
||||||
| config_file |
|
|
||||||
| editor |
|
|
||||||
| editor_empty_folder |
|
|
||||||
| dayone |
|
|
||||||
| editor_encrypted |
|
|
||||||
|
|
||||||
Scenario Outline: Writing an entry does not print the entire journal
|
Scenario Outline: Writing an entry does not print the entire journal
|
||||||
# https://github.com/jrnl-org/jrnl/issues/87
|
# https://github.com/jrnl-org/jrnl/issues/87
|
||||||
|
|
Loading…
Add table
Reference in a new issue