Room screen header (#86)

* #35 Create `ElementNavigationController` subclass

* #35 Add encryption icons

* #35 Add avatar and encryption badge image to the room screen view model

* #35 Create `RoomHeaderView` class

* #35 Replace room title with a RoomHeaderView instance in the toolbar

* #35 Add changelog

* #35 Introduce `UITestScreenIdentifier` and refactor ui tests

* #35 Fix old tests

* #35 add some tests for room screen

* #35 Use svgs instead of pngs

* #35 Fix PR remarks
This commit is contained in:
ismailgulek
2022-06-21 20:28:42 +03:00
committed by GitHub
parent 163b0b2aa7
commit e9593630dc
32 changed files with 347 additions and 51 deletions

View File

@@ -20,7 +20,7 @@ import ElementX
class TemplateSimpleScreenUITests: XCTestCase {
func testRegularScreen() {
let app = Application.launch()
app.goToScreenWithIdentifier("Simple Screen - Regular")
app.goToScreenWithIdentifier(.simpleRegular)
let title = app.staticTexts["title"]
XCTAssert(title.exists)
@@ -30,7 +30,7 @@ class TemplateSimpleScreenUITests: XCTestCase {
func testUpgradeScreen() {
let app = Application.launch()
app.goToScreenWithIdentifier("Simple Screen - Upgrade")
app.goToScreenWithIdentifier(.simpleUpgrade)
let title = app.staticTexts["title"]
XCTAssert(title.exists)