fix: Show repo owner in builds repo selector #4690
Annotations
4 errors
Run JS tests with coverage
Process completed with exit code 1.
|
Run JS tests with coverage:
static/js/publisher/pages/Builds/__tests__/RepoSelector.test.tsx#L160
TestingLibraryElementError: Unable to find a label with the text of: Select a repository
Ignored nodes: comments, script, style
<body>
<div />
</body>
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ static/js/publisher/pages/Builds/__tests__/RepoSelector.test.tsx:160:11
|
Run JS tests with coverage:
static/js/publisher/pages/Builds/RepoSelector.tsx#L40
TypeError: Cannot read properties of undefined (reading 'split')
❯ getRepoOwnerName static/js/publisher/pages/Builds/RepoSelector.tsx:40:21
❯ static/js/publisher/pages/Builds/RepoSelector.tsx:341:18
❯ RepoSelector static/js/publisher/pages/Builds/RepoSelector.tsx:339:20
❯ Object.react-stack-bottom-frame node_modules/react-dom/cjs/react-dom-client.development.js:23863:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:5529:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:8897:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:10522:18
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:1522:13
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom-client.development.js:15140:22
This error originated in "static/js/publisher/pages/Builds/__tests__/RepoSelector.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "clears input when organization changes to one without matching repo". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Run JS tests with coverage:
static/js/publisher/pages/Builds/RepoSelector.tsx#L40
TypeError: Cannot read properties of undefined (reading 'split')
❯ getRepoOwnerName static/js/publisher/pages/Builds/RepoSelector.tsx:40:21
❯ static/js/publisher/pages/Builds/RepoSelector.tsx:341:18
❯ RepoSelector static/js/publisher/pages/Builds/RepoSelector.tsx:339:20
❯ Object.react-stack-bottom-frame node_modules/react-dom/cjs/react-dom-client.development.js:23863:20
❯ renderWithHooks node_modules/react-dom/cjs/react-dom-client.development.js:5529:22
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom-client.development.js:8897:19
❯ beginWork node_modules/react-dom/cjs/react-dom-client.development.js:10522:18
❯ runWithFiberInDEV node_modules/react-dom/cjs/react-dom-client.development.js:1522:13
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom-client.development.js:15140:22
This error originated in "static/js/publisher/pages/Builds/__tests__/RepoSelector.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "autofills repository name when matching repository exists for organization". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Loading