Feature: Configuración de Private Site

Scenarios

Chart

Status

Progress

1

Passed

100.00%

Failed

0.00%
Total duration:
1m 40.853s

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

Before 0m 3.183s
Given I navigate to page "http://localhost:2368/ghost/#/signin" 0m 1.473s
When I wait for 2 seconds 0m 2.355s
And I enter "<ADMIN_EMAIL>" into element "#identification" 0m 0.912s
And I enter "<ADMIN_PASSWORD>" into element "#password" 0m 0.733s
And I click element "button[type='submit']" 0m 0.893s
When I wait for 2 seconds 0m 2.490s
Then I should be on the "http://localhost:2368/ghost/#/dashboard" page 0m 0.310s
And I wait for 2 seconds 0m 2.433s
When I navigate to page "http://localhost:2368/ghost/#/settings/locksite" 0m 0.580s
And I wait for 2 seconds 0m 2.957s
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Edit']" 0m 1.010s
And I wait for 2 seconds 0m 2.790s
And I click element "//div[@data-testid='locksite']//*[@role='switch']" 0m 0.407s
And I wait for 2 seconds 0m 2.498s
And I enter "12345" into element "div[data-testid='locksite'] input[type='text']:first-of-type" 0m 0.588s
And I click element "//div[@data-testid='locksite']//button[normalize-space()='Save']" 0m 1.058s
And I wait for 2 seconds 0m 2.449s
Then I should see "Your site is password protected" in element "//div[@data-testid='locksite']" 0m 0.778s
And I wait for 2 seconds 0m 2.732s
And I click element "//*[@data-testid='exit-settings']" 0m 0.672s
And I wait for 2 seconds 0m 2.432s
When I click element ".gh-user-avatar" 0m 0.577s
And I click element ".user-menu-signout" 0m 0.540s
And I wait for 2 seconds 0m 2.741s
Then I should be on the "http://localhost:2368/ghost/#/signin" page 0m 0.352s
After 0m 0.910s

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