mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 12:38:21 -05:00
DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808)
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com> Co-Authored-By: David Taylor <david@taylorhq.com>
This commit is contained in:
co-authored by
Bianca Nenciu
David Taylor
parent
7896c74c2b
commit
f9648de897
@@ -25,6 +25,7 @@ acceptance("Topic - Edit timer", {
|
||||
});
|
||||
|
||||
QUnit.test("default", async assert => {
|
||||
replaceCurrentUser({ admin: true, staff: true, canManageTopic: true });
|
||||
const timerType = selectKit(".select-kit.timer-type");
|
||||
const futureDateInputSelector = selectKit(".future-date-input-selector");
|
||||
|
||||
@@ -45,6 +46,7 @@ QUnit.test("default", async assert => {
|
||||
});
|
||||
|
||||
QUnit.test("autoclose - specific time", async assert => {
|
||||
replaceCurrentUser({ admin: true, staff: true, canManageTopic: true });
|
||||
const futureDateInputSelector = selectKit(".future-date-input-selector");
|
||||
|
||||
await visit("/t/internationalization-localization");
|
||||
@@ -65,6 +67,7 @@ QUnit.test("autoclose - specific time", async assert => {
|
||||
});
|
||||
|
||||
QUnit.test("autoclose", async assert => {
|
||||
replaceCurrentUser({ admin: true, staff: true, canManageTopic: true });
|
||||
const futureDateInputSelector = selectKit(".future-date-input-selector");
|
||||
|
||||
await visit("/t/internationalization-localization");
|
||||
@@ -119,6 +122,7 @@ QUnit.test("autoclose", async assert => {
|
||||
});
|
||||
|
||||
QUnit.test("close temporarily", async assert => {
|
||||
replaceCurrentUser({ admin: true, staff: true, canManageTopic: true });
|
||||
const timerType = selectKit(".select-kit.timer-type");
|
||||
const futureDateInputSelector = selectKit(".future-date-input-selector");
|
||||
|
||||
@@ -160,6 +164,7 @@ QUnit.test("close temporarily", async assert => {
|
||||
});
|
||||
|
||||
QUnit.test("schedule", async assert => {
|
||||
replaceCurrentUser({ admin: true, staff: true, canManageTopic: true });
|
||||
const timerType = selectKit(".select-kit.timer-type");
|
||||
const categoryChooser = selectKit(".modal-body .category-chooser");
|
||||
const futureDateInputSelector = selectKit(".future-date-input-selector");
|
||||
@@ -208,6 +213,7 @@ QUnit.test("TL4 can't auto-delete", async assert => {
|
||||
});
|
||||
|
||||
QUnit.test("auto delete", async assert => {
|
||||
replaceCurrentUser({ admin: true, staff: true, canManageTopic: true });
|
||||
const timerType = selectKit(".select-kit.timer-type");
|
||||
const futureDateInputSelector = selectKit(".future-date-input-selector");
|
||||
|
||||
@@ -237,6 +243,7 @@ QUnit.test("auto delete", async assert => {
|
||||
QUnit.test(
|
||||
"Manually closing before the timer will clear the status text",
|
||||
async assert => {
|
||||
replaceCurrentUser({ admin: true, staff: true, canManageTopic: true });
|
||||
const futureDateInputSelector = selectKit(".future-date-input-selector");
|
||||
|
||||
await visit("/t/internationalization-localization");
|
||||
|
||||
Reference in New Issue
Block a user