Skip to content

fix: hide navigation button when toolbar variant of AppLayout has hideNavigation #12259

fix: hide navigation button when toolbar variant of AppLayout has hideNavigation

fix: hide navigation button when toolbar variant of AppLayout has hideNavigation #12259

Triggered via pull request October 29, 2024 08:51
Status Failure
Total duration 6m 20s
Artifacts

build-lint-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Theme=refresh-toolbar: src/app-layout/__tests__/utils.tsx#L84
expect(received).toEqual(expected) // deep equality Expected: true Received: false at Object.<anonymous> (src/app-layout/__tests__/utils.tsx:84:76)
Theme=refresh-toolbar: src/app-layout/__tests__/app-layout-navigation-resize.test.tsx#L36
expect(received).toBeVisible() received value must be an HTMLElement or an SVGElement. Received has value: undefined Ignored nodes: comments, script, style <html> <head /> <body> <div> <div> <div class="awsui_root_lm6vo_1b8i0_149 awsui_root_1fj9k_z5zo8_5" style="min-block-size: calc(100vh - 0px);" > <div class="awsui_layout_lm6vo_1b8i0_161" > <main class="awsui_layout-main_lm6vo_1b8i0_171" > <div> <div class="awsui_content-wrapper_zycdx_19eey_149" style="--awsui-sticky-vertical-top-offset: calc(0px + 0px); --awsui-sticky-vertical-bottom-offset: 0px;" > <div class="awsui_content-wrapper_lm6vo_1b8i0_195 awsui_content-extra-top-padding_lm6vo_1b8i0_203 awsui_content_1fj9k_z5zo8_9" style="min-width: 280px;" > Content </div> </div> </div> </main> <div class="awsui_drawer_1uo6m_vdmba_195 awsui_drawer-closed_1uo6m_vdmba_208" > <div class="awsui_drawer-content_1uo6m_vdmba_215 awsui_drawer-content-clickable_1uo6m_vdmba_227 awsui_tools_1fj9k_z5zo8_12 awsui_drawer-closed_1fj9k_z5zo8_15" style="top: 0px; bottom: 0px;" > <aside aria-hidden="false" class="awsui_toggle_1uo6m_vdmba_189" > <button aria-expanded="false" aria-haspopup="true" class="awsui_tools-toggle_1fj9k_z5zo8_14 awsui_toggle-button_16w0h_1vtwu_181" type="button" > <span class="awsui_icon_h11ix_t53c9_185 awsui_size-normal-mapped-height_h11ix_t53c9_244 awsui_size-normal_h11ix_t53c9_240 awsui_variant-normal_h11ix_t53c9_316" > <svg aria-hidden="true" focusable="false" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" > <circle cx="8" cy="8" r="7" /> <path d="M8 12V7M8 6V4" /> </svg> </span> </button> </aside> <aside aria-hidden="true" class="" > <span class="awsui_close-button_16w0h_1vtwu_216" > <button class="awsui_tools-close_1fj9k_z5zo8_13 awsui_button_vjswe_17nj8_153 awsui_variant-icon_vjswe_17nj8_247 awsui_button-no-text_vjswe_17nj8_1133" data-analytics-funnel-value="button6-1730192215338-1001" data-analytics-performance-mark="7-1730192215338-9454" type="button" > <span class="awsui_icon_vjswe_17nj8_1159 awsui_icon-left_vjswe_17nj8_1159 awsui_icon_h11ix_t53c9_185 awsui_size-normal-mapped-height_h11ix_t53c9_244 awsui_size-normal_h11ix_t53c9_240 awsui_variant-normal_h11ix_t53c9_316" > <svg aria-hidden="true" focusable="false" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" > <path class="stroke-linejoin-round" d="m2 1.71 12 12M2 13.71l12-12" /> </svg>
build / build
Process completed with exit code 1.