- Powered by Odoo
| Unfollow
diff --git a/static/tests/core/search_highlight_test.js b/static/tests/core/search_highlight_test.js
index cd8a80a..22d47a6 100644
--- a/static/tests/core/search_highlight_test.js
+++ b/static/tests/core/search_highlight_test.js
@@ -17,18 +17,18 @@ QUnit.test("Search highlight", async (assert) => {
searchTerm: "odoo",
},
{
- input: 'https://www.odoo.com',
- output: `https://www.odoo.com`,
+ input: 'https://www.odoo.com',
+ output: `https://www.odoo.com`,
searchTerm: "odoo",
},
{
- input: 'Odoo',
- output: `Odoo`,
+ input: 'Odoo',
+ output: `Odoo`,
searchTerm: "odoo",
},
{
- input: 'OdooTalismanis a free software',
- output: `Odoo Odoo is a free software`,
+ input: 'OdooTalismanis a free software',
+ output: `Odoo Odoo is a free software`,
searchTerm: "odoo",
},
{
diff --git a/static/tests/discuss_app/discuss_tests.js b/static/tests/discuss_app/discuss_tests.js
index 2f516fa..83805f6 100644
--- a/static/tests/discuss_app/discuss_tests.js
+++ b/static/tests/discuss_app/discuss_tests.js
@@ -144,7 +144,7 @@ QUnit.test("Posting message should transform links.", async () => {
openDiscuss(channelId);
await insertText(".o-mail-Composer-input", "test https://www.odoo.com/");
await click(".o-mail-Composer-send:enabled");
- await contains("a[href='https://www.odoo.com/']");
+ await contains("a[href='#']");
});
QUnit.test("Posting message should transform relevant data to emoji.", async () => {
diff --git a/static/tests/message/link_preview_test.js b/static/tests/message/link_preview_test.js
index 1103254..c2d5c29 100644
--- a/static/tests/message/link_preview_test.js
+++ b/static/tests/message/link_preview_test.js
@@ -60,7 +60,7 @@ QUnit.test("simplest card layout", async () => {
og_description: "Description",
og_title: "Article title",
og_type: "article",
- source_url: "https://www.odoo.com",
+ source_url: "#",
});
const channelId = pyEnv["discuss.channel"].create({ name: "wololo" });
pyEnv["mail.message"].create({
@@ -84,7 +84,7 @@ QUnit.test("simplest card layout with image", async () => {
og_image: "https://c.tenor.com/B_zYdea4l-4AAAAC/yay-minions.gif",
og_title: "Article title",
og_type: "article",
- source_url: "https://www.odoo.com",
+ source_url: "#",
});
const channelId = pyEnv["discuss.channel"].create({ name: "wololo" });
pyEnv["mail.message"].create({
@@ -109,7 +109,7 @@ QUnit.test("Link preview video layout", async () => {
og_image: "https://c.tenor.com/B_zYdea4l-4AAAAC/yay-minions.gif",
og_title: "video title",
og_type: "video.other",
- source_url: "https://www.odoo.com",
+ source_url: "#",
});
const channelId = pyEnv["discuss.channel"].create({ name: "wololo" });
pyEnv["mail.message"].create({
@@ -179,7 +179,7 @@ QUnit.test("Remove link preview card", async () => {
og_description: "Description",
og_title: "Article title",
og_type: "article",
- source_url: "https://www.odoo.com",
+ source_url: "#",
});
const channelId = pyEnv["discuss.channel"].create({ name: "wololo" });
pyEnv["mail.message"].create({
@@ -204,7 +204,7 @@ QUnit.test("Remove link preview video", async () => {
og_image: "https://c.tenor.com/B_zYdea4l-4AAAAC/yay-minions.gif",
og_title: "video title",
og_type: "video.other",
- source_url: "https://www.odoo.com",
+ source_url: "#",
});
const channelId = pyEnv["discuss.channel"].create({ name: "wololo" });
pyEnv["mail.message"].create({
@@ -300,7 +300,7 @@ QUnit.test(
og_description: "Description",
og_title: "Article title",
og_type: "article",
- source_url: "https://www.odoo.com",
+ source_url: "#",
});
const channelId = pyEnv["discuss.channel"].create({ name: "wololo" });
pyEnv["mail.message"].create({
@@ -356,7 +356,7 @@ QUnit.test("Delete all link previews at once", async () => {
og_description: "Description",
og_title: "Article title 1",
og_type: "article",
- source_url: "https://www.odoo.com",
+ source_url: "#",
},
{
image_mimetype: "image/jpg",
|