diff --git a/features/simple-examples/daniel-siepmann/local-sonar/available.feature b/features/simple-examples/daniel-siepmann/local-sonar/available.feature new file mode 100644 index 0000000..914d5da --- /dev/null +++ b/features/simple-examples/daniel-siepmann/local-sonar/available.feature @@ -0,0 +1,12 @@ +Feature: Sonarqube server is available + To reduce technical debts + Developers + Should be able to inspect there debts + + Scenario: Website is delivered + Given I am on "http://localhost:9898/" + Then the response status code should be 200 + + Scenario: Website delivers Projects + Given I am on "http://localhost:9898" + Then I should see "T3-EXTENSIONS news" diff --git a/features/simple-examples/daniel-siepmann/local-sonar/login.feature b/features/simple-examples/daniel-siepmann/local-sonar/login.feature new file mode 100644 index 0000000..00065d8 --- /dev/null +++ b/features/simple-examples/daniel-siepmann/local-sonar/login.feature @@ -0,0 +1,20 @@ +Feature: Sonarqube provides a login + To enable further features + A user + Should be able to login + + Scenario: Authentication failed + Given I am on "http://localhost:9898/" + Then I follow "Log in" + And I fill in "login" with "test" + And I fill in "password" with "test" + And I press "Log in" + Then I should see "Authentication failed." + + Scenario: Authentication successfully + Given I am on "http://localhost:9898/" + Then I follow "Log in" + And I fill in "login" with "admin" + And I fill in "password" with "admin" + And I press "Log in" + Then I should see "Administrator"