WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

feat: show error message if organization of same name already exists while editing organization #9883

feat: show error message if organization of same name already exists while editing organization

feat: show error message if organization of same name already exists while editing organization #9883

Triggered via pull request December 6, 2025 16:09
Status Failure
Total duration 8m 8s
Artifacts 12

pull-request.yml

on: pull_request
Performs linting, formatting, type-checking, unused file detection, checking for different source...
1m 28s
Performs linting, formatting, type-checking, unused file detection, checking for different source...
Check for eslint-disable
29s
Check for eslint-disable
Check for code coverage disable
31s
Check for code coverage disable
Check for it.skip commands
29s
Check for it.skip commands
Check for proper mock cleanup in test files
8s
Check for proper mock cleanup in test files
Checks if sensitive files have been changed without authorization
30s
Checks if sensitive files have been changed without authorization
Checks if number of files changed is acceptable
27s
Checks if number of files changed is acceptable
Check Target Branch
3s
Check Target Branch
Generate and Validate Documentation
58s
Generate and Validate Documentation
Check Python Code Style
42s
Check Python Code Style
Matrix: Test-Application
Test-Application-E2E
5m 33s
Test-Application-E2E
Merge Coverage Reports
0s
Merge Coverage Reports
Check if Talawa Admin app starts (No Docker)
0s
Check if Talawa Admin app starts (No Docker)
Check if Talawa Admin app starts in Docker
0s
Check if Talawa Admin app starts in Docker
Test Deployment to https://docs-admin.talawa.io
Test Deployment to https://docs-admin.talawa.io
ZAP Security Scan
0s
ZAP Security Scan
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Test Application (Shard 1)
Process completed with exit code 1.
src/components/OrgSettings/General/OrgUpdate/OrgUpdate.spec.tsx > OrgUpdate Component > OrgUpdate Loading and Error States - Initial Tests > shows error toast when organization name already exists: src/components/OrgSettings/General/OrgUpdate/OrgUpdate.spec.tsx#L703
AssertionError: expected "spy" to be called with arguments: [ Array(1) ] Received: 1st spy call: [ - "The given organization name already exists", + "No more mocked responses for the query: mutation UpdateOrganization($input: MutationUpdateOrganizationInput!) { + updateOrganization(input: $input) { + id + name + description + addressLine1 + addressLine2 + city + state + postalCode + countryCode + avatarMimeType + avatarURL + updatedAt + __typename + } + } + Expected variables: {\"input\":{\"id\":\"1\",\"name\":\"Existing Org\",\"description\":\"Test Description\",\"addressLine1\":\"123 Test St\",\"addressLine2\":\"Suite 100\",\"city\":\"Test City\",\"state\":\"Test State\",\"postalCode\":\"12345\",\"countryCode\":\"US\",\"isUserRegistrationRequired\":false}} + + Failed to match 1 mock for this query. The mocked response had the following variables: + {\"input\":{\"id\":\"1\",\"name\":\"Updated Org\",\"description\":\"Updated Description\",\"addressLine1\":\"123 Test St\",\"addressLine2\":\"Suite 100\",\"city\":\"Test City\",\"state\":\"Test State\",\"postalCode\":\"12345\",\"countryCode\":\"US\",\"isUserRegistrationRequired\":false}} + ", ] Number of calls: 1 Ignored nodes: comments, script, style <html> <head> <meta content="" name="emotion-insertion-point" /> </head> <body> <div> <div id="orgupdate" > <form class="_ss_d8535b" > <label class="_orgUpdateFormLables_d8535b form-label" > Name </label> <input autocomplete="off" class="_textFields_d8535b form-control" placeholder="Enter organization name" required="" value="Existing Org" /> <label class="_orgUpdateFormLables_d8535b form-label" > Description </label> <textarea autocomplete="off" class="_descriptionTextField_d8535b form-control" placeholder="Enter organization description" required="" > Test Description </textarea> <label class="_orgUpdateFormLables_d8535b form-label" > Location </label> <input autocomplete="off" class="_textFields_d8535b form-control" placeholder="Enter Organization location" required="" value="123 Test St" /> <label class="_orgUpdateFormLables_d8535b form-label" for="orgphoto" > Display Image : </label> <input accept="image/*" class="_customFileInput_d8535b form-control" data-testid="organisationImage" name="photo" placeholder="Display Image" type="file" /> <div class="row" > <div class="d-flex mb-4 mt-4 align-items-center col-sm-6" > <label class="me-3 mb-0 fw-normal text-black form-label" > orgUpdate.isPublic : </label> <div class="custom-switch form-switch" > <input checked="" class="form-check-input" placeholder="orgUpdate.userRegistrationRequired" type="checkbox" /> </div> </div> <div class="d-flex mb-4 mt-4 align-items-center col-sm-6" > <label class="me-3 mb-0 fw-normal text-black form-label" > Is visible in search : </label> <div class="custom-switch form-switch" > <input class="form-c

Artifacts

Produced during runtime
Name Size Digest
coverage-shard-1
12.8 MB
sha256:aa6b567842746250855be83aa911f1b1d04b6ee4e58fb621b305614f22415a10
coverage-shard-10
15.1 MB
sha256:f473d181f0ded137ee4e63ace4b8aed8e2d3e809201a96a1020c6652cbc481b4
coverage-shard-11
13.6 MB
sha256:3851f01512f1284580c38409a24a506bf01f68adc756dc8e8f418fe3084bdea1
coverage-shard-12
15.2 MB
sha256:d10641a16cdc2d0bd20066f8da34fefacb4dfb3edc6bfd31aace3d574fa92426
coverage-shard-2
12.9 MB
sha256:2f3a1758dc291181581c6751dccf6d225a4bcceeca6dc87d1111330e025a3c77
coverage-shard-3
15.7 MB
sha256:a2d47d5ce7bbc52d164e9831872de804507e3f10fbcfbbc9d17480ed5b1e092e
coverage-shard-4
13.6 MB
sha256:bc082061e63de6e26f7e622674d29bbd875d993a6402fb9781104bb43514a4ff
coverage-shard-5
14.6 MB
sha256:3b56cf780374a7974a832fb713f3648d500cdd9fd499affbfba29e2191cd0d8e
coverage-shard-6
14.2 MB
sha256:444c0a4d906a7e32cef783c0eff9d73e70194a6ffce2670b7847141054331cd5
coverage-shard-7
14.6 MB
sha256:9820af37431c10282c35369dae4f3bb9e3a4bc899ad55caa1d6159c808976dbf
coverage-shard-8
14 MB
sha256:b5fd3339a3d15b82572c178e327c802e9b84a96b875038cb982d7403b244988e
coverage-shard-9
14 MB
sha256:7cf28603b119cf489d9ef9d7852436dde4648f7c8e46e23e2d8813d81586b95f