1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-24 08:22:29 +02:00

Fixed existing tests

This commit is contained in:
Harshil Sharma 2023-02-06 15:41:13 +05:30
parent 92ca9d9975
commit b89bb99424
13 changed files with 74 additions and 79 deletions

View File

@ -3,7 +3,7 @@
exports[`components/cardDialog already following card 1`] = `
<div>
<div
class="Dialog dialog-back cardDialog size--medium"
class="ActionDialog Dialog dialog-back cardDialog size--medium"
>
<div
class="backdrop"
@ -12,7 +12,7 @@ exports[`components/cardDialog already following card 1`] = `
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -215,7 +215,7 @@ exports[`components/cardDialog already following card 1`] = `
exports[`components/cardDialog limited card shows hidden view (no toolbar) 1`] = `
<div>
<div
class="Dialog dialog-back cardDialog size--medium"
class="ActionDialog Dialog dialog-back cardDialog size--medium"
>
<div
class="backdrop"
@ -224,7 +224,7 @@ exports[`components/cardDialog limited card shows hidden view (no toolbar) 1`] =
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -461,7 +461,7 @@ exports[`components/cardDialog limited card shows hidden view (no toolbar) 1`] =
exports[`components/cardDialog return a cardDialog readonly 1`] = `
<div>
<div
class="Dialog dialog-back cardDialog size--medium"
class="ActionDialog Dialog dialog-back cardDialog size--medium"
>
<div
class="backdrop"
@ -470,7 +470,7 @@ exports[`components/cardDialog return a cardDialog readonly 1`] = `
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -592,7 +592,7 @@ exports[`components/cardDialog return a cardDialog readonly 1`] = `
exports[`components/cardDialog return cardDialog menu content 1`] = `
<div>
<div
class="Dialog dialog-back cardDialog size--medium"
class="ActionDialog Dialog dialog-back cardDialog size--medium"
>
<div
class="backdrop"
@ -601,7 +601,7 @@ exports[`components/cardDialog return cardDialog menu content 1`] = `
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -941,7 +941,7 @@ exports[`components/cardDialog return cardDialog menu content 1`] = `
exports[`components/cardDialog return cardDialog menu content and cancel delete confirmation do nothing 1`] = `
<div>
<div
class="Dialog dialog-back cardDialog size--medium"
class="ActionDialog Dialog dialog-back cardDialog size--medium"
>
<div
class="backdrop"
@ -950,7 +950,7 @@ exports[`components/cardDialog return cardDialog menu content and cancel delete
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -1153,7 +1153,7 @@ exports[`components/cardDialog return cardDialog menu content and cancel delete
exports[`components/cardDialog should match snapshot 1`] = `
<div>
<div
class="Dialog dialog-back cardDialog size--medium"
class="ActionDialog Dialog dialog-back cardDialog size--medium"
>
<div
class="backdrop"
@ -1162,7 +1162,7 @@ exports[`components/cardDialog should match snapshot 1`] = `
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -1365,7 +1365,7 @@ exports[`components/cardDialog should match snapshot 1`] = `
exports[`components/cardDialog should match snapshot without permissions 1`] = `
<div>
<div
class="Dialog dialog-back cardDialog size--medium"
class="ActionDialog Dialog dialog-back cardDialog size--medium"
>
<div
class="backdrop"
@ -1374,7 +1374,7 @@ exports[`components/cardDialog should match snapshot without permissions 1`] = `
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div

View File

@ -3,7 +3,7 @@
exports[`/components/confirmAddUserForNotifications should match snapshot 1`] = `
<div>
<div
class="Dialog dialog-back confirmation-dialog-box size--small"
class="ActionDialog Dialog dialog-back confirmation-dialog-box size--small"
>
<div
class="backdrop"
@ -12,7 +12,7 @@ exports[`/components/confirmAddUserForNotifications should match snapshot 1`] =
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div

View File

@ -3,7 +3,7 @@
exports[`/components/confirmationDialogBox confirmDialog should match snapshot 1`] = `
<div>
<div
class="Dialog dialog-back confirmation-dialog-box size--small"
class="ActionDialog Dialog dialog-back confirmation-dialog-box size--small"
>
<div
class="backdrop"
@ -12,7 +12,7 @@ exports[`/components/confirmationDialogBox confirmDialog should match snapshot 1
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -84,7 +84,7 @@ exports[`/components/confirmationDialogBox confirmDialog should match snapshot 1
exports[`/components/confirmationDialogBox confirmDialog with Confirm Button Text should match snapshot 1`] = `
<div>
<div
class="Dialog dialog-back confirmation-dialog-box size--small"
class="ActionDialog Dialog dialog-back confirmation-dialog-box size--small"
>
<div
class="backdrop"
@ -93,7 +93,7 @@ exports[`/components/confirmationDialogBox confirmDialog with Confirm Button Tex
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div

View File

@ -3,7 +3,7 @@
exports[`components/dialog should match snapshot 1`] = `
<div>
<div
class="Dialog dialog-back undefined size--medium"
class="ActionDialog Dialog dialog-back undefined size--medium"
>
<div
class="backdrop"
@ -12,7 +12,7 @@ exports[`components/dialog should match snapshot 1`] = `
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -50,7 +50,7 @@ exports[`components/dialog should match snapshot 1`] = `
exports[`components/dialog should return dialog and click on cancel button 1`] = `
<div>
<div
class="Dialog dialog-back undefined size--medium"
class="ActionDialog Dialog dialog-back undefined size--medium"
>
<div
class="backdrop"
@ -59,7 +59,7 @@ exports[`components/dialog should return dialog and click on cancel button 1`] =
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div

View File

@ -143,7 +143,7 @@ exports[`components/boardTemplateSelector/boardTemplateSelectorItem should trigg
</div>
<div>
<div
class="Dialog dialog-back DeleteBoardDialog size--medium"
class="ActionDialog Dialog dialog-back DeleteBoardDialog size--medium"
>
<div
class="backdrop"
@ -152,7 +152,7 @@ exports[`components/boardTemplateSelector/boardTemplateSelectorItem should trigg
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div

View File

@ -3,7 +3,7 @@
exports[`component/BoardSwitcherDialog base case 1`] = `
<div>
<div
class="Dialog dialog-back BoardSwitcherDialog size--medium"
class="ActionDialog Dialog dialog-back BoardSwitcherDialog size--medium"
>
<div
class="backdrop"
@ -12,7 +12,7 @@ exports[`component/BoardSwitcherDialog base case 1`] = `
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div

View File

@ -3,7 +3,7 @@
exports[`components/createCategory/CreateCategory base case should match snapshot 1`] = `
<div>
<div
class="Dialog dialog-back CreateCategoryModal size--medium"
class="ActionDialog Dialog dialog-back CreateCategoryModal size--medium"
>
<div
class="backdrop"
@ -12,7 +12,7 @@ exports[`components/createCategory/CreateCategory base case should match snapsho
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div

View File

@ -905,7 +905,7 @@ exports[`src/components/gallery/GalleryCard without block content return Gallery
</div>
</div>
<div
class="Dialog dialog-back confirmation-dialog-box size--small"
class="ActionDialog Dialog dialog-back confirmation-dialog-box size--small"
>
<div
class="backdrop"
@ -914,7 +914,7 @@ exports[`src/components/gallery/GalleryCard without block content return Gallery
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div

View File

@ -3,7 +3,7 @@
exports[`src/components/shareBoard/shareBoard confirm unlinking linked channel 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -12,7 +12,7 @@ exports[`src/components/shareBoard/shareBoard confirm unlinking linked channel 1
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -253,7 +253,7 @@ exports[`src/components/shareBoard/shareBoard confirm unlinking linked channel 1
exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy link 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -262,7 +262,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy l
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -462,7 +462,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy l
exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy link 2`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -471,7 +471,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy l
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -671,7 +671,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Copy l
exports[`src/components/shareBoard/shareBoard return shareBoard and click Regenerate token 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -680,7 +680,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Regene
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -903,7 +903,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Regene
exports[`src/components/shareBoard/shareBoard return shareBoard and click Select 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -912,7 +912,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -1139,7 +1139,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
exports[`src/components/shareBoard/shareBoard return shareBoard and click Select 2`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -1148,7 +1148,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -1607,7 +1607,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
exports[`src/components/shareBoard/shareBoard return shareBoard and click Select, non-plugin mode 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -1616,7 +1616,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -1843,7 +1843,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
exports[`src/components/shareBoard/shareBoard return shareBoard and click Select, non-plugin mode 2`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -1852,7 +1852,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -2311,7 +2311,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard and click Select
exports[`src/components/shareBoard/shareBoard return shareBoard template and click Select 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -2320,7 +2320,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard template and cli
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -2496,7 +2496,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard template and cli
exports[`src/components/shareBoard/shareBoard return shareBoard template and click Select 2`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -2505,7 +2505,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard template and cli
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -2817,7 +2817,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard template and cli
exports[`src/components/shareBoard/shareBoard return shareBoard, and click switch 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -2826,7 +2826,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard, and click switc
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -3049,7 +3049,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoard, and click switc
exports[`src/components/shareBoard/shareBoard return shareBoardComponent and click Switch without sharing 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -3058,7 +3058,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoardComponent and cli
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -3281,7 +3281,7 @@ exports[`src/components/shareBoard/shareBoard return shareBoardComponent and cli
exports[`src/components/shareBoard/shareBoard should match snapshot 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -3290,7 +3290,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot 1`] = `
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -3490,7 +3490,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot 1`] = `
exports[`src/components/shareBoard/shareBoard should match snapshot with sharing 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -3499,7 +3499,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -3699,7 +3699,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
exports[`src/components/shareBoard/shareBoard should match snapshot with sharing and subpath 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -3708,7 +3708,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -3908,7 +3908,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
exports[`src/components/shareBoard/shareBoard should match snapshot with sharing and without workspaceId and subpath 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -3917,7 +3917,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -4117,7 +4117,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot with sharing
exports[`src/components/shareBoard/shareBoard should match snapshot, with template 1`] = `
<div>
<div
class="Dialog dialog-back ShareBoardDialog size--medium"
class="ActionDialog Dialog dialog-back ShareBoardDialog size--medium"
>
<div
class="backdrop"
@ -4126,7 +4126,7 @@ exports[`src/components/shareBoard/shareBoard should match snapshot, with templa
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div

View File

@ -40,7 +40,6 @@ exports[`src/components/shareBoard/userPermissionsRow should match snapshot 1`]
</button>
<div
class="Menu noselect left "
style="top: 40px;"
>
<div
class="menu-contents"
@ -294,7 +293,6 @@ exports[`src/components/shareBoard/userPermissionsRow should match snapshot in p
</button>
<div
class="Menu noselect left "
style="top: 40px;"
>
<div
class="menu-contents"
@ -548,7 +546,6 @@ exports[`src/components/shareBoard/userPermissionsRow should match snapshot in t
</button>
<div
class="Menu noselect left "
style="top: 40px;"
>
<div
class="menu-contents"

View File

@ -129,7 +129,6 @@ exports[`components/sidebarBoardItem sidebar board item 1`] = `
</button>
<div
class="Menu noselect auto fixed"
style="top: 40px;"
>
<div
class="menu-contents"
@ -432,7 +431,6 @@ exports[`components/sidebarBoardItem sidebar board item for guest 1`] = `
</button>
<div
class="Menu noselect auto fixed"
style="top: 40px;"
>
<div
class="menu-contents"

View File

@ -3,7 +3,7 @@
exports[`components/viewLimitDialog/ViewLiimitDialog show notify upgrade button for non sys admin user 1`] = `
<div>
<div
class="Dialog dialog-back ViewLimitDialog size--medium"
class="ActionDialog Dialog dialog-back ViewLimitDialog size--medium"
>
<div
class="backdrop"
@ -12,7 +12,7 @@ exports[`components/viewLimitDialog/ViewLiimitDialog show notify upgrade button
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -85,7 +85,7 @@ exports[`components/viewLimitDialog/ViewLiimitDialog show notify upgrade button
exports[`components/viewLimitDialog/ViewLiimitDialog show upgrade button for sys admin user 1`] = `
<div>
<div
class="Dialog dialog-back ViewLimitDialog size--medium"
class="ActionDialog Dialog dialog-back ViewLimitDialog size--medium"
>
<div
class="backdrop"
@ -94,7 +94,7 @@ exports[`components/viewLimitDialog/ViewLiimitDialog show upgrade button for sys
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div

View File

@ -3,7 +3,7 @@
exports[`components/viewLimitDialog/ViewL]imitDialog show notify admin confirmation msg 1`] = `
<div>
<div
class="Dialog dialog-back ViewLimitDialog size--medium"
class="ActionDialog Dialog dialog-back ViewLimitDialog size--medium"
>
<div
class="backdrop"
@ -12,7 +12,7 @@ exports[`components/viewLimitDialog/ViewL]imitDialog show notify admin confirmat
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div
@ -119,7 +119,7 @@ exports[`components/viewLimitDialog/ViewL]imitDialog show notify admin confirmat
exports[`components/viewLimitDialog/ViewL]imitDialog show view limit dialog 1`] = `
<div>
<div
class="Dialog dialog-back ViewLimitDialog size--medium"
class="ActionDialog Dialog dialog-back ViewLimitDialog size--medium"
>
<div
class="backdrop"
@ -128,7 +128,7 @@ exports[`components/viewLimitDialog/ViewL]imitDialog show view limit dialog 1`]
class="wrapper"
>
<div
class="dialog"
class="dialog footerHidden"
role="dialog"
>
<div