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

chore: Enzyme replacement in test files- PR 5 of 6 for part 3 of 3 #7236

Merged
merged 36 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
52b44ae
Enzyme replacement done for 4 files.
SaanicaG Jan 25, 2024
77b0179
Enzyme replacement done.
SaanicaG Feb 5, 2024
942019e
Enzyme replacement done.
SaanicaG Feb 5, 2024
6fcac28
Merge branch 'microsoft:main' into v-sghate/EnzymeReplacementPart3
SaanicaG Feb 5, 2024
8b1a7be
Enzyme replacement done.
SaanicaG Feb 5, 2024
dfc75ea
Merge branch 'v-sghate/EnzymeReplacementPart3' of https://github.com/…
SaanicaG Feb 5, 2024
f95eb45
Enzyme replacement done
SaanicaG Feb 5, 2024
5d72dbd
Enzyme replacement for 2 files.
SaanicaG Feb 7, 2024
ffdb396
Merge branch 'microsoft:main' into v-sghate/EnzymeReplacementPart3
SaanicaG Feb 7, 2024
8cdd291
Fixed fromat issues.
SaanicaG Feb 7, 2024
7b4cea2
Merge branch 'v-sghate/EnzymeReplacementPart3' of https://github.com/…
SaanicaG Feb 7, 2024
e3fdf12
Enzyme replacement done.
SaanicaG Feb 7, 2024
ea78f53
Enzyme Replacement done for 1 file
SaanicaG Feb 7, 2024
da97cac
Fixed lint check issues.
SaanicaG Feb 7, 2024
7178bca
fixed lint check issue
SaanicaG Feb 7, 2024
b5a914d
Mocked required components.
SaanicaG Feb 8, 2024
97f0135
mocked required components
SaanicaG Feb 8, 2024
9d593c9
fixed build error.
SaanicaG Feb 8, 2024
34491f2
Fixed unit test fail issue.
SaanicaG Feb 8, 2024
0953611
enzyme replacement done.
SaanicaG Feb 8, 2024
594848d
Fixed build issue.
SaanicaG Feb 8, 2024
0c25924
fixed build issue
SaanicaG Feb 8, 2024
60b64ca
Enzyme replacement done
SaanicaG Feb 9, 2024
25d19c1
Mocked required components.
SaanicaG Feb 9, 2024
de86eaf
Mocked required components.
SaanicaG Feb 9, 2024
d64c3b2
Mocked required components.
SaanicaG Feb 9, 2024
c2ae9a8
mocked required components and unmocked unnecessary ones.
SaanicaG Feb 12, 2024
beabfbc
removed unused imports
SaanicaG Feb 12, 2024
7e8f00d
removed unnecessary mocks.
SaanicaG Feb 12, 2024
f516488
updated snapshot file.
SaanicaG Feb 12, 2024
fee78dd
Updated snapshot file
SaanicaG Feb 12, 2024
2aab9c4
removed unnecessary mocks.
SaanicaG Feb 19, 2024
51614cb
fixed int check issue
SaanicaG Feb 19, 2024
409151e
fixed lint check issue
SaanicaG Feb 19, 2024
8bbeaf5
mocked required components.
SaanicaG Feb 19, 2024
c762a91
attached snapshots
SaanicaG Feb 19, 2024
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
Original file line number Diff line number Diff line change
@@ -1,113 +1,141 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`OutcomeChip render fail 1`] = `
<span
className="outcome-chip outcome-chip-fail"
title="4 Failed"
>
<DocumentFragment>
<span
className="icon"
class="outcome-chip outcome-chip-fail"
title="4 Failed"
>
<OutcomeIcon
outcomeType="fail"
/>
<span
class="icon"
>
<mock-outcomeicon
outcometype="fail"
/>
</span>
<span
aria-hidden="true"
class="count"
data-automation-id="count"
>
4
</span>
<span
class="screen-reader-only"
>
4 Failed
</span>
</span>
<span
aria-hidden="true"
className="count"
data-automation-id="count"
>

4
</span>
<span
className="screen-reader-only"
>
4 Failed
</span>
</span>
</DocumentFragment>
`;

exports[`OutcomeChip render fail: OutcomeIcon props 1`] = `
{
"outcomeType": "fail",
}
`;

exports[`OutcomeChip render inapplicable 1`] = `
<span
className="outcome-chip outcome-chip-inapplicable"
title="4 Not applicable"
>
<DocumentFragment>
<span
className="icon"
class="outcome-chip outcome-chip-inapplicable"
title="4 Not applicable"
>
<OutcomeIcon
outcomeType="inapplicable"
/>
<span
class="icon"
>
<mock-outcomeicon
outcometype="inapplicable"
/>
</span>
<span
aria-hidden="true"
class="count"
data-automation-id="count"
>
4
</span>
<span
class="screen-reader-only"
>
4 Not applicable
</span>
</span>
<span
aria-hidden="true"
className="count"
data-automation-id="count"
>

4
</span>
<span
className="screen-reader-only"
>
4 Not applicable
</span>
</span>
</DocumentFragment>
`;

exports[`OutcomeChip render inapplicable: OutcomeIcon props 1`] = `
{
"outcomeType": "inapplicable",
}
`;

exports[`OutcomeChip render incomplete 1`] = `
<span
className="outcome-chip outcome-chip-incomplete"
title="2 Incomplete"
>
<DocumentFragment>
<span
className="icon"
class="outcome-chip outcome-chip-incomplete"
title="2 Incomplete"
>
<OutcomeIcon
outcomeType="incomplete"
/>
<span
class="icon"
>
<mock-outcomeicon
outcometype="incomplete"
/>
</span>
<span
aria-hidden="true"
class="count"
data-automation-id="count"
>
2
</span>
<span
class="screen-reader-only"
>
2 Incomplete
</span>
</span>
<span
aria-hidden="true"
className="count"
data-automation-id="count"
>

2
</span>
<span
className="screen-reader-only"
>
2 Incomplete
</span>
</span>
</DocumentFragment>
`;

exports[`OutcomeChip render incomplete: OutcomeIcon props 1`] = `
{
"outcomeType": "incomplete",
}
`;

exports[`OutcomeChip render pass 1`] = `
<span
className="outcome-chip outcome-chip-pass"
title="3 Passed"
>
<DocumentFragment>
<span
className="icon"
class="outcome-chip outcome-chip-pass"
title="3 Passed"
>
<OutcomeIcon
outcomeType="pass"
/>
<span
class="icon"
>
<mock-outcomeicon
outcometype="pass"
/>
</span>
<span
aria-hidden="true"
class="count"
data-automation-id="count"
>
3
</span>
<span
class="screen-reader-only"
>
3 Passed
</span>
</span>
<span
aria-hidden="true"
className="count"
data-automation-id="count"
>

3
</span>
<span
className="screen-reader-only"
>
3 Passed
</span>
</span>
</DocumentFragment>
`;

exports[`OutcomeChip render pass: OutcomeIcon props 1`] = `
{
"outcomeType": "pass",
}
`;
Loading
Loading