DEV: Quick fix to flaky test (#15644)
We know that the real problem has got to do with cloaking (/t/10298), but while we find out precisely why, here's a quick fix. Similar to #15627
This commit is contained in:
parent
12f041de5d
commit
3050fe893b
|
@ -309,8 +309,8 @@ acceptance("Composer Actions", function (needs) {
|
|||
test("replying to post - toggle_topic_bump", async function (assert) {
|
||||
const composerActions = selectKit(".composer-actions");
|
||||
|
||||
await visit("/t/internationalization-localization/280");
|
||||
await click("article#post_3 button.reply");
|
||||
await visit("/t/short-topic-with-two-posts/54077");
|
||||
await click("article#post_2 button.reply");
|
||||
|
||||
assert.ok(
|
||||
!exists(".composer-actions svg.d-icon-anchor"),
|
||||
|
@ -352,8 +352,8 @@ acceptance("Composer Actions", function (needs) {
|
|||
test("replying to post - whisper and no bump", async function (assert) {
|
||||
const composerActions = selectKit(".composer-actions");
|
||||
|
||||
await visit("/t/internationalization-localization/280");
|
||||
await click("article#post_3 button.reply");
|
||||
await visit("/t/short-topic-with-two-posts/54077");
|
||||
await click("article#post_2 button.reply");
|
||||
|
||||
assert.ok(
|
||||
!exists(".composer-actions svg.d-icon-far-eye-slash"),
|
||||
|
|
|
@ -43,7 +43,7 @@ acceptance("Share and Invite modal", function (needs) {
|
|||
});
|
||||
|
||||
test("Post date link", async function (assert) {
|
||||
await visit("/t/internationalization-localization/280");
|
||||
await visit("/t/short-topic-with-two-posts/54077");
|
||||
await click("#post_2 .post-info.post-date a");
|
||||
|
||||
assert.ok(exists("#share-link"), "it shows the share modal");
|
||||
|
|
Loading…
Reference in New Issue