Report

# Feature: Configuración de Private Site

## Scenarios

Chart | Status Progress
--- | ---

1

Passed | 100.00%

Failed | 0.00%

Total duration:
2m 32.575s

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

Before 0m 13.757s
Given I navigate to page "http://localhost:2368/ghost/#/signin" 0m 3.604s
When I wait for 2 seconds 0m 1.271s
And I enter "<ADMIN_EMAIL>" into element "#identification" 0m 4.084s
And I enter "<ADMIN_PASSWORD>" into element "#password" 0m 3.213s
And I click element "button[type='submit']" 0m 1.339s
When I wait for 2 seconds 0m 2.630s
Then I should be on the "http://localhost:2368/ghost/#/dashboard" page 0m 0.691s
And I wait for 2 seconds 0m 3.960s
When I navigate to page "http://localhost:2368/ghost/#/settings/locksite" 0m 1.516s
And I wait for 2 seconds 0m 6.796s
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Edit']" 0m 3.654s
And I wait for 2 seconds 0m 2.390s
And I click element "//div[@data-testid='locksite']//*[@role='switch']" 0m 3.471s
And I wait for 2 seconds 0m 5.343s
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Save']" 0m 4.638s
And I wait for 2 seconds 0m 5.090s
Then I should see "Enter a password" in element "//div[@data-testid='locksite']" 0m 0.353s
And I wait for 2 seconds 0m 5.289s
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Cancel']" 0m 3.219s
And I wait for 2 seconds 0m 3.531s
And I click element "//*[@data-testid='exit-settings']" 0m 1.370s
And I wait for 2 seconds 0m 0.529s
When I click element ".gh-user-avatar" 0m 1.444s
And I click element ".user-menu-signout" 0m 0.616s
And I wait for 2 seconds 0m 4.140s
Then I should be on the "http://localhost:2368/ghost/#/signin" page 0m 0.782s
After 0m 3.855s

## 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