Skip to content

Commit

Permalink
updated snapshot and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajat-Dabade committed Jul 29, 2024
1 parent 0377216 commit 035ab04
Show file tree
Hide file tree
Showing 20 changed files with 317 additions and 1,469 deletions.
45 changes: 1 addition & 44 deletions webapp/src/components/__snapshots__/cardDialog.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ exports[`components/cardDialog already following card 1`] = `
Attach
</span>
</button>
<button
type="button"
>
<span>
Following
</span>
</button>
</div>
<div
aria-label="menuwrapper"
Expand Down Expand Up @@ -499,13 +492,6 @@ exports[`components/cardDialog return a cardDialog readonly 1`] = `
Attach
</span>
</button>
<button
type="button"
>
<span>
Follow
</span>
</button>
</div>
<button
aria-label="Close dialog"
Expand Down Expand Up @@ -630,13 +616,6 @@ exports[`components/cardDialog return cardDialog menu content 1`] = `
Attach
</span>
</button>
<button
type="button"
>
<span>
Follow
</span>
</button>
</div>
<div
aria-label="menuwrapper"
Expand Down Expand Up @@ -979,13 +958,6 @@ exports[`components/cardDialog return cardDialog menu content and cancel delete
Attach
</span>
</button>
<button
type="button"
>
<span>
Follow
</span>
</button>
</div>
<div
aria-label="menuwrapper"
Expand Down Expand Up @@ -1191,13 +1163,6 @@ exports[`components/cardDialog should match snapshot 1`] = `
Attach
</span>
</button>
<button
type="button"
>
<span>
Follow
</span>
</button>
</div>
<div
aria-label="menuwrapper"
Expand Down Expand Up @@ -1392,15 +1357,7 @@ exports[`components/cardDialog should match snapshot without permissions 1`] = `
>
<div
class="d-flex"
>
<button
type="button"
>
<span>
Follow
</span>
</button>
</div>
/>
<div
aria-label="menuwrapper"
class="MenuWrapper"
Expand Down
16 changes: 8 additions & 8 deletions webapp/src/components/__snapshots__/centerPanel.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1167,13 +1167,13 @@ exports[`components/centerPanel return centerPanel and click on card to show car
class="octo-board-column"
>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="true"
style="opacity: 1;"
>
<div
aria-label="menuwrapper"
class="MenuWrapper optionsMenu "
class="MenuWrapper optionsMenu"
role="button"
>
<button
Expand Down Expand Up @@ -1201,13 +1201,13 @@ exports[`components/centerPanel return centerPanel and click on card to show car
</div>
</div>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="true"
style="opacity: 1;"
>
<div
aria-label="menuwrapper"
class="MenuWrapper optionsMenu "
class="MenuWrapper optionsMenu"
role="button"
>
<button
Expand Down Expand Up @@ -8974,13 +8974,13 @@ exports[`components/centerPanel should match snapshot for Kanban 1`] = `
class="octo-board-column"
>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="true"
style="opacity: 1;"
>
<div
aria-label="menuwrapper"
class="MenuWrapper optionsMenu "
class="MenuWrapper optionsMenu"
role="button"
>
<button
Expand Down Expand Up @@ -9493,13 +9493,13 @@ exports[`components/centerPanel should match snapshot for Kanban, not shared 1`]
class="octo-board-column"
>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="true"
style="opacity: 1;"
>
<div
aria-label="menuwrapper"
class="MenuWrapper optionsMenu "
class="MenuWrapper optionsMenu"
role="button"
>
<button
Expand Down
19 changes: 9 additions & 10 deletions webapp/src/components/__snapshots__/topBar.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,21 @@ exports[`src/components/topBar should match snapshot for focalboardPlugin 1`] =
>
<a
class="link"
href="https://www.focalboard.com/fwlink/feedback-boards.html?v=1.0.0"
href="https://www.focalboard.com/fwlink/feedback-focalboard.html?v=1.0.0"
rel="noreferrer"
target="_blank"
>
Give feedback
</a>
<div
class="versionFrame"
<a
href="https://www.focalboard.com/guide/user?utm_source=webapp"
rel="noreferrer"
target="_blank"
>
<div
class="version"
title="v1.0.0"
>
v1.0.0
</div>
</div>
<i
class="CompassIcon icon-help-circle-outline HelpIcon"
/>
</a>
</div>
</div>
`;
Expand Down
36 changes: 18 additions & 18 deletions webapp/src/components/__snapshots__/workspace.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -637,13 +637,13 @@ exports[`src/components/workspace return workspace and showcard 1`] = `
class="octo-board-column"
>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="true"
style="opacity: 1;"
>
<div
aria-label="menuwrapper"
class="MenuWrapper optionsMenu "
class="MenuWrapper optionsMenu"
role="button"
>
<button
Expand Down Expand Up @@ -680,13 +680,13 @@ exports[`src/components/workspace return workspace and showcard 1`] = `
</div>
</div>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="true"
style="opacity: 1;"
>
<div
aria-label="menuwrapper"
class="MenuWrapper optionsMenu "
class="MenuWrapper optionsMenu"
role="button"
>
<button
Expand Down Expand Up @@ -723,13 +723,13 @@ exports[`src/components/workspace return workspace and showcard 1`] = `
</div>
</div>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="true"
style="opacity: 1;"
>
<div
aria-label="menuwrapper"
class="MenuWrapper optionsMenu "
class="MenuWrapper optionsMenu"
role="button"
>
<button
Expand Down Expand Up @@ -998,7 +998,7 @@ exports[`src/components/workspace return workspace readonly and showcard 1`] = `
class="octo-board-column"
>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="false"
style="opacity: 1;"
>
Expand Down Expand Up @@ -1028,7 +1028,7 @@ exports[`src/components/workspace return workspace readonly and showcard 1`] = `
</div>
</div>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="false"
style="opacity: 1;"
>
Expand Down Expand Up @@ -1058,7 +1058,7 @@ exports[`src/components/workspace return workspace readonly and showcard 1`] = `
</div>
</div>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="false"
style="opacity: 1;"
>
Expand Down Expand Up @@ -1748,13 +1748,13 @@ exports[`src/components/workspace should match snapshot 1`] = `
class="octo-board-column"
>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="true"
style="opacity: 1;"
>
<div
aria-label="menuwrapper"
class="MenuWrapper optionsMenu "
class="MenuWrapper optionsMenu"
role="button"
>
<button
Expand Down Expand Up @@ -1791,13 +1791,13 @@ exports[`src/components/workspace should match snapshot 1`] = `
</div>
</div>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="true"
style="opacity: 1;"
>
<div
aria-label="menuwrapper"
class="MenuWrapper optionsMenu "
class="MenuWrapper optionsMenu"
role="button"
>
<button
Expand Down Expand Up @@ -1834,13 +1834,13 @@ exports[`src/components/workspace should match snapshot 1`] = `
</div>
</div>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="true"
style="opacity: 1;"
>
<div
aria-label="menuwrapper"
class="MenuWrapper optionsMenu "
class="MenuWrapper optionsMenu"
role="button"
>
<button
Expand Down Expand Up @@ -2109,7 +2109,7 @@ exports[`src/components/workspace should match snapshot with readonly 1`] = `
class="octo-board-column"
>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="false"
style="opacity: 1;"
>
Expand Down Expand Up @@ -2139,7 +2139,7 @@ exports[`src/components/workspace should match snapshot with readonly 1`] = `
</div>
</div>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="false"
style="opacity: 1;"
>
Expand Down Expand Up @@ -2169,7 +2169,7 @@ exports[`src/components/workspace should match snapshot with readonly 1`] = `
</div>
</div>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="false"
style="opacity: 1;"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,13 +360,13 @@ exports[`components/boardTemplateSelector/boardTemplateSelectorPreview should ma
class="octo-board-column"
>
<div
class="KanbanCard false"
class="KanbanCard"
draggable="true"
style="opacity: 1;"
>
<div
aria-label="menuwrapper"
class="MenuWrapper optionsMenu "
class="MenuWrapper optionsMenu"
role="button"
>
<button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ exports[`components/cardDetail/CardDetail should show add comments tour tip 1`]
>
<img
alt="tutorial tour tip product image"
src="test-file-stub"
src="http://localhost/test-file-stub"
/>
</div>
<div
Expand Down Expand Up @@ -364,7 +364,7 @@ exports[`components/cardDetail/CardDetail should show add description tour tip 1
>
<img
alt="tutorial tour tip product image"
src="test-file-stub"
src="http://localhost/test-file-stub"
/>
</div>
<div
Expand Down Expand Up @@ -487,7 +487,7 @@ exports[`components/cardDetail/CardDetail should show add properties tour tip 1`
>
<img
alt="tutorial tour tip product image"
src="test-file-stub"
src="http://localhost/test-file-stub"
/>
</div>
<div
Expand Down
Loading

0 comments on commit 035ab04

Please sign in to comment.