Skip to content

Commit a45e977

Browse files
Test 35 of CI
1 parent fad04de commit a45e977

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

examples/AlertNotification-example/ios-app/personalized-news-feed/UITests/NotificationAppearanceUITest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class NotificationAppearanceUITest: XCTestCase {
143143

144144
// Wait for the notification to appear on the SpringBoard.
145145
let notification = springboard.otherElements.descendants(matching: .any)["NotificationShortLookView"]
146-
XCTAssertTrue(notification.waitForExistence(timeout: 10000), "Notification did not appear on the screen.")
146+
XCTAssertTrue(notification.waitForExistence(timeout: 600), "Notification did not appear on the screen.")
147147

148148
// Get the notification's content by position.
149149
let notificationTitle = notification.staticTexts.element(boundBy: 0)

specs/alert-notification.spec.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ test("Alert Notification End-to-End Test", { timeout: 30 * 60 * 1000 }, async (t
6060

6161
await t.test("should receive a push notification on the simulator", async () => {
6262
await simulator.setLanguage(sim, TEST_CONFIG.language, TEST_CONFIG.locale);
63+
// await simulator.setLogVerbose(sim);
6364

6465
await simulator.build(sim, {
6566
project: TEST_CONFIG.project,
@@ -76,7 +77,7 @@ test("Alert Notification End-to-End Test", { timeout: 30 * 60 * 1000 }, async (t
7677

7778
const { simulatorUdid } = await client.waitForSimulatorRegistration(testId);
7879

79-
simulator.streamLogs(sim);
80+
// simulator.streamLogs({ udid: simulatorUdid });
8081

8182
const { deviceToken, apnsTopic } = await client.waitForDeviceRegistration(testId);
8283

specs/utils/ios-simulator.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ export function run(simulator, { scheme, project, testId }) {
167167
["-sdk", "iphonesimulator"],
168168
["-destination", `platform=\"iOS Simulator,id=${simulator.udid}\"`],
169169
["-configuration", "Debug"],
170+
["-verbose", ""],
171+
["-resultBundlePath", "TestSlowness.xcresult"],
170172
]);
171173

172174
const commandArgsString = Array.from(commandArgs.entries())
@@ -231,6 +233,7 @@ export async function build(simulator, options) {
231233
["-sdk", "iphonesimulator"],
232234
["-destination", `platform=\"iOS Simulator,id=${simulator.udid}\"`],
233235
["-configuration", "Debug"],
236+
["-verbose", ""],
234237
]);
235238

236239
const commandArgsString = Array.from(commandArgs.entries())

0 commit comments

Comments
 (0)