Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions TableProUITests/PluginDisabledRecoveryUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,19 @@ final class PluginDisabledRecoveryUITests: UITestCase {
XCTAssertTrue(pluginsPane.waitToExist(timeout: 10))
pluginsPane.click()

let row = settings.staticTexts["SQLite Driver"].firstMatch
let filter = settings.searchFields.matching(identifier: "sidebar-filter").firstMatch
XCTAssertTrue(filter.waitToExist(timeout: 10), "The Installed list has a filter field")
XCTAssertTrue(waitUntilHittable(filter, timeout: 10))
filter.click()
filter.typeText("SQLite")

let row = settings.outlines.firstMatch.staticTexts["SQLite"].firstMatch
XCTAssertTrue(row.waitToExist(timeout: 15), "The bundled SQLite plugin is listed under Installed")
XCTAssertTrue(waitUntilHittable(row, timeout: 10))
row.click()

let toggle = settings.descendants(matching: .any)
.matching(NSPredicate(format: "label == %@", "Enable SQLite Driver"))
.matching(NSPredicate(format: "label == %@", "Enable SQLite"))
.firstMatch
XCTAssertTrue(toggle.waitToExist(timeout: 10))
XCTAssertTrue(waitUntilHittable(toggle, timeout: 10))
Expand Down
Loading