troubleshooting windows test failures on travis

This commit is contained in:
Jonathan Wren 2020-10-17 13:31:50 -07:00
parent 6df0db1832
commit b438f58ddb
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A

View file

@ -45,6 +45,7 @@ Feature: Writing new entries.
Scenario Outline: Writing an empty entry from the editor should yield "Nothing saved to file" message
Given we use the config "<config_file>.yaml"
And we use the password "test" if prompted
When we open the editor and enter nothing
Then the error output should contain "[Nothing saved to file]"
@ -53,16 +54,12 @@ Feature: Writing new entries.
| editor |
| editor_empty_folder |
| dayone |
# this might need a new step for editors + encryption
@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]"
| basic_encrypted |
| basic_onefile |
Scenario Outline: Writing an empty entry from the command line with no editor should yield nothing
Given we use the config "<config_file>.yaml"
And we use the password "test" if prompted
When we run "jrnl" and enter nothing
Then the output should be empty
And the error output should contain "Writing Entry; on a blank line"
@ -72,29 +69,8 @@ Feature: Writing new entries.
| config_file |
| simple |
| empty_folder |
@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 |
| basic_encrypted |
# | dayone | @todo
Scenario Outline: Writing an entry does not print the entire journal
# https://github.com/jrnl-org/jrnl/issues/87