Project Number Date
WordPress 1.0.3fa221 12 Jul 2022, 21:30

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Pages 51 0 0 0 0 51 10 0 10 5.024 Passed
Feature Pages
0.477
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Given I am authorized with a user with "administrator" role 0.255
When I make a request to retrieve all pages 0.220
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And response should have proper amount of pages 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.484
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Given I am authorized with a user with "subscriber" role 0.245
When I make a request to retrieve all pages 0.237
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And response should have proper amount of pages 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.505
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Given I am authorized with a user with "administrator" role 0.239
When I make a request to create a page with the following query params 0.248
content title excerpt
TestNG WordPress Page Content TestNG WordPress Title TestNG WordPress Excerpt
Then response should be "HTTP/1.1 201 Created" 0.000
And response should be valid and have a body 0.000
And page content should be correct 0.007
And page title should be correct 0.004
And page excerpt should be correct 0.004
After com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.afterCreateAPageFeature() 0.516
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.495
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.beforeRetrieveAPageFeature() 0.510
Given I am authorized with a user with "administrator" role 0.228
When I make a request to retrieve a page 0.248
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And proper page id should be returned 0.006
And page content should be correct 0.004
And page title should be correct 0.004
And page excerpt should be correct 0.004
After com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.afterCreateAPageFeature() 0.491
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.552
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.beforeRetrieveAPageFeature() 0.570
Given I am authorized with a user with "administrator" role 0.264
When I make a request to update a page with the following query params 0.267
content title excerpt
TestNG WordPress Content Updated TestNG WordPress Title Updated TestNG WordPress Excerpt Updated
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And proper page id should be returned 0.004
And page content should be correct 0.005
And page title should be correct 0.004
And page excerpt should be correct 0.005
After com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.afterCreateAPageFeature() 0.527
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.533
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.beforeRetrieveAPageFeature() 0.490
Given I am authorized with a user with "administrator" role 0.257
When I make a request to delete a page 0.265
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And page should be deleted 0.005
And proper page id should be returned 0.004
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.469
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.beforeRetrieveAPageFeature() 0.469
Given I am authorized with a user with "subscriber" role 0.235
When I make a request to create a page with the following query params 0.233
content title excerpt
TestNG WordPress Page Content TestNG WordPress Title TestNG WordPress Excerpt
Then response should be "HTTP/1.1 403 Forbidden" 0.000
After com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.afterCreateAPageFeatureAsSub() 0.509
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.494
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.beforeRetrieveAPageFeature() 0.488
Given I am authorized with a user with "subscriber" role 0.237
When I make a request to retrieve a page 0.257
Then response should be "HTTP/1.1 403 Forbidden" 0.000
After com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.afterCreateAPageFeatureAsSub() 0.501
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.497
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.beforeRetrieveAPageFeature() 0.491
Given I am authorized with a user with "subscriber" role 0.246
When I make a request to update a page with the following query params 0.250
content title excerpt
TestNG WordPress Content Updated TestNG WordPress Title Updated TestNG WordPress Excerpt Updated
Then response should be "HTTP/1.1 403 Forbidden" 0.000
After com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.afterCreateAPageFeatureAsSub() 0.479
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.514
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.PagesFeatureHook.beforeRetrieveAPageFeature() 0.481
Given I am authorized with a user with "subscriber" role 0.255
When I make a request to delete a page 0.258
Then response should be "HTTP/1.1 403 Forbidden" 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000