Skip to content

Commit c26ead2

Browse files
TableBinding: assertion message. (#110)
1 parent 8342428 commit c26ead2

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
[1.9.3] - 2022-05-12
8+
### Changed
9+
- Fix table rows count assertion message.
10+
711
[1.9.2] - 2022-05-11
12+
### Added
813
- Added binding to check that table contains rows in exact order

src/Behavioral.Automation/Behavioral.Automation.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The whole automation code is divided into the following parts:
1616
- UI structure descriptive code
1717
- Supportive code</Description>
1818
<Copyright>Quantori Inc.</Copyright>
19-
<PackageVersion>1.9.2</PackageVersion>
19+
<PackageVersion>1.9.3</PackageVersion>
2020
<RepositoryUrl>https://github.com/quantori/Behavioral.Automation</RepositoryUrl>
2121
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2222
<IncludeSymbols>true</IncludeSymbols>

src/Behavioral.Automation/Bindings/TableBinding.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public sealed class TableBinding
2626
[Then(@"(.*?) should have (\d+) items")]
2727
public void CheckRowsCount([NotNull] ITableWrapper element, int count)
2828
{
29-
Assert.ShouldBecome(() => element.Rows.Count(), count, $"{element.Caption} has {element.Rows.Count()} rows");
29+
Assert.ShouldBecome(() => element.Rows.Count(), count, $"{element.Caption}: rows count mismatch.");
3030
}
3131

3232
/// <summary>

0 commit comments

Comments
 (0)