Actions
action #72319
closedunstable 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)
Description
Observation¶
# 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.
Actions