Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
04737a9
Update metadata test selectors for new Ember registries UI
yacchin1205 Apr 5, 2026
a2a0ff1
Update metadata tests for new UI: bibliographic notebook and title la…
yacchin1205 Apr 5, 2026
ea75e74
Update DOI/non-admin/WEKO notebook selectors for new Ember registries UI
yacchin1205 Apr 5, 2026
d75e27c
Update multi-edit and eRad notebooks and metadata utility for new UI
yacchin1205 Apr 5, 2026
7c59577
Update KAKEN self and coauthor notebooks for new metadata UI
yacchin1205 Apr 5, 2026
5e428f4
Update non-admin notebook for new metadata UI
yacchin1205 Apr 6, 2026
4595b43
Update WEKO addon notebooks for new metadata UI
yacchin1205 Apr 6, 2026
0a35436
Fix eRad autocomplete locators to use tt-suggestion class
yacchin1205 Apr 6, 2026
6d8bb15
Fix Data manager (English) to use fill_name for NAME_TABLE field
yacchin1205 Apr 6, 2026
db8ad06
Fix WEKO metadata expected values for new metadata UI
yacchin1205 Apr 6, 2026
e148a73
Skip item_30002_date11 check temporarily - needs investigation
yacchin1205 Apr 6, 2026
749466a
Update DataManager contributor expected values for new name format
yacchin1205 Apr 6, 2026
a9040fc
Update DataManager contributor expected values in re-submission checks
yacchin1205 Apr 6, 2026
c2d6e00
Triple timeout for WEKO workflow result modal wait
yacchin1205 Apr 6, 2026
a179f0a
Split WEKO CI job into Direct and Workflow matrix entries
yacchin1205 Apr 7, 2026
4f81e48
Fix eRad notebook for metadata nav locator and removed access-rights …
yacchin1205 Apr 12, 2026
4d7ee09
Remove metadata-access-rights field and fix nav locators across noteb…
yacchin1205 Apr 13, 2026
116e326
Add item update test steps for Direct mode in WEKO evidence notebook
yacchin1205 Apr 13, 2026
47c0261
Replace hardcoded timeout=10000 with transition_timeout in Metadata a…
yacchin1205 Apr 13, 2026
81b8e44
Add example-wizard test notebook and split Workflow CI into roles/for…
yacchin1205 Apr 14, 2026
e447c59
Rename skip_erad_completion_test to skip_autofill and add user-metada…
yacchin1205 Apr 14, 2026
02edf68
Exercise example-wizard form controls with real input and verify end-…
yacchin1205 Apr 15, 2026
31b8ad4
Rewrite example-wizard buildSummary and assert wizard JSON by structure
yacchin1205 Apr 15, 2026
584ac30
Merge upstream/main into feature/new-metadata-ui
yacchin1205 Apr 19, 2026
a5a4b29
Add Workflow cumulative execution test notebook for abort/accumulate …
yacchin1205 Apr 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/scripts/generate_ci_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ if [[ "${WEKO}" == "true" ]]; then
WEKO_INDEX_NAME_VALUE=${WEKO_INDEX_NAME:-'Sample Index'}
WEKO_DOCKER_COMPOSE_PATH_VALUE=${WEKO_DOCKER_COMPOSE_PATH:-}
SWORD_MAPPING_ID_VALUE=${SWORD_MAPPING_ID:-30002}
WEKO_TEST_MODE_VALUE=${WEKO_TEST_MODE:-direct}
IGNORE_HTTPS_ERRORS_VALUE=${IGNORE_HTTPS_ERRORS:-false}

cat >> "${OUTPUT}" <<EOF
Expand All @@ -125,20 +126,26 @@ weko_institution_name: '${WEKO_INSTITUTION_NAME_VALUE}'
weko_index_name: '${WEKO_INDEX_NAME_VALUE}'
weko_docker_compose_path: '${WEKO_DOCKER_COMPOSE_PATH_VALUE}'
sword_mapping_id: ${SWORD_MAPPING_ID_VALUE}
weko_test_mode: '${WEKO_TEST_MODE_VALUE}'
ignore_https_errors: ${IGNORE_HTTPS_ERRORS_VALUE}
EOF
fi

