mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 12:00:09 +02:00
✅ Add UI test for PHP config editor
This commit is contained in:
@ -54,6 +54,16 @@ final class MainMenuTest: UITestCase {
|
||||
app.mainMenuItem(withText: "mi_about".localized).click()
|
||||
}
|
||||
|
||||
final func test_can_open_config_editor() throws {
|
||||
let app = launch(openMenu: true)
|
||||
|
||||
app.buttons["phpConfigButton"].click()
|
||||
|
||||
Thread.sleep(forTimeInterval: 0.5)
|
||||
|
||||
assertExists(app.staticTexts["confman.title".localized], 1)
|
||||
}
|
||||
|
||||
final func test_can_open_settings() throws {
|
||||
let app = launch(openMenu: true)
|
||||
app.mainMenuItem(withText: "mi_preferences".localized).click()
|
||||
|
Reference in New Issue
Block a user