forked from conwetlab/ckanext-datarequests
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from qld-gov-au/develop
Develop to master - fix organisation activity stream for CKAN 2.10
- Loading branch information
Showing
6 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
if [ -d "$SRC_DIR/ckan/ckanext/activity" ]; then | ||
sed -i 's|^ckan.plugins =|ckan.plugins = activity|' $CKAN_INI .docker/test*.ini | ||
fi | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@users | ||
Feature: Organization APIs | ||
|
||
@unauthenticated | ||
Scenario: Organisation overview is accessible to everyone | ||
Given "Unauthenticated" as the persona | ||
When I go to organisation page | ||
Then I should see "Test Organisation" | ||
And I should not see an element with xpath "//a[contains(@href, '?action=read')]" | ||
And I should see an element with xpath "//a[contains(@href, '/organization/test-organisation')]" | ||
When I press "Test Organisation" | ||
And I press "Activity Stream" | ||
Then I should see "created the organization" | ||
|
||
When I view the "test-organisation" organisation API "not including" users | ||
Then I should see an element with xpath "//*[contains(string(), '"success": true') and contains(string(), '"name": "test-organisation"')]" | ||
|