Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Nov 7, 2023
1 parent 4321e42 commit 7ff3e8c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ export const ConnectWithRemoteViewer: React.FunctionComponent<ConnectWithRemoteV
{!!_console && (
<ExpandableSection
toggleText={textMoreInfo}
toggleId="remote-viewer-details-toggle"
contentId="remote-viewer-details-content"
isExpanded={isExpandedDefault}
onToggle={(_event, isExpanded) => setIsExpandedDefault(isExpanded)}
>
Expand All @@ -121,6 +123,8 @@ export const ConnectWithRemoteViewer: React.FunctionComponent<ConnectWithRemoteV
<ExpandableSection
toggleText={textMoreRDPInfo}
isExpanded={isExpandedRDP}
toggleId="remote-desktop-details-toggle"
contentId="remote-desktop-details-content"
onToggle={(_event, isExpanded) => setIsExpandedRDP(isExpanded)}
>
<MoreInformationDefaultRDPContent textMoreRDPInfoContent={textMoreRDPInfoContent} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ exports[`DesktopViewer with Spice and VNC 1`] = `
class="pf-v5-c-expandable-section"
>
<button
aria-controls="expandable-section-content-1698675906433ozi91h4n1z"
aria-controls="remote-viewer-details-content"
aria-expanded="false"
class="pf-v5-c-expandable-section__toggle"
id="expandable-section-toggle-1698675906433tdb1ilv1kmo"
id="remote-viewer-details-toggle"
type="button"
>
<span
Expand All @@ -242,10 +242,10 @@ exports[`DesktopViewer with Spice and VNC 1`] = `
</span>
</button>
<div
aria-labelledby="expandable-section-toggle-1698675906433tdb1ilv1kmo"
aria-labelledby="remote-viewer-details-toggle"
class="pf-v5-c-expandable-section__content"
hidden=""
id="expandable-section-content-1698675906433ozi91h4n1z"
id="remote-viewer-details-content"
role="region"
>
<dl
Expand Down Expand Up @@ -543,10 +543,10 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
class="pf-v5-c-expandable-section"
>
<button
aria-controls="expandable-section-content-1698675906600yveqwf7ne"
aria-controls="remote-viewer-details-content"
aria-expanded="false"
class="pf-v5-c-expandable-section__toggle"
id="expandable-section-toggle-1698675906600h3aoqsf2rdo"
id="remote-viewer-details-toggle"
type="button"
>
<span
Expand All @@ -573,10 +573,10 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
</span>
</button>
<div
aria-labelledby="expandable-section-toggle-1698675906600h3aoqsf2rdo"
aria-labelledby="remote-viewer-details-toggle"
class="pf-v5-c-expandable-section__content"
hidden=""
id="expandable-section-content-1698675906600yveqwf7ne"
id="remote-viewer-details-content"
role="region"
>
<dl
Expand Down Expand Up @@ -708,10 +708,10 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
class="pf-v5-c-expandable-section"
>
<button
aria-controls="expandable-section-content-1698675906605n4myx8wfker"
aria-controls="remote-desktop-details-content"
aria-expanded="false"
class="pf-v5-c-expandable-section__toggle"
id="expandable-section-toggle-16986759066055aafy2mn6h5"
id="remote-desktop-details-toggle"
type="button"
>
<span
Expand All @@ -738,10 +738,10 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
</span>
</button>
<div
aria-labelledby="expandable-section-toggle-16986759066055aafy2mn6h5"
aria-labelledby="remote-desktop-details-toggle"
class="pf-v5-c-expandable-section__content"
hidden=""
id="expandable-section-content-1698675906605n4myx8wfker"
id="remote-desktop-details-content"
role="region"
/>
</div>
Expand Down Expand Up @@ -959,10 +959,10 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
class="pf-v5-c-expandable-section"
>
<button
aria-controls="expandable-section-content-1698675906560ra9aisv7eri"
aria-controls="remote-viewer-details-content"
aria-expanded="false"
class="pf-v5-c-expandable-section__toggle"
id="expandable-section-toggle-1698675906560psy2soy1nbn"
id="remote-viewer-details-toggle"
type="button"
>
<span
Expand All @@ -989,10 +989,10 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
</span>
</button>
<div
aria-labelledby="expandable-section-toggle-1698675906560psy2soy1nbn"
aria-labelledby="remote-viewer-details-toggle"
class="pf-v5-c-expandable-section__content"
hidden=""
id="expandable-section-content-1698675906560ra9aisv7eri"
id="remote-viewer-details-content"
role="region"
>
<dl
Expand Down Expand Up @@ -1124,10 +1124,10 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
class="pf-v5-c-expandable-section"
>
<button
aria-controls="expandable-section-content-1698675906564x7ko4hcdqwh"
aria-controls="remote-desktop-details-content"
aria-expanded="false"
class="pf-v5-c-expandable-section__toggle"
id="expandable-section-toggle-169867590656471blkjglze"
id="remote-desktop-details-toggle"
type="button"
>
<span
Expand All @@ -1154,10 +1154,10 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
</span>
</button>
<div
aria-labelledby="expandable-section-toggle-169867590656471blkjglze"
aria-labelledby="remote-desktop-details-toggle"
class="pf-v5-c-expandable-section__content"
hidden=""
id="expandable-section-content-1698675906564x7ko4hcdqwh"
id="remote-desktop-details-content"
role="region"
/>
</div>
Expand Down

0 comments on commit 7ff3e8c

Please sign in to comment.