Skip to content

Conversation

@kalinkrustev
Copy link
Contributor

@kalinkrustev kalinkrustev commented Mar 12, 2025

This enhances the data sent to the release tracking service by adding assertions.
The key is created by combining these new optional properties:

  • testCaseId (fall back to test case name)
  • requestId (fall back to request id)
  • assertId (fall back to assert id)
{
  'tests.manual-test': {
    testReportId: 'manual-test_2025-03-12T16:49:06.906Z',
    completedTimeISO: '2025-03-12T16:49:06.906Z',
    startedTime: 'Wed, 12 Mar 2025 16:49:06 GMT',
    completedTime: '2025-03-12T16:49:06.906Z',
    completedTimeUTC: 'Wed, 12 Mar 2025 16:49:06 GMT',
    runDurationMs: 296,
    avgResponseTime: 'NA',
    totalAssertions: 2,
    totalPassedAssertions: 2,
    assertions: {
      'setupHubAccounts.addHubAccount.status201': 'SUCCESS', // the new properties are set
      'Setup Hub accounts.2.1': 'SKIPPED' // fallback when the new properties are not
    }
  }
}

It also adds a ----brief-summary-prefix for a brief format for the Slack notifications, as in this example comparing notifications for passed and failed tests:
image

@kalinkrustev kalinkrustev merged commit 8a6dd8b into main Mar 13, 2025
9 checks passed
@kalinkrustev kalinkrustev deleted the feat/release-assertions branch March 13, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants