-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e4a5ed
commit 6313b5b
Showing
18 changed files
with
352 additions
and
564 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,27 @@ | ||
{ | ||
"scopes": [ | ||
"libs/pathway-design/server/pathway/business/src/lib/entities", | ||
"libs/pathway-design/server/pathway/business/src/lib/events", | ||
"libs/pathway-design/server/pathway/business/src/lib/factories", | ||
"libs/pathway-design/server/pathway/business/src/lib/ports", | ||
"libs/pathway-design/server/pathway/business/src/lib/value-objects", | ||
"libs/pathway-design/server/pathway/infrastructure/src/lib/persistence/common", | ||
"libs/pathway-design/server/pathway/infrastructure/src/lib/persistence/initialize/in-memory", | ||
"libs/pathway-design/server/pathway/interface-adapters/src/lib/initialize/controller", | ||
"libs/pathway-design/server/pathway/interface-adapters/src/lib/initialize/dtos", | ||
"libs/pathway-design/server/pathway/presenters/src/lib/toJson", | ||
"apps/pathway-design/server/src/app", | ||
"libs/pathway-design/server/pathway/application/src/lib/initialize/command", | ||
"libs/pathway-design/server/pathway/application/src/lib/initialize/usecase", | ||
"libs/pathway-design/server/pathway/application/src/lib/initialize/service" | ||
"scopes": [ | ||
"apps/pathway-design/server", | ||
"libs/common/events", | ||
"libs/common/tools", | ||
"libs/pathway-design/server/pathway" | ||
], | ||
"groups": [ | ||
"apps/pathway-design", | ||
"apps", | ||
"libs/common", | ||
"libs/pathway-design/server", | ||
"libs/pathway-design", | ||
"libs" | ||
], | ||
"entries": [], | ||
"teams": { | ||
"example-team-a": [ | ||
"John Doe", | ||
"Jane Doe" | ||
], | ||
"groups": [ | ||
"apps/pathway-design/server/src", | ||
"apps/pathway-design/server", | ||
"apps/pathway-design", | ||
"apps", | ||
"libs/pathway-design/server/pathway/application/src/lib/initialize", | ||
"libs/pathway-design/server/pathway/application/src/lib", | ||
"libs/pathway-design/server/pathway/application/src", | ||
"libs/pathway-design/server/pathway/application", | ||
"libs/pathway-design/server/pathway/business/src/lib", | ||
"libs/pathway-design/server/pathway/business/src", | ||
"libs/pathway-design/server/pathway/business", | ||
"libs/pathway-design/server/pathway/infrastructure/src/lib/persistence/initialize", | ||
"libs/pathway-design/server/pathway/infrastructure/src/lib/persistence", | ||
"libs/pathway-design/server/pathway/infrastructure/src/lib", | ||
"libs/pathway-design/server/pathway/infrastructure/src", | ||
"libs/pathway-design/server/pathway/infrastructure", | ||
"libs/pathway-design/server/pathway/interface-adapters/src/lib/initialize", | ||
"libs/pathway-design/server/pathway/interface-adapters/src/lib", | ||
"libs/pathway-design/server/pathway/interface-adapters/src", | ||
"libs/pathway-design/server/pathway/interface-adapters", | ||
"libs/pathway-design/server/pathway/presenters/src/lib", | ||
"libs/pathway-design/server/pathway/presenters/src", | ||
"libs/pathway-design/server/pathway/presenters", | ||
"libs/pathway-design/server/pathway", | ||
"libs/pathway-design/server", | ||
"libs/pathway-design", | ||
"libs" | ||
], | ||
"entries": [], | ||
"teams": { | ||
"example-team-a": ["John Doe", "Jane Doe"], | ||
"example-team-b": ["Max Muster", "Susi Sorglos"] | ||
} | ||
} | ||
"example-team-b": [ | ||
"Max Muster", | ||
"Susi Sorglos" | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -1 +1 @@ | ||
3601514f0819bed357d1b14c042a0d872079a336 | ||
642b80d2d427239e1c6fdcd349f22edd0f79d0e6, v1.1.6 |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -40,3 +40,6 @@ Thumbs.db | |
|
||
.nx/cache | ||
.nx/workspace-data | ||
|
||
# Detective | ||
.detective/log |
10 changes: 5 additions & 5 deletions
10
apps/pathway-design/server/src/specs/change-title-pathway/index.feature
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Feature: Change the title of a pathway in a memory database with json presenter | ||
Feature: Platform - Change the title of a pathway in a memory database with json presenter | ||
|
||
Scenario: I want to change the title of a learning pathway | ||
Scenario: I want to change the title of a learning pathway on the platform | ||
Given I am authenticated on the platform for change the title of the pathway in memory persistence and json presenter | ||
Given I have a pathway recorded in memory with these data | ||
Given I have a pathway on the platform recorded in memory with these data | ||
| title | description | researchField | | ||
| My Pathway | A test pathway | biology | | ||
When I want to change the title of the pathway in memory to "My New Pathway" | ||
Then I should receive from memory the new title of the pathway | ||
When I want to change the title of the pathway on the platform "My New Pathway" | ||
Then I should receive from the platform the new title of the pathway | ||
| title | | ||
| My New Pathway | | ||
|
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
10 changes: 5 additions & 5 deletions
10
apps/pathway-design/server/src/specs/initialize-pathway/index.feature
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
Feature: Initialize Pathway in a memory database with json presenter | ||
Feature: Platform - Initialize Pathway in a memory database with json presenter | ||
|
||
Scenario: I want to initialize a learning pathway | ||
Scenario: I want to initialize a learning pathway on the platform | ||
Given I am authenticated on the platform for initialize a pathway in memory persistence and json presenter | ||
When I want to initialize a pathway with these data | ||
When I want to initialize on the platform a pathway with these data | ||
| title | description | researchField | | ||
| My Pathway | A test pathway | biology | | ||
Then I should retrieve a pathway initialized with its data | ||
Then I should retrieve from the platform a pathway initialized with its data | ||
| title | description | researchField | | ||
| My Pathway | A test pathway | biology | | ||
Then The pathway should be have a unique identifier | ||
Then The pathway received from the platform should be have a unique identifier | ||
|
||
|
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
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
16 changes: 8 additions & 8 deletions
16
...way-design/server/pathway/business/src/lib/specs/change-name/change-title-pathway.feature
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Feature: Change the title of a pathway | ||
Feature: Business - Change the title of a pathway | ||
|
||
Scenario: I want to change the title of a pathway with a valid title | ||
Given I have a pathway with these data | ||
Scenario: I want to change the title of a pathway in business with a valid title | ||
Given I have a pathway in business with these data | ||
| title | description | researchField | | ||
| My Pathway | A test pathway | biology | | ||
When I change the title of the pathway to "My New Pathway" | ||
When I change the title of the pathway in business to "My New Pathway" | ||
Then It should apply an event indicating that the title of the pathway has been changed | ||
Then I should see the title of the pathway changed to "My New Pathway" | ||
Then I should see the title of the pathway in business changed to "My New Pathway" | ||
|
||
Scenario: I want to change the title of a pathway with an empty title | ||
Given I have a pathway with these data | ||
Given I have a pathway in business with these data | ||
| title | description | researchField | | ||
| My Pathway | A test pathway | biology | | ||
When I change the title of the pathway to "" | ||
Then I should see an error message "Title is required" during the title change | ||
When I change the title of the pathway in business to "" | ||
Then I should see an error message from business "Title is required" during the title change |
Oops, something went wrong.