Skip to content

#9196 Paywall banner in Sidebar and Page Editor #22264

#9196 Paywall banner in Sidebar and Page Editor

#9196 Paywall banner in Sidebar and Page Editor #22264

Triggered via pull request October 10, 2024 23:37
Status Failure
Total duration 16m 15s
Artifacts 9

ci.yml

on: pull_request
Matrix: end-to-end-tests / run-tests
Create report
22s
Create report
upload-to-codecov
0s
upload-to-codecov
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
SidebarBody › renders with anonymous user: src/sidebar/SidebarBody.test.tsx#L62
expect(received).toMatchSnapshot() Snapshot name: `SidebarBody renders with anonymous user 1` - Snapshot - 47 + Received + 0 @@ -34,54 +34,7 @@ </svg> </a> </div> <div class="full-height" - > - <div - class="container" - > - <div - class="text-center mt-4" - > - <h4 - class="display-6" - > - Connect PixieBrix Account - </h4> - <p> - Register/log-in to PixieBrix to access your personal and team bricks - </p> - <a - class="mt-4 btn btn-primary" - href="https://app.pixiebrix.com" - > - <svg - aria-hidden="true" - class="svg-inline--fa fa-sign-in-alt fa-w-16 " - data-icon="sign-in-alt" - data-prefix="fas" - focusable="false" - role="img" - viewBox="0 0 512 512" - xmlns="http://www.w3.org/2000/svg" - > - <path - d="M416 448h-84c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h84c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32h-84c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h84c53 0 96 43 96 96v192c0 53-43 96-96 96zm-47-201L201 79c-15-15-41-4.5-41 17v96H24c-13.3 0-24 10.7-24 24v96c0 13.3 10.7 24 24 24h136v96c0 21.5 26 32 41 17l168-168c9.3-9.4 9.3-24.6 0-34z" - fill="currentColor" /> - </svg> - Connect Account - </a> - </div> - <div - class="text-center mt-4" - > - <img - alt="Marketplace" - src="test-file-stub" - width="300" - /> - </div> - </div> - </div> </DocumentFragment> at Object.toMatchSnapshot (src/sidebar/SidebarBody.test.tsx:62:26)
SidebarBody › renders with authenticated user: src/sidebar/SidebarBody.test.tsx#L72
expect(received).toMatchSnapshot() Snapshot name: `SidebarBody renders with authenticated user 1` - Snapshot - 111 + Received + 0 @@ -34,118 +34,7 @@ </svg> </a> </div> <div class="full-height" - > - <div - class="full-height" - > - <div - class="tabContainer nav nav-tabs nav-justified" - role="tablist" - > - <div - class="tabWrapper active nav-item" - > - <button - aria-controls="panel-container-tabpane-static-modLauncher-panel" - aria-selected="true" - class="tabHeader nav-link active" - data-rb-event-key="static-modLauncher-panel" - id="panel-container-tab-static-modLauncher-panel" - role="tab" - > - <span - class="tabTitle" - > - Mods - </span> - </button> - <button - class="close" - type="button" - > - <span - aria-hidden="true" - > - × - </span> - <span - class="sr-only" - > - Close - </span> - </button> - <div - class="tabDivider" /> - </div> - </div> - <div - class="p-0 border-0 full-height scrollable-area bg-white tabContainer tab-content" - > - <div - aria-hidden="false" - aria-labelledby="panel-container-tab-static-modLauncher-panel" - class="fade full-height paneOverrides tab-pane active show" - id="panel-container-tabpane-static-modLauncher-panel" - role="tabpanel" - > - <div - class="emptyViewRoot" - > - <div> - <p> - We didn't find any mods to run - </p> - <h4> - Don't worry, there's a solution - </h4> - <img - alt="Workshop" - class="illustration" - src="test-file-stub" - /> - <p> - Some mods don't run on every page. - <br /> - And other mods don't run in the Sidebar. - <br /> - <br /> - Check that the mod is configured correctly. - </p> - </div> - <p> - Looking for new mods? - <br /> - Check out the - <a - href="https://www.pixiebrix.com/marketplace/" - > - PixieBrix Marketplace - </a> - </p> - </div> - <nav - class="footer flex-grow-0 navbar navbar-expand navbar-light" - > - <button> - Learn: Open the Page Editor - </button> - <span - class="mx-2" - > - • - </span> - - <a - href="https://docs.pixiebrix.com/" - > - Documentation - </a> - </nav> - </div> - </div> - </div> - </div> </DocumentFragment> at Object.toMatchSnapshot (src/sidebar/SidebarBody.test.tsx:72:26)
SidebarBody › renders error when URL is restricted: src/sidebar/SidebarBody.test.tsx#L80
expect(received).toMatchSnapshot() Snapshot name: `SidebarBody renders error when URL is restricted 1` - Snapshot - 42 + Received + 1 @@ -34,48 +34,7 @@ </svg> </a> </div> <div class="full-height" - > - <div - class="p-3" - > - <div - class="font-weight-bold" - > - This is a restricted browser page. - </div> - <div - class="mt-2" - > - PixieBrix cannot access this page. - </div> - <div - class="mt-2" - > - To open the PixieBrix Sidebar, navigate to a website and then click the PixieBrix toolbar icon again. - </div> - <hr /> - <div - class="mt-2" - > - Looking for the Extension Console? - <a - href="chrome-extension://abcxyz/options.html" - > - Open the Extension Console - </a> - </div> - <div - class="mt-2" - > - Looking for the Page Editor? - <a - href="https://www.pixiebrix.com/developers-welcome" - > - View the Developer Welcome Page - </a> - </div> - </div> - </div> + /> </DocumentFragment> at Object.toMatchSnapshot (src/sidebar/SidebarBody.test.tsx:80:26)
test
Process completed with exit code 1.
prettier
The `python-version` input is not set. The version of Python currently in `PATH` will be used.

Artifacts

Produced during runtime
Name Size
brick-headers
17 KB
build-staging-bundle-dependency-report
563 KB
end-to-end-tests-report
346 KB
end-to-end-tests-report-chrome-1
108 KB
end-to-end-tests-report-chrome-2
68.6 KB
end-to-end-tests-report-chrome-3
64 KB
end-to-end-tests-report-msedge-1
107 KB
end-to-end-tests-report-msedge-2
69.1 KB
end-to-end-tests-report-msedge-3
64.1 KB