Skip to content

[MBL-19875][All] Add mobile_consent flag to auth session#3612

Merged
hermannakos merged 6 commits intomasterfrom
MBL-19875-webview-privacy-preference
Mar 31, 2026
Merged

[MBL-19875][All] Add mobile_consent flag to auth session#3612
hermannakos merged 6 commits intomasterfrom
MBL-19875-webview-privacy-preference

Conversation

@hermannakos
Copy link
Copy Markdown
Collaborator

refs: MBL-19875
affects: Student, Teacher, Parent
release note: none

test plan: You'll need local canvas to test as of now.

  1. Go to each section that uses a webview, and navigate around, while checking the following: There must be no console warning saying "OneTrust would initialize."
  2. The window.JS_ENV object should contain MOBILE_COOKIE_CONSENT with a boolean true value.
  3. Close the client.
  4. Set the mobile_consent passed-on value to “false”. Do the same as previously, MOBILE_COOKIE_CONSENT should show a boolean false value, and the console warning should not be visible.

refs: MBL-19875
affects: Student, Teacher, Parent
release note: none

test plan: You'll need local canvas to test as of now.
Go to each section that uses a webview, and navigate around, while checking the following:
There must be no console warning saying "OneTrust would initialize."
The window.JS_ENV object should contain MOBILE_COOKIE_CONSENT with a boolean true value.
Close the client.
Set the mobile_consent passed-on value to “false”.
Do the same as previously, MOBILE_COOKIE_CONSENT should show a boolean false value, and the console warning should not be visible.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 27, 2026

🧪 Unit Test Results

✅ 📱 Parent App

  • Tests: 315 total, 0 failed, 0 skipped
  • Duration: 35.852s
  • Success Rate: 100%

✅ 📱 Student App

  • Tests: 1252 total, 0 failed, 0 skipped
  • Duration: 0.000s
  • Success Rate: 100%

✅ 📱 Teacher App

  • Tests: 373 total, 0 failed, 0 skipped
  • Duration: 29.772s
  • Success Rate: 100%

✅ 🌅 Horizon

  • Tests: 790 total, 0 failed, 0 skipped
  • Duration: 38.812s
  • Success Rate: 100%

❌ 📦 Submodules

  • Tests: 494 total, 3 failed, 0 skipped
  • Duration: 6.119s
  • Success Rate: 99%
❌ Failed Tests (3)
  • com.instructure.canvasapi2.unit.CourseTest.courseIsBetweenValidDateRange_invalidSectionDates
  • com.instructure.canvasapi2.unit.CourseTest.courseIsBetweenValidDateRange_invalidTermDates
  • com.instructure.canvasapi2.unit.CourseTest.courseIsBetweenValidDateRange_restrictedToCourseDatesWithInValidDates

📊 Summary

  • Total Tests: 3224
  • Failed: 3
  • Skipped: 0
  • Status: ❌ 3 test(s) failed

Last updated: Tue, 31 Mar 2026 12:16:12 GMT

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 27, 2026

Parent Install Page

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 27, 2026

Teacher Install Page

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 27, 2026

Student Install Page

@github-actions
Copy link
Copy Markdown
Contributor

📊 Code Coverage Report

✅ Student

  • PR Coverage: 42.65%
  • Master Coverage: 42.64%
  • Delta: +0.01%

✅ Teacher

  • PR Coverage: 25.37%
  • Master Coverage: 25.37%
  • Delta: +0.00%

✅ Pandautils

  • PR Coverage: 23.68%
  • Master Coverage: 23.67%
  • Delta: +0.00%

📈 Overall Average

  • PR Coverage: 30.57%
  • Master Coverage: 30.56%
  • Delta: +0.00%

@hermannakos hermannakos merged commit bd998c1 into master Mar 31, 2026
15 of 18 checks passed
@hermannakos hermannakos deleted the MBL-19875-webview-privacy-preference branch March 31, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants