Repository navigation
[WIP] Shibboleth認証による一般ユーザー・管理者のログイン試験をCIに追加 - #57
Draft
yacchin1205 wants to merge 3 commits into
Draft
yacchin1205 wants to merge 3 commits into
yacchin1205 wants to merge 3 commits into
Conversation
yacchin1205
force-pushed
the
feature/shibboleth-e2e
branch
2 times, most recently
from
October 24, 2026 02:55
3dc5cf1 to
7babd44
Compare
yacchin1205
force-pushed
the
feature/shibboleth-e2e
branch
from
October 24, 2026 05:16
7babd44 to
9dc008d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
既存のCIではFakeCASを使用しているため、RDM-cas-overlayとShibboleth SPを通した認証を検証できません。CAS・SP・テスト用IdPをCIで起動し、学認DSでの所属機関選択から一般ユーザー・管理者のログインまでを継続的に確認できるようにします。
手動実行とCIで同じ手順を使用するため、既存のログインNotebookを利用します。
Changes
e2e-test.ymlのmatrixにuser-shibbolethとadmin-shibbolethを追加。DS選択、IdP認証、属性提供への同意、プロジェクトへのアクセスまたは管理メニューの表示、ログアウトを確認します。他のmatrixは引き続きFakeCASを使用します。RDM-cas-overlayとRDM-Shibboleth-SPをソースからビルドし、テスト用IdPと接続する設定を追加。学認Embedded DSにテストIdPを追加し、管理者権限はIdPの属性で付与します。CAS・SPのリポジトリとrefはPR本文と手動実行で指定でき、CAS_IMAGEを指定した場合はソースビルドより優先します。テスト手順-ログイン.ipynbで、DSのドロップダウン画像の読み込み完了を待ってからクリックするように変更します。scripts/playwright.pyで、失敗時のスクリーンショット取得前にコンテキストを取り除いていたため、後続のHAR・動画・コンソール保存まで進めない問題を修正します。あわせてJavaScriptエラーを記録します。Ticket
Custom Test Configuration