Project

General

Profile

action #72319

unstable test: t/ui/15-comments.t "got: 'Demo wrote less than a minute ago (last edited less than a minute ago)'" expected: 'Demo wrote less than a minute ago' (2nd try)

Added by okurz 10 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Concrete Bugs
Target version:
Start date:
Due date:
2020-10-14
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

https://app.circleci.com/pipelines/github/os-autoinst/openQA/4435/workflows/cd37b812-c057-4990-a557-a0bab1695bdd/jobs/42476
shows

    # Subtest: add
[debug] [8YmjWcRI] POST "/api/v1/parent_groups/1/comments"
[debug] [8YmjWcRI] Routing to controller "OpenQA::Shared::Controller::Auth" and action "auth"
[debug] API auth by user: Demo, operator: 1
[debug] [8YmjWcRI] Routing to controller "OpenQA::WebAPI::Controller::API::V1::Comment" and action "create"
[debug] [8YmjWcRI] 200 OK (0.019251s, 51.945/s)
[debug] [j8Rvzc5Z] GET "/api/v1/parent_groups/1/comments/11"
[debug] [j8Rvzc5Z] Routing to controller "OpenQA::WebAPI::Controller::API::V1::Comment" and action "text"
[debug] [j8Rvzc5Z] 200 OK (0.017316s, 57.750/s)
        ok 1 - Wait for jQuery successful: comment added to group
        ok 2 - exactly one comment heading present
        ok 3 - exactly one comment body present
        not ok 4 - heading text

        #   Failed test 'heading text'
        #   at t/ui/15-comments.t line 99.
        #          got: 'Demo wrote less than a minute ago (last edited less than a minute ago)'
        #     expected: 'Demo wrote less than a minute ago'
        ok 5 - body text
        ok 6 - anchor matches expected format
        ok 7 - body found via anchor ref
        1..7
        # Looks like you failed 1 test of 7.
    not ok 2 - add

    #   Failed test 'add'
    #   at t/ui/15-comments.t line 130.

seems like the fix in #53771 in javascript only was not enough, changing the perl template code as well.


Related issues

Copied from openQA Project - action #53771: unstable test: t/ui/15-comments.t in line 102: "got: 'Demo wrote less than a minute ago (last edited less than a minute ago)'" expected: 'Demo wrote less than a minute ago'Resolved2019-07-03

History

#1 Updated by okurz 10 months ago

  • Copied from action #53771: unstable test: t/ui/15-comments.t in line 102: "got: 'Demo wrote less than a minute ago (last edited less than a minute ago)'" expected: 'Demo wrote less than a minute ago' added

#3 Updated by okurz 10 months ago

  • Due date set to 2020-10-14
  • Status changed from In Progress to Feedback

#4 Updated by okurz 10 months ago

  • Status changed from Feedback to Resolved

PR merged, should be good.

Also available in: Atom PDF