diff --git a/.docker/test-OpenData.ini b/.docker/test-OpenData.ini index be29a348..cc6d52a6 100644 --- a/.docker/test-OpenData.ini +++ b/.docker/test-OpenData.ini @@ -113,6 +113,7 @@ ckan.plugins = data_qld_test xloader datastore + oidc_pkce ## ckanext-data_qld ckanext.data_qld.resource_formats = CSV HTML JSON RDF TXT XLS diff --git a/.docker/test-Publications.ini b/.docker/test-Publications.ini index c6bbdd50..e3e1be44 100644 --- a/.docker/test-Publications.ini +++ b/.docker/test-Publications.ini @@ -99,6 +99,7 @@ ckan.plugins = resource_type_validation qgovext csrf_filter + oidc_pkce # Define which views should be created by default # (plugins must be loaded in ckan.plugins) diff --git a/test/features/steps/steps.py b/test/features/steps/steps.py index 1aa0f108..dfe4f05d 100644 --- a/test/features/steps/steps.py +++ b/test/features/steps/steps.py @@ -76,7 +76,8 @@ def log_in(context): When I go to homepage And I expand the browser height And I press "Log in" - And I log in directly + Then I should see an element with xpath "//a[@href='/user/login/oidc-pkce']" + When I log in directly """)