Skip to content

Commit

Permalink
Additional fixes + ios tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pmerlet-at-didomi committed Aug 13, 2024
1 parent 9914098 commit fcfba13
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,6 @@ class UIGettersTest: BaseUITest() {
// There might be a delay to get this string.
Thread.sleep(1_000L)

assertText("Total: 2 - IAB: 2 - Non-IAB: 0")
assertText("Total: 3 - IAB: 3 - Non-IAB: 0")
}
}
8 changes: 8 additions & 0 deletions testApp/ios/DidomiExampleUITests/DidomiExampleUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,14 @@ class DidomiExampleUITests: XCTestCase {
assertEqual(actual, expected)
}

func testGetVendoCount() throws {
let app = initApp()

tapButton(in: app, name: "Get vendor count")

assertResult(in: app, name: "Get vendor count", expected: "Total: 3 - IAB: 3 - Non-IAB: 0")
}

func testGetText() throws {
let app = initApp()

Expand Down

0 comments on commit fcfba13

Please sign in to comment.