Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated snapshot and fix test #5031

Merged
merged 6 commits into from
Aug 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
updated snapshot and fix test
  • Loading branch information
Rajat-Dabade committed Jul 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 035ab043cc4ab28d66c7a61939eef3b9a2291d3c
45 changes: 1 addition & 44 deletions webapp/src/components/__snapshots__/cardDialog.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
16 changes: 8 additions & 8 deletions webapp/src/components/__snapshots__/centerPanel.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -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
@@ -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
@@ -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
@@ -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
19 changes: 9 additions & 10 deletions webapp/src/components/__snapshots__/topBar.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -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>
`;
36 changes: 18 additions & 18 deletions webapp/src/components/__snapshots__/workspace.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -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
@@ -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
@@ -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
@@ -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;"
>
@@ -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;"
>
@@ -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;"
>
@@ -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
@@ -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
@@ -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
@@ -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;"
>
@@ -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;"
>
@@ -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;"
>
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
@@ -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
@@ -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
Loading