AutorÃa | Ultima modificación | Ver Log |
@auth @auth_oauth2 @javascriptFeature: OAuth2 settings test functionalityIn order to use them later for authenticationAs an administratorI need to be able to test configured OAuth2 login services.Background:Given I log in as "admin"And I change window size to "large"Scenario: Test oAuth2 authentication settings with no configured service.Given I navigate to "Plugins > Authentication > Manage authentication" in site administrationAnd I click on "Test settings" "link" in the "OAuth 2" "table_row"Then I should see "There are no configured OAuth2 providers"Scenario: Test oAuth2 authentication settings for a configured service.Given I navigate to "Server > OAuth 2 services" in site administrationAnd I press "Google"And I set the following fields to these values:| Name | Testing service || Client ID | thisistheclientid || Client secret | supersecret |And I press "Save changes"And I navigate to "Plugins > Authentication > Manage authentication" in site administrationAnd I click on "Test settings" "link" in the "OAuth 2" "table_row"Then I should see "Testing service"