Skip to content

2.0.0

Compare
Choose a tag to compare
@YevgeniyShunevych YevgeniyShunevych released this 11 May 08:40
· 877 commits to main since this release

Changelog

Breaking Changes

  • #580 Change getting of content to skip whitespace text nodes using ContentSource values: FirstChildTextNode, LastChildTextNode and ChildTextNodesTrimmedAndSpaceJoined
  • #581 Return "" instead of null as value of string-based field component
  • #582 Remove obsolete behavior attributes
  • #583 Remove obsolete types and members
  • #585 Remove Triggers property of UIComponent<TOwner>
  • #589 Rename classes related to component scope finding
  • #590 Rename LogConsumerInfo to LogConsumerConfiguration
  • #594 Change type of DirectorySubject.Directories property to SubdirectoriesProvider
  • #595 Change type of DirectorySubject.Files property to DirectoryFilesProvider
  • #599 Set target .NET framework to only .NET Standard 2.0
  • #600 Rename ExtendedStringFormatter to AtataTemplateStringFormatter
  • #601 Remove ApplyMetadata method from UIComponent
  • #602 Replace InitValueTermOptions method with GetValueTermOptions in Field<T, TOwner>
  • #603 Remove ValueTermOptions property from IDataProvider<out TData, out TOwner> and all classes implementing it
  • #604 Update TitleTermFormatter to not lowercase "from" and "with"
  • #605 Replace IPropertySettings with IHasOptionalProperties
  • #606 Change PropertyBag
  • #607 Add UIComponentMetadata parameter to CreateStrategy and BuildComponentName method of FindAttribute
  • #608 Remove Properties property from MulticastAttribute
  • #609 Replace RemoteWebDriverLoggingExtensions with IJavaScriptExecutorLoggingExtensions
  • #610 Replace RemoteWebDriver usage with IWebDriver
  • #611 Use Selenium.WebDriver package v4.1.1
  • #613 Replace WithCapability method of DriverAtataContextBuilder<TBuilder, TService, TOptions> with AddAdditionalBrowserOption
  • #614 Replace WithGlobalCapability method of driver AtataContextBuilder's with AddAdditionalOption
  • #616 Change default value of AtataContext.ModeOfCurrent property to AtataContextModeOfCurrent.AsyncLocal
  • #617 Rename WaitAttribute to WaitSecondsAttribute
  • #619 Remove Component property from IDataProvider<out TData, out TOwner>
  • #620 Replace inheritance of IDataProvider<out TData, out TOwner> with IObjectProvider<out TObject, out TOwner>
  • #621 Make obsolete DataProvider<TData, TOwner> and IDataProvider<TData, TOwner>
  • #622 Inherit ControlList<TItem, TOwner> from IEnumerableProvider<TItem, TOwner> instead of IDataProvider<TData, TOwner>
  • #626 Rename DataVerificationProvider<TData, TOwner> to ObjectVerificationProvider<TObject, TOwner>
  • #627 Rename Value property of IObjectProvider<out TObject> to Object
  • #628 Rename IsValueDynamic property of IObjectProvider<out TObject, out TOwner> to IsDynamic
  • #629 Rename Value property of IObjectSource<out TObject> to Object
  • #630 Rename EnumerableProvider<TItem, TOwner> to EnumerableValueProvider<TItem, TOwner>
  • #633 Remove VerificationKind property from IVerificationProvider<out TOwner>
  • #634 Change return type of IVerificationProvider<out TOwner>.GetRetryOptions method
  • #635 Remove GetShouldText method from IVerificationProvider<out TOwner>
  • #636 Remove ReportFailure method from IVerificationProvider<out TOwner>
  • #639 Extract WithProperties method of AtataContextBuilder<TContext> to extension method
  • #640 Extract log consumer methods from AtataContextBuilder to new LogConsumersAtataContextBuilder
  • #641 Extract screenshot consumer methods from AtataContextBuilder to new ScreenshotConsumersAtataContextBuilder
  • #645 Change date/time format of {build-start} folder in AtataContext.Artifacts directory path to yyyyMMddTHHmmss
  • #647 Update FileScreenshotConsumer and NLogFileConsumer to use AtataContext.Artifacts as a default DirectoryPathBuilder
  • #650 Change default control visibility from Visible to Any
  • #657 Rename AtataContextInitEvent to AtataContextInitStartedEvent
  • #660 Use Atata.WebDriverExtras package v2.0.0

New Features

  • #586 Add HasDriver property to AtataContext
  • #588 Add ToggleRandom method to RadioButtonList<T, TOwner>
  • #623 Add CreateValueProvider method to UIComponent<TOwner>
  • #624 Add DynamicObjectSource.Create method
  • #625 Add support of UIComponent script arguments to UIComponentScriptExecutor<TOwner>
  • #632 Add WithRetryInterval and WithRetryIntervalSeconds methods to VerificationProvider<TVerificationProvider, TOwner>
  • #643 New WaitForAlertBoxAttribute trigger
  • #646 Add IDictionary<string, object> Variables property to AtataContext
  • #651 Add DefaultControlVisibility property to AtataContext
  • #652 Add FindOnlyVisibleAttribute inherited from FindSettingsAttribute with preset Visibility = Visibility.Visible
  • #653 Add visibility set extension methods for FindAttribute
  • #658 Add AtataContextPreInitEvent

Changes and Enhancements

  • #596 Change default file name format of FileScreenshotConsumer
  • #597 Wrap UIComponent scope element getting in StaleSafely.Execute
  • #612 Add Microsoft.CSharp v4.7.0 package reference
  • #615 Extract ChromiumAtataContextBuilder<TBuilder, TService, TOptions> from ChromeAtataContextBuilder for reuse by EdgeAtataContextBuilder
  • #618 Update implementation of DragsAndDropsUsingActionsAttribute to use Actions.DragAndDrop
  • #631 Rename Within method of VerificationProvider<TVerificationProvider, TOwner> to WithinSeconds
  • #637 Change log level of "Clean up AtataContext" log section from Info to Trace
  • #638 EventBus should call subscriptions in the order they were subscribed
  • #642 Rename FolderPathBuilder property of NLogFileConsumer to DirectoryPathBuilder
  • #644 Rename FolderPathBuilder and FolderPath properties of FileScreenshotConsumer to DirectoryPathBuilder and DirectoryPath
  • #648 Make obsolete properties of LogEventInfo
  • #654 Rename PageObject<TOwner>.Wait(double seconds) method to WaitSeconds
  • #655 Move types from Atata.TermFormatting namespace to Atata
  • #656 Remove logging of event handler execution from EventBus

Fixes

  • #649 Base class attribute doesn't get to metadata when there is the same attribute in a base class

Links

Full Changelog: v1.14.0...v2.0.0