Feature: Enable newsletter sending
Scenarios
Chart |
Status Progress |
||||
---|---|---|---|---|---|
1
|
|
||||
Total duration: | |||||
1m 34.518s |
Scenario: Usuario se loguea exitosamente, deshabilita el newletter sending y luego hace logout
Before
0m 4.069s
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
0m 1.406s
When
I wait for 2 seconds
0m 2.923s
And
I enter "<ADMIN_EMAIL>" into element "#identification"
0m 0.794s
And
I enter "<ADMIN_PASSWORD>" into element "#password"
0m 0.615s
And
I click element "button[type='submit']"
0m 1.148s
When
I wait for 2 seconds
0m 2.750s
Then
I should be on the "http://localhost:2368/ghost/#/dashboard" page
0m 0.233s
And
I wait for 2 seconds
0m 2.688s
When
I navigate to page "http://localhost:2368/ghost/#/settings/enable-newsletters"
0m 0.502s
And
I wait for 2 seconds
0m 2.997s
And
I click element "//div[@data-testid='enable-newsletters']//*[@role='switch']"
0m 1.074s
And
I wait for 2 seconds
0m 2.612s
Then
I should see "Disabled" in element "//div[@data-testid='enable-newsletters']"
0m 0.254s
And
I wait for 2 seconds
0m 2.366s
And
I click element "//*[@data-testid='exit-settings']"
0m 0.578s
And
I wait for 2 seconds
0m 2.320s
When
I click element ".gh-user-avatar"
0m 0.711s
And
I click element ".user-menu-signout"
0m 0.523s
And
I wait for 2 seconds
0m 2.606s
Then
I should be on the "http://localhost:2368/ghost/#/signin" page
0m 0.364s
After
0m 0.985s
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/enable-newsletters"
And
I wait for 2 seconds
And
I click element "//div[@data-testid='enable-newsletters']//*[@role='switch']"
And
I wait for 2 seconds
Then
I should see "Disabled" in element "//div[@data-testid='enable-newsletters']"
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