diff options
| author | Xavier Dubuc <xdu@odoo.com> | 2020-12-02 09:32:47 +0000 |
|---|---|---|
| committer | Xavier Dubuc <xdu@odoo.com> | 2020-12-04 09:43:08 +0000 |
| commit | 42f923eac4320c6be733dcbc7d269c64d09b4609 (patch) | |
| tree | 13bdc2dceebe301f173689f6b7127ce0da1267fa /addons/mail/static/src/components/attachment_box/attachment_box_tests.js | |
| parent | 329b00365e7b7702eb4923443c99ddac13340ae8 (diff) | |
[FIX] mail: split attachments list to improve style
There is now two lists of attachments : first one with images and second
one with non-images. Attachment viewer allows to navigate through
previews of all viewable attachments in the order they're shown.
task-2272587
task-2401325
closes odoo/odoo#62866
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/attachment_box/attachment_box_tests.js')
| -rw-r--r-- | addons/mail/static/src/components/attachment_box/attachment_box_tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/components/attachment_box/attachment_box_tests.js b/addons/mail/static/src/components/attachment_box/attachment_box_tests.js index 6f217c2b5d7..885742b72cc 100644 --- a/addons/mail/static/src/components/attachment_box/attachment_box_tests.js +++ b/addons/mail/static/src/components/attachment_box/attachment_box_tests.js @@ -307,11 +307,11 @@ QUnit.test('remove attachment should ask for confirmation', async function (asse ); assert.containsOnce( document.body, - '.o_Attachment_actionUnlink', + '.o_Attachment_asideItemUnlink', "attachment should have a delete button" ); - await afterNextRender(() => document.querySelector('.o_Attachment_actionUnlink').click()); + await afterNextRender(() => document.querySelector('.o_Attachment_asideItemUnlink').click()); assert.containsOnce( document.body, '.o_AttachmentDeleteConfirmDialog', |
