Skip to content

Commit

Permalink
updating frontend unit tests 🧪🧪
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnav Shekaran committed Sep 10, 2023
1 parent 1b8fa85 commit 08c5b50
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ exports[`ListContainer component snapshot test 1`] = `
<div
className="scenarioListContainer"
>
<h1>
Created scenarios
</h1>
<ul
className="MuiImageList-root"
style={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const context = {
scenarios: dummyScenarios,
setCurrentScenario: () => {},
reFetch: () => {},
reFetch2: () => {},
};

test("Scenario Selection page snapshot test", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ exports[`Scenario Selection page snapshot test 1`] = `
<div
class="scenarioListContainer"
>
<h1>
Created scenarios
</h1>
<ul
class="MuiImageList-root"
style="margin: -15px;"
Expand Down Expand Up @@ -248,6 +251,13 @@ exports[`Scenario Selection page snapshot test 1`] = `
</div>
</li>
</ul>
<h1>
Assigned scenarios
</h1>
<ul
class="MuiImageList-root"
style="margin: -15px;"
/>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ exports[`Scene Selection page snapshot test 1`] = `
class="MuiTouchRipple-root"
/>
</button>
<input
accept=".csv"
style="display: none;"
type="file"
/>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined btn outlined white top"
tabindex="0"
Expand Down

0 comments on commit 08c5b50

Please sign in to comment.