Skip to content

Commit

Permalink
Merge pull request #228 from qld-gov-au/develop
Browse files Browse the repository at this point in the history
Develop to master - apply link styling to the btn-link class
  • Loading branch information
ThrawnCA authored Nov 15, 2023
2 parents c3b091b + 9fcabad commit 133c7e9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CKAN_GIT_VERSION=$CKAN_VERSION
CKAN_GIT_ORG=qld-gov-au

if [ "$CKAN_VERSION" = "2.10" ]; then
CKAN_GIT_VERSION=ckan-2.10.1-qgov.7
CKAN_GIT_VERSION=ckan-2.10.1-qgov.10
PYTHON_VERSION=py3
PYTHON="${PYTHON}3"
else
Expand Down
7 changes: 5 additions & 2 deletions ckanext/data_qld/fanstatic/data_qld.css
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ div.account-masthead .account ul.unstyled li {
border: none;
}

div.account-masthead .account ul.unstyled li a {
div.account-masthead .account ul.unstyled li a,
div.account-masthead .account ul.unstyled li .btn-link {
color: #ffffff;
text-decoration: none;
line-height: 1rem;
Expand All @@ -327,7 +328,9 @@ div.account-masthead .account ul.unstyled li a {
}

div.account-masthead .account ul.unstyled li a:hover,
div.account-masthead .account ul.unstyled li a:focus {
div.account-masthead .account ul.unstyled li a:focus,
div.account-masthead .account ul.unstyled li .btn-link:hover,
div.account-masthead .account ul.unstyled li .btn-link:focus {
color: #ffffff;
background-color: #007eb1;
}
Expand Down
1 change: 1 addition & 0 deletions test/features/engagement_reporting.feature
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Feature: Engagement Reporting
When I log in
And I go to my reports page
And I press "Engagement Report"
And I take a debugging screenshot
And I press the element with xpath "//button[contains(string(), 'Show')]"
Then I should see an element with xpath "//tr[@id='dataset-followers']/td[contains(@class, 'metric-title') and string()='Dataset followers' and position()=1]"
And I should see an element with xpath "//tr[@id='dataset-followers']/td[contains(@class, 'metric-data') and string()='0' and position()=2]"
Expand Down
4 changes: 2 additions & 2 deletions test/features/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def log_in_directly(context):
assert context.persona, "A persona is required to log in, found [{}] in context. Have you configured the personas in before_scenario?".format(context.persona)
context.execute_steps(u"""
When I attempt to log in with password "$password"
Then I should see an element with xpath "//a[@title='Log out']"
Then I should see an element with xpath "//*[@title='Log out']/i[contains(@class, 'fa-sign-out')]"
""")


Expand Down Expand Up @@ -573,7 +573,7 @@ def go_to_admin_config(context):
@when(u'I log out')
def log_out(context):
context.execute_steps(u"""
When I visit "/user/_logout"
When I press the element with xpath "//*[@title='Log out']"
Then I should see "Log in"
""")

Expand Down

0 comments on commit 133c7e9

Please sign in to comment.