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.
Updated by okurz almost 4 years 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
Updated by okurz almost 4 years ago
Updated by okurz almost 4 years ago
- Due date set to 2020-10-14
- Status changed from In Progress to Feedback
Updated by okurz almost 4 years ago
- Status changed from Feedback to Resolved
PR merged, should be good.
Updated by okurz over 2 years ago
- Related to action #111542: [sporadic] openQA test t/ui/15-comments.t fails in 'heading text' size:M added
Actions