issue-470 - favoritar contas #1584
main.yml
on: pull_request
build
48s
e2e
/
playwright-tests
Annotations
10 errors and 1 warning
src/stores/useSocialMediaStore/useSocialMediaStore.spec.ts > useSocialMediaStore > checks if getAllAccounts correctly retrieves and validates social media accounts:
src/stores/useSocialMediaStore/useSocialMediaStore.spec.ts#L145
AssertionError: expected { …(2) } to deeply equal { …(3) }
- Expected
+ Received
Object {
"DISCORD_EXAMPLE_ID": Array [
Object {
"avatar": "https://example.com/image1.jpg",
"expiresAt": "Fri May 17 2024 22:57:54 GMT-0300 (Brasilia Standard Time)",
"generatedAt": "Fri May 17 2024 22:57:54 GMT-0300 (Brasilia Standard Time)",
"id": 1,
"socialMediaId": "DISCORD_EXAMPLE_ID",
"token": "DISCORD_EXAMPLE_TOKEN_1",
"userName": "Discord User 1",
"valid": true,
},
],
- "FAVORITE_ACCOUNTS": Array [],
"TWITTER_EXAMPLE_ID": Array [
Object {
"avatar": "https://example.com/image2.jpg",
"expiresAt": "Fri May 17 2024 22:57:54 GMT-0300 (Brasilia Standard Time)",
"generatedAt": "Fri May 17 2024 22:57:54 GMT-0300 (Brasilia Standard Time)",
"id": 14,
"socialMediaId": "TWITTER_EXAMPLE_ID",
"token": "TWITTER_EXAMPLE_TOKEN_14",
"userName": "Twitter User 14",
"valid": true,
},
],
}
❯ src/stores/useSocialMediaStore/useSocialMediaStore.spec.ts:145:42
|
src/pages/home/components/Sidebar/Sidebar.spec.tsx > Sidebar component > renders correctly:
src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx#L985
TypeError: Cannot read properties of undefined (reading 'some')
❯ SocialAccordion src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx:985:71
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ performConcurrentWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25750:22
|
src/pages/home/components/Sidebar/Sidebar.spec.tsx > Sidebar component > renders all accounts from store:
src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx#L985
TypeError: Cannot read properties of undefined (reading 'some')
❯ SocialAccordion src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx:985:71
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ performConcurrentWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25750:22
|
src/pages/home/components/Sidebar/Sidebar.spec.tsx > Sidebar component > renders favorites accounts when exists in store:
src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx#L985
TypeError: Cannot read properties of undefined (reading 'some')
❯ SocialAccordion src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx:985:71
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ performConcurrentWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25750:22
|
src/pages/home/components/Sidebar/Sidebar.spec.tsx > Sidebar component > renders the InputSearch:
src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx#L985
TypeError: Cannot read properties of undefined (reading 'some')
❯ SocialAccordion src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx:985:71
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ performConcurrentWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25750:22
|
src/pages/home/components/Sidebar/Sidebar.spec.tsx > Sidebar component > renders modal when the button more account is clicked:
src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx#L985
TypeError: Cannot read properties of undefined (reading 'some')
❯ SocialAccordion src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx:985:71
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ performConcurrentWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25750:22
|
src/pages/home/components/Sidebar/Sidebar.spec.tsx > Sidebar component > closes when the esc key is pressed:
src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx#L985
TypeError: Cannot read properties of undefined (reading 'some')
❯ SocialAccordion src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx:985:71
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ performConcurrentWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25750:22
|
src/pages/home/components/Sidebar/Sidebar.spec.tsx > Sidebar component > Closes modal when clicked outside:
src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx#L985
TypeError: Cannot read properties of undefined (reading 'some')
❯ SocialAccordion src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx:985:71
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ performConcurrentWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25750:22
|
src/pages/home/components/Sidebar/Sidebar.spec.tsx > Sidebar component > when filters accordion content > by account username:
src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx#L985
TypeError: Cannot read properties of undefined (reading 'some')
❯ SocialAccordion src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx:985:71
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ performConcurrentWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25750:22
|
src/pages/home/components/Sidebar/Sidebar.spec.tsx > Sidebar component > when filters accordion content > and theres no results:
src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx#L985
TypeError: Cannot read properties of undefined (reading 'some')
❯ SocialAccordion src/pages/home/components/Sidebar/components/SocialAccordion/SocialAccordion.tsx:985:71
❯ renderWithHooks node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ performConcurrentWorkOnRoot node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:25750:22
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|