-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dotnet] Replace usage of deprecated GetAttribute
method in tests
#14872
base: trunk
Are you sure you want to change the base?
[dotnet] Replace usage of deprecated GetAttribute
method in tests
#14872
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Points to discuss: 1.
|
This reverts commit 0b13270.
OK, now I should seat and carefully de-duplicate |
…va implementation
GetAttribute
method in testsGetAttribute
method in tests
Ready for review. |
User description
Description
Use another method instead of
GetAttribute()
.Motivation and Context
GetAttribute()
will be removed soon, we should not rely on it.Types of changes
Checklist
PR Type
Tests
Description
GetAttribute
method withGetDomProperty
andGetDomAttribute
in various test files.GetDomProperty
for value checks andGetDomAttribute
for id and name checks.Changes walkthrough 📝
15 files
DefaultKeyboardTest.cs
Update value assertions to use GetDomProperty
dotnet/test/common/BiDi/Input/DefaultKeyboardTest.cs
GetAttribute
withGetDomProperty
for value assertions.ChildrenFindingTest.cs
Use GetDomAttribute for id and name assertions
dotnet/test/common/ChildrenFindingTest.cs
GetAttribute
withGetDomAttribute
for id and name assertions.ClearTest.cs
Update value assertions to use GetDomProperty
dotnet/test/common/ClearTest.cs
GetAttribute
withGetDomProperty
for value assertions.CorrectEventFiringTest.cs
Update value assertions to use GetDomProperty
dotnet/test/common/CorrectEventFiringTest.cs
GetAttribute
withGetDomProperty
for value assertions.ElementAttributeTest.cs
Use GetDomAttribute and GetDomProperty for assertions
dotnet/test/common/ElementAttributeTest.cs
GetAttribute
withGetDomAttribute
andGetDomProperty
forvarious assertions.
ElementFindingTest.cs
Use GetDomAttribute and GetDomProperty for assertions
dotnet/test/common/ElementFindingTest.cs
GetAttribute
withGetDomAttribute
andGetDomProperty
for idand value assertions.
ElementSelectingTest.cs
Use GetDomAttribute for id assertions
dotnet/test/common/ElementSelectingTest.cs
GetAttribute
withGetDomAttribute
for id assertions.ExecutingAsyncJavascriptTest.cs
Update value assertions to use GetDomProperty
dotnet/test/common/ExecutingAsyncJavascriptTest.cs
GetAttribute
withGetDomProperty
for value assertions.FormHandlingTests.cs
Update value assertions to use GetDomProperty
dotnet/test/common/FormHandlingTests.cs
GetAttribute
withGetDomProperty
for value assertions.FrameSwitchingTest.cs
Update value assertions to use GetDomProperty
dotnet/test/common/FrameSwitchingTest.cs
GetAttribute
withGetDomProperty
for value assertions.I18Test.cs
Update value assertions to use GetDomProperty
dotnet/test/common/I18Test.cs
GetAttribute
withGetDomProperty
for value assertions.BasicKeyboardInterfaceTest.cs
Update value assertions to use GetDomProperty
dotnet/test/common/Interactions/BasicKeyboardInterfaceTest.cs
GetAttribute
withGetDomProperty
for value assertions.BasicMouseInterfaceTest.cs
Update value assertions to use GetDomProperty
dotnet/test/common/Interactions/BasicMouseInterfaceTest.cs
GetAttribute
withGetDomProperty
for value assertions.CombinedInputActionsTest.cs
Update value assertions to use GetDomProperty
dotnet/test/common/Interactions/CombinedInputActionsTest.cs
GetAttribute
withGetDomProperty
for value assertions.JavascriptEnabledBrowserTest.cs
Update value assertions to use GetDomProperty
dotnet/test/common/JavascriptEnabledBrowserTest.cs
GetAttribute
withGetDomProperty
for value assertions.