Skip to content

Commit

Permalink
[QOLSVC-5478] add SSO login link to test expectations
Browse files Browse the repository at this point in the history
- We don't have an easy way to test the functionality, but we should test its presence.
  • Loading branch information
ThrawnCA committed Oct 18, 2024
1 parent 8de33f8 commit 2ef1b95
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .docker/test-OpenData.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .docker/test-Publications.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion test/features/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
""")


Expand Down

0 comments on commit 2ef1b95

Please sign in to comment.