Skip to content

Commit

Permalink
Updating snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
asaadmahmood committed Jul 22, 2021
1 parent 0d03759 commit 73f39ee
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 48 deletions.
66 changes: 44 additions & 22 deletions webapp/src/components/table/__snapshots__/table.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,12 @@ exports[`components/table/Table extended should match snapshot with CreatedBy 1`
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -230,10 +232,12 @@ exports[`components/table/Table extended should match snapshot with CreatedBy 1`
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -444,10 +448,12 @@ exports[`components/table/Table extended should match snapshot with CreatedBy 2`
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -520,10 +526,12 @@ exports[`components/table/Table extended should match snapshot with CreatedBy 2`
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -734,10 +742,12 @@ exports[`components/table/Table extended should match snapshot with UpdatedAt 1`
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -810,10 +820,12 @@ exports[`components/table/Table extended should match snapshot with UpdatedAt 1`
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -1024,10 +1036,12 @@ exports[`components/table/Table extended should match snapshot with UpdatedBy 1`
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -1100,10 +1114,12 @@ exports[`components/table/Table extended should match snapshot with UpdatedBy 1`
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -1292,10 +1308,12 @@ exports[`components/table/Table should match snapshot 1`] = `
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -1478,10 +1496,12 @@ exports[`components/table/Table should match snapshot with GroupBy 1`] = `
</div>
<button
class="Button "
class="Button "
type="button"
>
0
<span>
0
</span>
</button>
<div
class="MenuWrapper"
Expand Down Expand Up @@ -1632,10 +1652,12 @@ exports[`components/table/Table should match snapshot, read-only 1`] = `
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ exports[`should match snapshot on read only 1`] = `
</span>
</div>
<button
class="Button "
class="Button "
type="button"
>
0
<span>
0
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -84,10 +86,12 @@ exports[`should match snapshot with Group 1`] = `
</span>
</div>
<button
class="Button "
class="Button "
type="button"
>
0
<span>
0
</span>
</button>
<div
class="MenuWrapper"
Expand Down Expand Up @@ -148,10 +152,12 @@ exports[`should match snapshot, add new 1`] = `
</span>
</div>
<button
class="Button "
class="Button "
type="button"
>
0
<span>
0
</span>
</button>
<div
class="MenuWrapper"
Expand Down Expand Up @@ -212,10 +218,12 @@ exports[`should match snapshot, edit title 1`] = `
</span>
</div>
<button
class="Button "
class="Button "
type="button"
>
0
<span>
0
</span>
</button>
<div
class="MenuWrapper"
Expand Down Expand Up @@ -276,10 +284,12 @@ exports[`should match snapshot, hide group 1`] = `
</span>
</div>
<button
class="Button "
class="Button "
type="button"
>
0
<span>
0
</span>
</button>
<div
class="MenuWrapper"
Expand Down Expand Up @@ -336,10 +346,12 @@ exports[`should match snapshot, no groups 1`] = `
</div>
<button
class="Button "
class="Button "
type="button"
>
0
<span>
0
</span>
</button>
<div
class="MenuWrapper"
Expand Down
36 changes: 24 additions & 12 deletions webapp/src/components/table/__snapshots__/tableRow.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ exports[`components/table/TableRow should match snapshot 1`] = `
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -75,10 +77,12 @@ exports[`components/table/TableRow should match snapshot, collapsed tree 1`] = `
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -118,10 +122,12 @@ exports[`components/table/TableRow should match snapshot, display properties 1`]
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -189,10 +195,12 @@ exports[`components/table/TableRow should match snapshot, isSelected 1`] = `
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -233,10 +241,12 @@ exports[`components/table/TableRow should match snapshot, read-only 1`] = `
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -276,10 +286,12 @@ exports[`components/table/TableRow should match snapshot, resizing column 1`] =
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ exports[`components/table/TableRows should match snapshot, fire events 1`] = `
class="open-button"
>
<button
class="Button "
class="Button "
type="button"
>
Open
<span>
Open
</span>
</button>
</div>
</div>
Expand Down

0 comments on commit 73f39ee

Please sign in to comment.