Skip to content

Commit 69a1210

Browse files
committed
test(analytics, ios): skip wrongly-failing expired-sessions-are-null test
for some reason firebase-ios-sdk now returns the old session id even after you set a tight expiration time and definitely wait for it to expire, skipping for now. Android unaffected
1 parent 4fa5141 commit 69a1210

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/analytics/e2e/analytics.e2e.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ describe('analytics()', function () {
9696
});
9797

9898
it('returns a null value if session expires', async function () {
99+
if (Platform.ios) {
100+
// TODO - 20251030 iOS no longer correctly expires sessions
101+
this.skip();
102+
}
99103
// Set session duration to 1 millisecond
100104
firebase.analytics().setSessionTimeoutDuration(1);
101105
// Wait 100 millisecond to ensure session expires
@@ -1021,7 +1025,12 @@ describe('analytics()', function () {
10211025
});
10221026

10231027
it('returns a null value if session expires', async function () {
1028+
if (Platform.ios) {
1029+
// TODO - 20251030 iOS no longer correctly expires sessions
1030+
this.skip();
1031+
}
10241032
const { getAnalytics, getSessionId, setSessionTimeoutDuration } = analyticsModular;
1033+
10251034
// Set session duration to 1 millisecond
10261035
setSessionTimeoutDuration(getAnalytics(), 1);
10271036
// Wait 100 millisecond to ensure session expires

0 commit comments

Comments
 (0)