Skip to content

Commit

Permalink
release: prepare 1.0.0-alpha08
Browse files Browse the repository at this point in the history
  • Loading branch information
yashaka committed May 18, 2021
1 parent 48ffee5 commit 6b27af0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 31 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@
- do we need SeleneDriver anymore? (if we go the direction of SeleneBrowser)


## 1.0.0-alpha08 (to be released on 2021.05.??)
## 1.0.0-alpha09 (to be released on 2021.05.??)
- deprecate the majority of Selene.* (except S, SS) when providing alternative API via Browser.*

## 1.0.0-alpha07 (to be released on 2021.05.13)
## 1.0.0-alpha08 (to be released on 2021.05.18)
- added waiting to SeleneElementJsExtensions:
- JsClick
- JsType
- JsSetValue

## 1.0.0-alpha07 (released on 2021.05.13)
- improved error messsages
- now condition in Should method will be rendered like:
`... .Should(Be.Visible)` over just `... .Visible`
Expand Down
33 changes: 5 additions & 28 deletions NSelene/NSelene.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>NSelene</PackageId>
<Version>1.0.0-alpha07</Version>
<Version>1.0.0-alpha08</Version>
<Authors>yashaka</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright (c) 2015-2021 Iakiv Kramarenko</Copyright>
Expand All @@ -23,33 +23,10 @@
</PackageDescription>

<PackageReleaseNotes>
- improved error messsages
- now condition in Should method will be rendered like:
`... .Should(Be.Visible)` over just `... .Visible`
- deprecated SeleneElement#config, use SeleneElement#Config instead
- yet be attentive... the fate of keeping SeleneElement#Config as public is also vague...
- added experimental feature: Configuration._HookWaitAction
- prefixed with underscore implies that this feature is kind of "publically available private property that might be changed/renamed/removed/etc in future;)", so use it on your own risk!!!
- by default equals to null, making internally call waiting algorithm for actions as it is, without additional customization
- specified to something like:
```
Configuration._HookWaitAction = (entityObject, describeComputation, wait) => {
Console.WriteLine($"STARTED WAITING FOR: {entityObject}.{describeComputation()}");
try
{
wait();
Console.WriteLine($"FINISHED WAITING FOR: {entityObject}.{describeComputation()}");
}
catch (Exception error)
{
Console.WriteLine($"FAILED WAITING FOR: {entityObject}.{describeComputation()}");
throw error;
}
};
```
- should provide some additinal logging for all Selene actions, called on entities (like SeleneElement, SeleneCollection)
- under actions we mean "void commands" not "queries returning result".
- void command like element.Should(condition) will return the element itself instead of void ;)
- added waiting to SeleneElementJsExtensions:
- JsClick
- JsType
- JsSetValue
</PackageReleaseNotes>

<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ For docs see tests in the [NSeleneTests](https://github.com/yashaka/NSelene/blob

## Versions

* Upcomig version to use is just released [1.0.0-alpha07](https://www.nuget.org/packages/NSelene/1.0.0-alpha07)
* Upcomig version to use is just released [1.0.0-alpha08](https://www.nuget.org/packages/NSelene/1.0.0-alpha08)
* targets netstandard2.0
* net45 support may be added later
* it differs from [0.0.0.7](https://www.nuget.org/packages/NSelene/0.0.0.7) in the following:
Expand Down

0 comments on commit 6b27af0

Please sign in to comment.