Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The status of the skipped test case is pass in html Report of Katalon 5.10.1 #9

Open
ghost opened this issue Jan 14, 2019 · 7 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jan 14, 2019

Preconditions:

  • There are 2 test cases have been created
  • There is a test suite which contains 2 test cases above
  • Katalon version 5.10.1 is installed

Steps to reproduce:

  • Skip one test case in the test suite in precondition by using Test Listener
  • Run the test suite
  • Verify the status of 2 test cases in generated html report (under Reports folder)

Expected Behavior:

The status of html report should specify that 1 test case passed and 1 skipped

Actual Behavior: The status in html report is:

Status: 2 test total, 2 passed, 0 failed, 0 error, 0 incomplete

@trongbui
Copy link

trongbui commented Feb 7, 2019

https://katalon.zendesk.com/agent/tickets/219

One of the new feature introduced in Katalon studio 5.10.1 (testCaseContext.skipThisTestCase()) is really nice to have, and we have been experimenting with it. However, one problem we see with this is:

  • In the logs area, we do not see the overall count of skipped tests (besides count of passed, failed and error tests).
  • In the HTML report, the skipped tests appear to be marked as "Passed".

I believe this is a bug and needs to be addressed to generate reports with right information.

Requesting to please note this aspect.

One more thing, if there is provision to mention the reason for skipping in the form of a message, that would be great. This reason could be seen in the logs.
e.g.
String reasonToSkip = "This functional flow is not supported on browser A"
testCaseContext.skipThisTestCase(reasonToSkip)

@trongbui
Copy link

Just wondering about, approximately when could we expect the fix for this issue?

@dungleonhart
Copy link

This has been planned for 6.1 release. We might add API for users to manually mark the status of skipped test cases or really skip them from the report.

@trongbui
Copy link

trongbui commented Mar 7, 2019

For this one, I would really appreciate if the html report mentions the test case as Skipped, and we are allowed to pass the reason (e.g. in the form of string message). It is ok if we are required to write a specific statement in the script to mark it that way in html report.

That will avoid the confusion while analyzing the logs and html report (they will be consistent).

So all in all and as possible test cases, the skip status needs to be consistent at 3 locations (based on my understanding):

  1. The logs
  2. The reports - html report (may be the CSV or PDFs would be automatically taken care?)
  3. The report when opened in katalon view

Thanks and regards,
Tanmay

@devalex88 devalex88 transferred this issue from katalon-studio/katalon-studio Aug 7, 2019
@akshayuascs
Copy link

Any update on this issue?

@matt-piasecki
Copy link

This issue persists in version 7. Logs will display correctly at the end of test execution, but the report is still inconsistent with the actual results of execution.

@devalex88 devalex88 added the bug Something isn't working label Dec 15, 2019
@duyluonganh
Copy link
Collaborator

Hi all,

Displaying SKIP status has been supported in Katalon Studio v7.8 onward. Please check for update.

References: https://docs.katalon.com/katalon-studio/new/version-70.html#improvements-3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants