Feature: Enable newsletter sending
Scenarios
Chart |
Status Progress |
||||
---|---|---|---|---|---|
1
|
|
||||
Total duration: | |||||
1m 33.941s |
Scenario: Usuario se loguea exitosamente, habilita el newsletter sending y luego hace logout
Before
0m 2.802s
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
0m 1.263s
When
I wait for 2 seconds
0m 2.856s
And
I enter "<ADMIN_EMAIL>" into element "#identification"
0m 1.401s
And
I enter "<ADMIN_PASSWORD>" into element "#password"
0m 0.894s
And
I click element "button[type='submit']"
0m 0.957s
When
I wait for 2 seconds
0m 2.823s
Then
I should be on the "http://localhost:2368/ghost/#/dashboard" page
0m 0.354s
And
I wait for 2 seconds
0m 2.497s
When
I navigate to page "http://localhost:2368/ghost/#/settings/enable-newsletters"
0m 0.476s
And
I wait for 2 seconds
0m 2.617s
And
I click element "//div[@data-testid='enable-newsletters']//*[@role='switch']"
0m 0.766s
And
I wait for 2 seconds
0m 2.449s
Then
I should see "Enabled" in element "//div[@data-testid='enable-newsletters']"
0m 0.347s
And
I wait for 2 seconds
0m 2.451s
And
I click element "//*[@data-testid='exit-settings']"
0m 1.111s
And
I wait for 2 seconds
0m 2.675s
When
I click element ".gh-user-avatar"
0m 0.734s
And
I click element ".user-menu-signout"
0m 0.510s
And
I wait for 2 seconds
0m 2.270s
Then
I should be on the "http://localhost:2368/ghost/#/signin" page
0m 0.346s
After
0m 1.342s
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 "Enabled" 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