Skip to content

Commit

Permalink
Only log results file records if results format is sepcified in launc…
Browse files Browse the repository at this point in the history
…h options
  • Loading branch information
bjuric committed Nov 11, 2024
1 parent 931fd82 commit b1e067c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Add `@{**}` placeholder to template matcher to support ignoring multiple lines
- Print gwen launch arguments on startup (including discovered brownser and env settings)
- Synchronise system process bindings when resolving value from output stream
- Only log results file records if results format is sepcified in launch options
- Put samples in features/samples when initialising new project
- Internal engine enhancements
- Replace redundant multi scoped data caches with one single scoped cache
Expand Down
2 changes: 1 addition & 1 deletion gwen.conf
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ gwen {
test {
file = "target/dsl/test.csv"
fields = [
{ field = "test", defaultValue = "test"}
{ field = "header", defaultValue = "record"}
]
}
}
Expand Down
1 change: 1 addition & 0 deletions src/test/features/errors/AccumulatedErrors.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Feature: Accumulated errors
And z is true
When I capture x as y
And I reset accumulated errors
And I log record to test file
Then there should be no accumulated errors
And x should not be blank
And y should be "1"
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/gwen/web/eval/WebSettingsTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ class WebSettingsTest extends BaseTest with Matchers with MockitoSugar {
test.scope should be (None)
test.status should be (None)
test.fields should be (List(
ResultField("test", "test", Some("test"))))
ResultField("header", "header", Some("record"))))
}
}
}
Expand Down

0 comments on commit b1e067c

Please sign in to comment.