Skip to content

Commit

Permalink
create test configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed May 16, 2024
1 parent 54ba9d7 commit 2e88fb1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/collabora.robot
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ Check if collabora is installed correctly
Set Suite Variable ${module_id} ${output.module_id}

Check if collabora can be configured
${rc} = Execute Command api-cli run module/${module_id}/configure-module --data '{}'
... return_rc=True return_stdout=False
Should Be Equal As Integers ${rc} 0

Check if collabora works as expected
${rc} = Execute Command curl -f http://127.0.0.1/collabora/
${rc} = Execute Command api-cli run module/${module_id}/configure-module --data '{
"host": "collabora.nethserver.org",
"http2https": true,
"lets_encrypt": true,
"admin_password": "password"}'
... return_rc=True return_stdout=False
Should Be Equal As Integers ${rc} 0

Expand Down

0 comments on commit 2e88fb1

Please sign in to comment.