From 23c59eabf854342a910722a14e67a166b8216483 Mon Sep 17 00:00:00 2001 From: Valery Yatsynovich Date: Tue, 17 Sep 2024 11:14:13 +0300 Subject: [PATCH] [tests] Update URL for basic authentication test The change is caused by this update: https://github.com/mccutchen/go-httpbin/commit/dff73e22ea7b9c01176a1225a8fbc410cf3a25b6 --- docs/modules/plugins/pages/plugin-web-app.adoc | 2 +- .../properties/environment/system/web/environment.properties | 2 +- .../src/main/resources/story/system/BasicAuthentication.story | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modules/plugins/pages/plugin-web-app.adoc b/docs/modules/plugins/pages/plugin-web-app.adoc index efdaae2eff..8edc210efc 100644 --- a/docs/modules/plugins/pages/plugin-web-app.adoc +++ b/docs/modules/plugins/pages/plugin-web-app.adoc @@ -143,7 +143,7 @@ multiple configurations for authentication on different websites. ---- web-application.basic-authentication.httpbingo.url-regex=https:\/\/httpbingo\.org web-application.basic-authentication.httpbingo.username=user -web-application.basic-authentication.httpbingo.password=passwd +web-application.basic-authentication.httpbingo.password=password web-application.basic-authentication.example.url-regex=.*example\.org web-application.basic-authentication.example.username=admin diff --git a/vividus-tests/src/main/resources/properties/environment/system/web/environment.properties b/vividus-tests/src/main/resources/properties/environment/system/web/environment.properties index 79c526af78..3ad8d1c903 100644 --- a/vividus-tests/src/main/resources/properties/environment/system/web/environment.properties +++ b/vividus-tests/src/main/resources/properties/environment/system/web/environment.properties @@ -9,4 +9,4 @@ applitools.server-uri=https://eyes.applitools.com/ web-application.basic-authentication.httpbingo.url-regex=https:\/\/httpbingo\.org web-application.basic-authentication.httpbingo.username=user -web-application.basic-authentication.httpbingo.password=passwd +web-application.basic-authentication.httpbingo.password=password diff --git a/vividus-tests/src/main/resources/story/system/BasicAuthentication.story b/vividus-tests/src/main/resources/story/system/BasicAuthentication.story index 4046fd6856..39a0f2b9ef 100644 --- a/vividus-tests/src/main/resources/story/system/BasicAuthentication.story +++ b/vividus-tests/src/main/resources/story/system/BasicAuthentication.story @@ -3,5 +3,5 @@ Meta: Scenario: Authorization test using the "httpbingo" basic authentication configuration Given I am on page with URL `https://httpbingo.org` -When I click on element located by `linkUrl(/basic-auth/user/passwd)` +When I click on element located by `linkUrl(/basic-auth/user/password)` Then text `"authorized": true` exists