Feature: Configuración de Private Site
Scenarios
Chart |
Status Progress |
||||
---|---|---|---|---|---|
1
|
|
||||
Total duration: | |||||
1m 39.589s |
Scenario: Usuario se loguea exitosamente, hace que el sitio sea publico y luego hace logout
Before
0m 3.735s
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
0m 1.566s
When
I wait for 2 seconds
0m 2.877s
And
I enter "<ADMIN_EMAIL>" into element "#identification"
0m 1.052s
And
I enter "<ADMIN_PASSWORD>" into element "#password"
0m 0.403s
And
I click element "button[type='submit']"
0m 0.707s
When
I wait for 2 seconds
0m 2.452s
Then
I should be on the "http://localhost:2368/ghost/#/dashboard" page
0m 0.332s
And
I wait for 2 seconds
0m 3.085s
When
I navigate to page "http://localhost:2368/ghost/#/settings/locksite"
0m 0.518s
And
I wait for 2 seconds
0m 3.015s
And
I click element "//div[@data-testid='locksite']//button[normalize-space()='Edit']"
0m 0.648s
And
I wait for 2 seconds
0m 1.724s
And
I clear element "div[data-testid='locksite'] input[type='text']:first-of-type"
0m 0.587s
And
I wait for 2 seconds
0m 2.455s
And
I click element "//div[@data-testid='locksite']//*[@role='switch']"
0m 0.600s
And
I click element "//div[@data-testid='locksite']//button[normalize-space()='Save']"
0m 0.985s
And
I wait for 2 seconds
0m 2.368s
Then
I should see "Your site is not password protected" in element "//div[@data-testid='locksite']"
0m 0.132s
And
I wait for 2 seconds
0m 2.890s
And
I click element "//*[@data-testid='exit-settings']"
0m 0.413s
And
I wait for 2 seconds
0m 2.422s
When
I click element ".gh-user-avatar"
0m 1.049s
And
I click element ".user-menu-signout"
0m 0.549s
And
I wait for 2 seconds
0m 2.318s
Then
I should be on the "http://localhost:2368/ghost/#/signin" page
0m 0.417s
After
0m 0.290s
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 clear element "div[data-testid='locksite'] input[type='text']:first-of-type"
And
I wait for 2 seconds
And
I click element "//div[@data-testid='locksite']//*[@role='switch']"
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 not 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