mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
DEV: Add acceptance tests for bookmarks with reminders (#9592)
This commit is contained in:
@ -248,9 +248,9 @@ QUnit.test("remove featured link", async assert => {
|
||||
"link to remove featured link"
|
||||
);
|
||||
|
||||
await click('.title-wrapper .remove-featured-link');
|
||||
await click('.title-wrapper .submit-edit');
|
||||
assert.ok(!exists('.title-wrapper .topic-featured-link'), 'link is gone');
|
||||
await click(".title-wrapper .remove-featured-link");
|
||||
await click(".title-wrapper .submit-edit");
|
||||
assert.ok(!exists(".title-wrapper .topic-featured-link"), "link is gone");
|
||||
});
|
||||
|
||||
QUnit.test("Converting to a public topic", async assert => {
|
||||
@ -395,17 +395,6 @@ QUnit.test(
|
||||
}
|
||||
);
|
||||
|
||||
acceptance("Topic + Post Bookmarks with Reminders", {
|
||||
loggedIn: true
|
||||
});
|
||||
|
||||
QUnit.test("Bookmarks Modal", async assert => {
|
||||
await visit("/t/internationalization-localization/280");
|
||||
await click(".topic-post:first-child button.show-more-actions");
|
||||
await click(".topic-post:first-child button.bookmark");
|
||||
assert.ok(exists("#bookmark-reminder-modal"), "it shows the bookmark modal");
|
||||
});
|
||||
|
||||
acceptance("Topic with title decorated", {
|
||||
loggedIn: true,
|
||||
beforeEach() {
|
||||
|
Reference in New Issue
Block a user