Feature: Configuración de Private Site

Scenarios

Chart

Status

Progress

1

Passed

100.00%

Failed

0.00%
Total duration:
1m 43.812s

Scenario: Usuario se loguea exitosamente, hace que el sitio sea privado sin password y luego hace logout

Before 0m 3.740s
Given I navigate to page "http://localhost:2368/ghost/#/signin" 0m 1.655s
When I wait for 2 seconds 0m 2.185s
And I enter "<ADMIN_EMAIL>" into element "#identification" 0m 0.373s
And I enter "<ADMIN_PASSWORD>" into element "#password" 0m 0.685s
And I click element "button[type='submit']" 0m 1.362s
When I wait for 2 seconds 0m 2.341s
Then I should be on the "http://localhost:2368/ghost/#/dashboard" page 0m 0.336s
And I wait for 2 seconds 0m 2.573s
When I navigate to page "http://localhost:2368/ghost/#/settings/locksite" 0m 0.499s
And I wait for 2 seconds 0m 3.172s
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Edit']" 0m 0.376s
And I wait for 2 seconds 0m 2.893s
And I click element "//div[@data-testid='locksite']//*[@role='switch']" 0m 1.281s
And I wait for 2 seconds 0m 2.837s
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Save']" 0m 0.743s
And I wait for 2 seconds 0m 2.716s
Then I should see "Enter a password" in element "//div[@data-testid='locksite']" 0m 0.368s
And I wait for 2 seconds 0m 2.838s
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Cancel']" 0m 0.384s
And I wait for 2 seconds 0m 2.408s
And I click element "//*[@data-testid='exit-settings']" 0m 0.783s
And I wait for 2 seconds 0m 2.302s
When I click element ".gh-user-avatar" 0m 0.553s
And I click element ".user-menu-signout" 0m 0.552s
And I wait for 2 seconds 0m 2.735s
Then I should be on the "http://localhost:2368/ghost/#/signin" page 0m 0.337s
After 0m 0.785s

Screenshots

Before
NO IMAGE AVAILABLE
Given I navigate to page "http://localhost:2368/ghost/#/signin"
When I wait for 2 seconds
And I enter "<ADMIN_EMAIL>" into element "#identification"
And I enter "<ADMIN_PASSWORD>" into element "#password"
And I click element "button[type='submit']"
When I wait for 2 seconds
Then I should be on the "http://localhost:2368/ghost/#/dashboard" page
And I wait for 2 seconds
When I navigate to page "http://localhost:2368/ghost/#/settings/locksite"
And I wait for 2 seconds
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Edit']"
And I wait for 2 seconds
And I click element "//div[@data-testid='locksite']//*[@role='switch']"
And I wait for 2 seconds
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Save']"
And I wait for 2 seconds
Then I should see "Enter a password" in element "//div[@data-testid='locksite']"
And I wait for 2 seconds
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Cancel']"
And I wait for 2 seconds
And I click element "//*[@data-testid='exit-settings']"
And I wait for 2 seconds
When I click element ".gh-user-avatar"
And I click element ".user-menu-signout"
And I wait for 2 seconds
Then I should be on the "http://localhost:2368/ghost/#/signin" page
After
NO IMAGE AVAILABLE