mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
#106: Add Analytics UI
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// Copyright 2021 New Vector Ltd
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
import ElementX
|
||||
import XCTest
|
||||
|
||||
class AnalyticsPromptUITests: XCTestCase {
|
||||
/// Verify that the prompt is displayed correctly.
|
||||
func testAnalyticsPrompt() {
|
||||
let app = Application.launch()
|
||||
app.goToScreenWithIdentifier(.analyticsPrompt)
|
||||
app.assertScreenshot(.analyticsPrompt)
|
||||
}
|
||||
}
|
||||
@@ -29,6 +29,8 @@ targets:
|
||||
- target: ElementX
|
||||
- package: MatrixRustSDK
|
||||
linkType: static
|
||||
- package: AnalyticsEvents
|
||||
linkType: static
|
||||
- package: AppAuth
|
||||
linkType: static
|
||||
- package: DTCoreText
|
||||
@@ -39,6 +41,8 @@ targets:
|
||||
linkType: static
|
||||
- package: Introspect
|
||||
linkType: static
|
||||
- package: PostHog
|
||||
linkType: static
|
||||
- package: SwiftyBeaver
|
||||
linkType: static
|
||||
- package: SwiftState
|
||||
@@ -76,8 +80,10 @@ targets:
|
||||
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/Tests/UI
|
||||
- path: ../../ElementX/Sources/BuildSettings.swift
|
||||
- path: ../../ElementX/Sources/Screens/RoomScreen/View/Style/TimelineStyle.swift
|
||||
- path: ../../ElementX/Sources/Services/Analytics/AnalyticsConfiguration.swift
|
||||
- path: ../../ElementX/Sources/UITestScreenIdentifier.swift
|
||||
- path: ../../ElementX/Sources/Generated/Strings.swift
|
||||
- path: ../../ElementX/Sources/Generated/Strings+Untranslated.swift
|
||||
- path: ../../ElementX/Sources/Generated/InfoPlist.swift
|
||||
- path: ../../ElementX/Resources
|
||||
- path: ../../ElementX/Sources/Other/Extensions/Bundle.swift
|
||||
|
||||
Reference in New Issue
Block a user