feat(pg-migration): Add Postgres Migration Support for Funds & Fundraising Campaigns in orgDashboard #4888
pull-request.yml
on: pull_request
Performs linting, formatting, type-checking, checking for different source and target branch
1m 14s
Check for eslint-disable
13s
Check for code coverage disable
13s
Checks if sensitive files have been changed without authorization
11s
Checks if number of files changed is acceptable
12s
Check Target Branch
4s
Check Python Code Style
19s
Check if Talawa Admin app starts (No Docker)
0s
Check if Talawa Admin app starts in Docker
0s
Validate CodeRabbit Approval
0s
Annotations
10 errors
Test Application:
src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx#L293
TestingLibraryElementError: Unable to find an element by: [data-testid="searchPledger"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx:293:40
|
Test Application:
src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx#L267
TestingLibraryElementError: Unable to find an element by: [data-testid="searchPledger"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head>
<meta
content=""
name="emotion-insertion-point"
/>
</head>
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx:267:11
|
Test Application:
src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx#L222
TestingLibraryElementError: Unable to find an element by: [data-testid="searchPledger"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head>
<meta
content=""
name="emotion-insertion-point"
/>
</head>
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx:222:11
|
Test Application:
src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx#L211
TestingLibraryElementError: Unable to find an element by: [data-testid="searchPledger"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head>
<meta
content=""
name="emotion-insertion-point"
/>
</head>
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx:211:11
|
Test Application:
src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx#L204
TestingLibraryElementError: Unable to find an element with the text: No Pledges Found. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head>
<meta
content=""
name="emotion-insertion-point"
/>
</head>
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx:204:11
|
Test Application:
src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx#L183
TestingLibraryElementError: Unable to find an element by: [data-testid="searchPledger"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx:183:40
|
Test Application:
src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx#L168
TestingLibraryElementError: Unable to find an element by: [data-testid="deletePledgeBtn"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx:168:42
|
Test Application:
src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx#L152
TestingLibraryElementError: Unable to find an element by: [data-testid="editPledgeBtn"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx:152:40
|
Test Application:
src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx#L136
TestingLibraryElementError: Unable to find an element by: [data-testid="addPledgeBtn"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx:136:39
|
Test Application:
src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx#L128
TestingLibraryElementError: Unable to find an element by: [data-testid="searchPledger"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<html>
<head>
<meta
content=""
name="emotion-insertion-point"
/>
</head>
<body>
<div>
<div
class="_container_d00707 bg-white rounded-4 my-3"
>
<div
class="_message_d00707"
data-testid="errorMsg"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge _errorIcon_d00707 css-uks7c6-MuiSvgIcon-root"
data-testid="WarningAmberRoundedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
/>
</svg>
<h6
class="fw-bold text-danger text-center"
>
Error occured while loading Pledges data
<br />
No more mocked responses for the query: query GetFundCampaignPledges($input: QueryFundCampaignInput!) {
fundCampaign(input: $input) {
id
name
pledges(first: 10) {
edges {
node {
id
amount
note
pledger {
id
name
}
}
}
}
}
}, variables: {"input":{"id":"fundCampaignId"},"pledgeOrderBy":"endDate_DESC"}
</h6>
</div>
</div>
</div>
</body>
</html>
❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ src/screens/FundCampaignPledge/FundCampaignPledge.spec.tsx:128:11
|