if [[ "${FLOWABLE}" == "true" ]]; then
GATEWAY_BASE_URL_VALUE=${GATEWAY_BASE_URL:-http://192.168.168.167:8088/}
WORKFLOW_BATCH_PROJECT_COUNT_VALUE=${WORKFLOW_BATCH_PROJECT_COUNT:-50}
if [[ -z "${WORKFLOW_TEST_MODE:-}" ]]; then
echo "Error: WORKFLOW_TEST_MODE must be set when --flowable is enabled (one of: roles, forms, batch)" >&2
exit 1
fi

cat >> "${OUTPUT}" <<EOF

# Flowable Workflow settings
workflow_enabled: true
gateway_base_url: '${GATEWAY_BASE_URL_VALUE}'
workflow_batch_project_count: ${WORKFLOW_BATCH_PROJECT_COUNT_VALUE}
workflow_test_mode: '${WORKFLOW_TEST_MODE}'
EOF
else
cat >> "${OUTPUT}" <<'EOF'
Expand Down
69 changes: 64 additions & 5 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,20 @@ jobs:
include_admin: false
skip_admin: true
skip_metadata: false
skip_autofill: true
minio_enabled: false
weko_enabled: false
jupyterhub_enabled: false
flowable_enabled: false
- name: user-metadata
display_name: "User Tests (Metadata)"
include_admin: false
skip_admin: true
skip_metadata: false
skip_autofill: false
skip_default_storage: true
skip_login: true
skip_130mb_upload: true
minio_enabled: false
weko_enabled: false
jupyterhub_enabled: false
Expand Down Expand Up @@ -154,6 +168,7 @@ jobs:
include_admin: false
skip_admin: true
skip_metadata: false
skip_autofill: true
skip_default_storage: true
skip_login: true
skip_130mb_upload: true
Expand All @@ -175,8 +190,21 @@ jobs:
weko_enabled: false
jupyterhub_enabled: false
flowable_enabled: false
- name: user-weko
display_name: "User Tests (WEKO)"
- name: user-weko-direct
display_name: "User Tests (WEKO Direct)"
include_admin: true
skip_admin: true
skip_metadata: true
skip_default_storage: true
skip_login: true
skip_130mb_upload: true
minio_enabled: false
weko_enabled: true
weko_test_mode: direct
jupyterhub_enabled: false
flowable_enabled: false
- name: user-weko-workflow
display_name: "User Tests (WEKO Workflow)"
include_admin: true
skip_admin: true
skip_metadata: true
Expand All @@ -185,6 +213,7 @@ jobs:
skip_130mb_upload: true
minio_enabled: false
weko_enabled: true
weko_test_mode: workflow
jupyterhub_enabled: false
flowable_enabled: false
- name: user-jupyterhub
Expand All @@ -199,8 +228,34 @@ jobs:
weko_enabled: false
jupyterhub_enabled: true
flowable_enabled: false
- name: user-workflow
display_name: "User Tests (Flowable)"
- name: user-workflow-roles
display_name: "User Tests (Flowable Roles)"
include_admin: true
skip_admin: true
skip_metadata: true
skip_default_storage: true
skip_login: true
skip_130mb_upload: true
minio_enabled: false
weko_enabled: false
jupyterhub_enabled: false
flowable_enabled: true
workflow_test_mode: roles
- name: user-workflow-forms
display_name: "User Tests (Flowable Forms)"
include_admin: true
skip_admin: true
skip_metadata: true
skip_default_storage: true
skip_login: true
skip_130mb_upload: true
minio_enabled: false
weko_enabled: false
jupyterhub_enabled: false
flowable_enabled: true
workflow_test_mode: forms
- name: user-workflow-batch
display_name: "User Tests (Flowable Batch)"
include_admin: true
skip_admin: true
skip_metadata: true
Expand All @@ -211,6 +266,7 @@ jobs:
weko_enabled: false
jupyterhub_enabled: false
flowable_enabled: true
workflow_test_mode: batch
workflow_batch_project_count: 50
name: E2E ${{ matrix.test-group.display_name }}
env:
Expand Down Expand Up @@ -905,6 +961,7 @@ jobs:
echo "WEKO_INSTITUTION_NAME=Virginia Tech [Test]" >> $GITHUB_ENV
echo "WEKO_INDEX_NAME=Sample Index" >> $GITHUB_ENV
echo "WEKO_DOCKER_COMPOSE_PATH=${{ github.workspace }}/weko/docker-compose2.yml" >> $GITHUB_ENV
echo "WEKO_TEST_MODE=${{ matrix.test-group.weko_test_mode || 'direct' }}" >> $GITHUB_ENV
echo "IGNORE_HTTPS_ERRORS=true" >> $GITHUB_ENV

- name: Verify RDM containers can connect to WEKO via HTTPS
Expand All @@ -931,6 +988,7 @@ jobs:
run: |
echo "GATEWAY_BASE_URL=http://192.168.168.167:8088/" >> $GITHUB_ENV
echo "WORKFLOW_BATCH_PROJECT_COUNT=${{ matrix.test-group.workflow_batch_project_count || 50 }}" >> $GITHUB_ENV
echo "WORKFLOW_TEST_MODE=${{ matrix.test-group.workflow_test_mode }}" >> $GITHUB_ENV

- name: Install TLJH stack
if: env.JUPYTERHUB_ENABLED == 'true'
Expand Down Expand Up @@ -1069,8 +1127,9 @@ jobs:
skip_admin: ${{ matrix.test-group.skip_admin }}
skip_login: ${{ matrix.test-group.skip_login || false }}
weko_enabled: ${{ matrix.test-group.weko_enabled == true }}
weko_test_mode: ${{ matrix.test-group.weko_test_mode || 'direct' }}
enable_1gb_file_upload: false
skip_erad_completion_test: false
skip_autofill: ${{ matrix.test-group.skip_autofill == true }}
storages_oauth: []
EOF

Expand Down
Binary file added resources/example-wizard-workflow.zip
Binary file not shown.
Binary file added resources/wizard-upload.pdf
Binary file not shown.
9 changes: 7 additions & 2 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, config_path, show_disk_usage=False, failed_result_path=None):
self.skip_admin = False
self.skip_login = False
self.enable_1gb_file_upload = False
self.skip_erad_completion_test = False
self.skip_autofill = False
self.jupyterhub_enabled = False
self.tljh_url = None
self.tljh_username = None
Expand All @@ -62,6 +62,7 @@ def __init__(self, config_path, show_disk_usage=False, failed_result_path=None):
self.weko_index_name = None
self.weko_docker_compose_path = None
self.sword_mapping_id = 30002
self.weko_test_mode = 'direct'
self.ignore_https_errors = False
# S3CompatSigV4 specific parameters
self.s3compatsigv4_enabled = False
Expand All @@ -85,6 +86,7 @@ def __init__(self, config_path, show_disk_usage=False, failed_result_path=None):
self.idp_username_other_institution = None
self.idp_password_other_institution = None
self.workflow_batch_project_count = 50
self.workflow_test_mode = None
self.institution_name = None

