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

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@DeleteACommentAsSubscriber 4 0 0 0 0 4 1 0 1 0.523 Passed
Feature: Comments
0.523
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.beforeRetrieveAComment() 0.488
Given I am authorized with a user with "subscriber" role 0.251
When I make a request to delete a comment 0.253
Then response should be "HTTP/1.1 403 Forbidden" 0.000
And response should be invalid and have a body with the following values 0.017
code message
rest_cannot_delete Sorry, you are not allowed to delete this comment.
After com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.afterCreateAComment() 0.540
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