Report

# Feature: Configuración de Private Site

## Scenarios

Chart | Status Progress
--- | ---

1

Passed | 100.00%

Failed | 0.00%

Total duration:
1m 15.541s

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

Before 0m 12.862s
Given I navigate to page "http://localhost:2368/ghost/#/signin" 0m 0.066s
When I wait for 2 seconds 0m 5.303s
And I enter "<ADMIN_EMAIL>" into element "#identification" 0m 3.231s
And I enter "<ADMIN_PASSWORD>" into element "#password" 0m 3.047s
And I click element "button[type='submit']" 0m 1.040s
When I wait for 2 seconds 0m 4.627s
Then I should be on the "http://localhost:2368/ghost/#/dashboard" page 0m 0.462s
And I wait for 2 seconds 0m 3.279s
When I navigate to page "http://localhost:2368/ghost/#/settings/locksite" 0m 0.635s
And I wait for 2 seconds 0m 2.497s
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Edit']" 0m 3.108s
And I wait for 2 seconds 0m 3.113s
And I click element "//div[@data-testid='locksite']//*[@role='switch']" -0m -0.665s
And I wait for 2 seconds 0m 5.541s
And I enter "12345" into element "div[data-testid='locksite'] input[type='text']:first-of-type" 0m 1.432s
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Save']" 0m 3.256s
And I wait for 2 seconds 0m 3.748s
Then I should see "Your site is password protected" in element "//div[@data-testid='locksite']" 0m 1.564s
And I wait for 2 seconds 0m 4.672s
And I click element "//*[@data-testid='exit-settings']" 0m 0.932s
And I wait for 2 seconds 0m 3.740s
When I click element ".gh-user-avatar" 0m 3.015s
And I click element ".user-menu-signout" 0m 1.101s
And I wait for 2 seconds 0m 1.373s
Then I should be on the "http://localhost:2368/ghost/#/signin" page 0m 0.819s
After 0m 1.743s

## 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 enter "12345" into element "div[data-testid='locksite'] input[type='text']:first-of-type"
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Save']"
And I wait for 2 seconds
Then I should see "Your site is password protected" in element "//div[@data-testid='locksite']"
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