Skip to content

Commit

Permalink
Merge pull request #59 from ikanias/import_provider_account_dev_crdb_…
Browse files Browse the repository at this point in the history
…updated

[RHODA][Infrastructure] - Adding CLI tests for cockroachDB and CrunchyDB import provider account f…
  • Loading branch information
mergify[bot] authored Aug 16, 2022
2 parents 74bb437 + 5f17300 commit e84ace8
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/cockroach_provision_cli.robot
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
*** Settings ***
Documentation Provision and Deploy CockroachDB Database Instance from Developer View
Metadata Version 0.0.1

Resource ../resources/keywords/provision_dbinstance.resource

Suite Setup Set Library Search Order SeleniumLibrary
Suite Teardown Tear Down The Test Suite
Test Setup Given Login To OpenShift CLI
Test Teardown Logout Of OpenShift CLI


*** Test Cases ***
Scenario: Provision CockroachDB Database Instance On Default Namespace Using OC CLI
[Tags] smoke RHOD-262-adm
When User Provisions New CockroachDB Instance On Default Namespace Using OC CLI
Then DB Instance Provisioned Successfully On Default Namespace Using OC CLI

7 changes: 7 additions & 0 deletions tests/cockroachdb_import_connect.robot
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ Test Teardown Close Browser


*** Test Cases ***
Scenario: Import CockroachDB Provider Account From Developer View
[Tags] smoke RHOD-180
When User Navigates To Add CockroachDB Topology Screen From Developer View
And User Navigates To Import Provider Account Screen From Developer View
And User Enters Data To Import CockroachDB Provider Account
Then Provider Account Import Success

Scenario: Verify error message for invalid credentials on CockroachDB
[Tags] smoke
When User Filters Project redhat-dbaas-operator On Project DropDown And Navigates To Database Access Page
Expand Down
17 changes: 17 additions & 0 deletions tests/crunchy_provision_cli.robot
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
*** Settings ***
Documentation Provision and Deploy CrunchyDB Database Instance from Developer View
Metadata Version 0.0.1

Resource ../resources/keywords/provision_dbinstance.resource

Suite Setup Set Library Search Order SeleniumLibrary
Suite Teardown Tear Down The Test Suite
Test Setup Given Login To OpenShift CLI
Test Teardown Logout Of OpenShift CLI


*** Test Cases ***
Scenario: Provision CrunchyDB Database Instance On Default Namespace Using OC CLI
[Tags] smoke RHOD-261-adm
When User Provisions New CrunchyDB Instance On Default Namespace Using OC CLI
Then DB Instance Provisioned Successfully On Default Namespace Using OC CLI

0 comments on commit e84ace8

Please sign in to comment.