qase-tms/qase-javascript

[BUG][Playwright] Tests don't appear in Test Run when using incorrect parameter

Opened this issue · 3 comments

When submitting tests with an incorrect or non-existent parameter name, the tests do not appear in the Test Run within Qase, despite being executed and assigned a test case ID.

Test case:

telegram-cloud-photo-size-2-5416106429619759400-y

test(`Check copy button on result screen for Project`, async ({ browserName }) => {
    qase.id(1527);
    qase.parameters({ 'Document type': 'Project', Browser: browserName });
    // Test implementation...
});

Result:
telegram-cloud-photo-size-2-5416106429619759403-y

test(`Check copy button on result screen for Project`, async ({ browserName }) => {
    qase.id(1527);
    qase.parameters({ 'f type': 'Project', Browser: browserName });
    // Test implementation...
});

Logs show that we successfully sent:

[DEBUG] qase: Results sent to Qase: 6 
[INFO] qase: Run 45 completed

Result:
telegram-cloud-photo-size-2-5416106429619759405-y

Actual Result:
The test does not appear in the Test Run, even though it is executed and assigned the correct test case ID.

Expected Result is at your discretion:

  • Show error in logs
  • Update test-case with id 1527
  • Show error near the case in Test Run

But it is definitely necessary to show the test in the test run!

gibiw commented

@ekaterinakuchmistova Hello! Thank you for reaching out. Could you please show the update settings for test cases in the project configuration?

image

It was disabled. But after enabling it continues to not appear in the test run:

telegram-cloud-photo-size-2-5429616043090897579-y

telegram-cloud-photo-size-2-5429616043090897590-y

By the way, test case is updated correctly