# Exclude notebooks
Expand Down Expand Up @@ -374,7 +376,7 @@ def run_metadata_tests(self):
idp_username_2=getattr(self, 'idp_username_2', None),
idp_password_2=getattr(self, 'idp_password_2', None),
skip_failed_test=self.skip_failed_test,
skip_erad_completion_test=self.skip_erad_completion_test,
skip_autofill=self.skip_autofill,
exclude_notebooks=self.exclude_notebooks,
)
)
Expand Down Expand Up @@ -474,6 +476,7 @@ def run_weko_tests(self):
weko_index_name=self.weko_index_name,
weko_docker_compose_path=self.weko_docker_compose_path,
sword_mapping_id=self.sword_mapping_id,
weko_test_mode=self.weko_test_mode,
ignore_https_errors=self.ignore_https_errors,
idp_name_2=getattr(self, 'idp_name_2', None),
idp_username_2=getattr(self, 'idp_username_2', None),
Expand Down Expand Up @@ -506,6 +509,7 @@ def run_workflow_tests(self):
'idp_username_other_institution',
'idp_password_other_institution',
'institution_name',
'workflow_test_mode',
]
if not getattr(self, name, None)
]
Expand All @@ -532,6 +536,7 @@ def run_workflow_tests(self):
idp_password_other_institution=self.idp_password_other_institution,
batch_project_count=self.workflow_batch_project_count,
institution_name=self.institution_name,
workflow_test_mode=self.workflow_test_mode,
skip_failed_test=self.skip_failed_test,
exclude_notebooks=self.exclude_notebooks,
)
Expand Down
Loading
Loading