fixes a test
This commit is contained in:
parent
cfa1e40d54
commit
5441bd582a
@ -18,7 +18,7 @@ func performActionSetTextEditTextAreaValue() async throws {
|
||||
_ = try await setupTextEditAndGetInfo()
|
||||
defer { Task { await closeTextEdit() } }
|
||||
|
||||
let textAreaLocator = Locator(criteria: ["AXRole": textAreaRole])
|
||||
let textAreaLocator = Locator(criteria: [Criterion(attribute: "AXRole", value: textAreaRole)])
|
||||
|
||||
// Perform action
|
||||
try await performSetValueAction(
|
||||
@ -50,7 +50,7 @@ func extractTextFromTextEditTextArea() async throws {
|
||||
_ = try await setupTextEditAndGetInfo()
|
||||
defer { Task { await closeTextEdit() } }
|
||||
|
||||
let textAreaLocator = Locator(criteria: ["AXRole": textAreaRole])
|
||||
let textAreaLocator = Locator(criteria: [Criterion(attribute: "AXRole", value: textAreaRole)])
|
||||
|
||||
// Set text value
|
||||
try await performSetValueAction(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user