mirror of
https://github.com/discourse/discourse.git
synced 2025-03-23 22:58:53 +08:00
DEV: Skip tests instead of commenting out.
This commit is contained in:
parent
44eba0bb60
commit
287e780f22
@ -1,25 +1,25 @@
|
|||||||
// import { acceptance } from "helpers/qunit-helpers";
|
import { acceptance } from "helpers/qunit-helpers";
|
||||||
|
|
||||||
// acceptance("Composer - Edit conflict", {
|
acceptance("Composer - Edit conflict", {
|
||||||
// loggedIn: true,
|
loggedIn: true,
|
||||||
|
|
||||||
// pretend(server, helper) {
|
pretend(server, helper) {
|
||||||
// server.put("/posts/18", () => {
|
server.put("/posts/18", () => {
|
||||||
// return helper.response(409, { errors: ["edit conflict"] });
|
return helper.response(409, { errors: ["edit conflict"] });
|
||||||
// });
|
});
|
||||||
// }
|
}
|
||||||
// });
|
});
|
||||||
|
|
||||||
// QUnit.test("Edit a post that causes an edit conflict", async assert => {
|
QUnit.skip("Edit a post that causes an edit conflict", async assert => {
|
||||||
// await visit("/t/this-is-a-test-topic/9");
|
await visit("/t/this-is-a-test-topic/9");
|
||||||
// await click(".topic-post:eq(0) button.show-more-actions");
|
await click(".topic-post:eq(0) button.show-more-actions");
|
||||||
// await click(".topic-post:eq(0) button.edit");
|
await click(".topic-post:eq(0) button.edit");
|
||||||
// await click("#reply-control button.create");
|
await click("#reply-control button.create");
|
||||||
// assert.equal(
|
assert.equal(
|
||||||
// find("#reply-control button.create")
|
find("#reply-control button.create")
|
||||||
// .text()
|
.text()
|
||||||
// .trim(),
|
.trim(),
|
||||||
// I18n.t("composer.overwrite_edit"),
|
I18n.t("composer.overwrite_edit"),
|
||||||
// "it shows the overwrite button"
|
"it shows the overwrite button"
|
||||||
// );
|
);
|
||||||
// });
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user