File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -157,23 +157,6 @@ abstract class LocalIntegrationTestBase : IntegrationTestBase() {
157157 }
158158 }
159159
160- @OptIn(ExperimentalChromeApi ::class )
161- @Test
162- fun test_deserialization_unknown_enum () = runTestWithRealTime {
163- chromeWebSocket().use { browser ->
164- browser.newPage().use { page ->
165- page.gotoTestPageResource(" basic.html" )
166- val tree = page.accessibility.getFullAXTree() // just test that this doesn't fail
167-
168- assertTrue(" we are no longer testing that unknown AXPropertyName values are deserialized as NotDefinedInProtocol" ) {
169- tree.nodes.any { n ->
170- n.properties.anyUndefinedName() || n.ignoredReasons.anyUndefinedName()
171- }
172- }
173- }
174- }
175- }
176-
177160 @OptIn(ExperimentalChromeApi ::class )
178161 @Test
179162 fun test_deserialization_RemoteObject_subtype_enum () = runTestWithRealTime {
@@ -190,7 +173,4 @@ abstract class LocalIntegrationTestBase : IntegrationTestBase() {
190173 }
191174 }
192175 }
193-
194- private fun List<AXProperty>?.anyUndefinedName (): Boolean =
195- this != null && this .any { it.name is AXPropertyName .NotDefinedInProtocol }
196176}
You can’t perform that action at this time.
0 commit comments