-
Notifications
You must be signed in to change notification settings - Fork 7
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
86ebef3
commit 6131eae
Showing
3 changed files
with
26 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Feature: OpenFn? | ||
Does the OpenFn package work as expected | ||
|
||
Scenario: Init OpenFn | ||
Given I use parameters "package init -n=openfn --env-file=.env.local" | ||
When I launch the platform with params | ||
Then The service "openfn" should be started with 1 replica | ||
And There should be 3 service | ||
And The service "postgres-1" should be started with 1 replica | ||
And The service "worker" should be started with 1 replica | ||
And The service "openfn" should be connected to the networks | ||
| postgres_public | kafka_public | | ||
|
||
Scenario: Destroy OpenFn | ||
Given I use parameters "package destroy -n=openfn --env-file=.env.local" | ||
When I launch the platform with params | ||
Then The service "openfn" should be removed | ||
And The service "postgres-1" should be removed | ||
And The service "worker" should be removed | ||
And There should be 0 service | ||
And There should be 0 volume | ||
And There should be 0 config | ||
And There should not be network | ||
| postgres_public | kafka_public | |
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