import { acceptance, queryAll } from "discourse/tests/helpers/qunit-helpers"; import { click, visit } from "@ember/test-helpers"; import { test } from "qunit"; acceptance("Edit Notification Click", function (needs) { needs.user(); needs.pretender((server, helper) => { server.get("/posts/133/revisions/1.json", () => { return helper.response({ created_at: "2021-07-30T11:19:59.549Z", post_id: 133, previous_hidden: false, current_hidden: false, first_revision: 2, previous_revision: null, current_revision: 2, next_revision: null, last_revision: 2, current_version: 2, version_count: 2, username: "velesin", display_username: "velesin", avatar_template: "/letter_avatar_proxy/v4/letter/j/13edae/{size}.png", edit_reason: null, body_changes: { inline: '
Hello world this is a test
another edit!
Hello world this is a test
Hello world this is a test
This is an edit!
| Hello world this is a test | Hello world this is a test\n\nThis is an edit! |