This repository has been archived by the owner on May 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(AAE-1291): add multi instance cloud connector and test error con…
…nector scenarios (#919) * feat(AAE-1291): add multi instance cloud connector test scenario * fix: add connector error propagation test scenario
- Loading branch information
Showing
2 changed files
with
86 additions
and
7 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
22 changes: 20 additions & 2 deletions
22
...tests/src/main/resources/stories/runtime-bundle/process-instance-connectors-actions.story
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,30 @@ | ||
Meta: | ||
Narrative: | ||
As a user | ||
I want to perform operations os processes containing connectors | ||
I want to perform operations of processes containing connectors | ||
|
||
Scenario: Start a process containing cloud connector | ||
Given the user is authenticated as testuser | ||
And the user provides a variable named movieToRank with value The Lord of The Rings | ||
When the user starts an instance of process called RankMovieId with the provided variables | ||
Then the process instance has a variable named movieToRank with value The Lord of The Rings | ||
And the process instance has a variable named movieDesc with value The Lord of the Rings is an epic high fantasy novel written by English author and scholar J. R. R. Tolkien | ||
And the process instance has a task named Add Rating | ||
And the process instance has a task named Add Rating | ||
|
||
Scenario: Complete a process containing multi-instance cloud connector | ||
Given the user is authenticated as testuser | ||
And the user provides an integer variable named instanceCount with value 3 | ||
When the user starts an instance of process called miParallelCloudConnector with the provided variables | ||
Then the query process instance has an integer variable named instanceCount with value 3 | ||
And the query process instance has an integer variable named executionCount with value 3 | ||
And the query process instance has an integer variable named nrOfInstances with value 3 | ||
And the query process instance has an integer variable named nrOfCompletedInstances with value 3 | ||
And the query process instance has an integer variable named nrOfActiveInstances with value 0 | ||
And the query process instance has an integer variable named loopCounter with value 0 | ||
And the status of the process is changed to completed | ||
|
||
Scenario: Propagate integration error for a process containing cloud connector to audit | ||
Given the user is authenticated as testuser | ||
And the user provides a variable named var with value test | ||
When the user starts an instance of process called testErrorConnectorProcess with the provided variables | ||
Then integration error event is emitted for the process |