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 #9881

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 #9881

Triggered via pull request December 6, 2025 15:55
Status Failure
Total duration 7m 43s
Artifacts 12

pull-request.yml

on: pull_request
Performs linting, formatting, type-checking, unused file detection, checking for different source...
1m 29s
Performs linting, formatting, type-checking, unused file detection, checking for different source...
Check for eslint-disable
28s
Check for eslint-disable
Check for code coverage disable
27s
Check for code coverage disable
Check for it.skip commands
28s
Check for it.skip commands
Check for proper mock cleanup in test files
10s
Check for proper mock cleanup in test files
Checks if sensitive files have been changed without authorization
28s
Checks if sensitive files have been changed without authorization
Checks if number of files changed is acceptable
31s
Checks if number of files changed is acceptable
Check Target Branch
4s
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 8s
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
0s
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:644bd538f396cad61e0b3c2ef4dc5d7ad078dc8a893be7d74536627640f5a1d9
coverage-shard-10
15.1 MB
sha256:c09e59960ae0c6d0d839a6a57fea5971668262c3bfe0c642d573ca5fd95d0f14
coverage-shard-11
13.6 MB
sha256:fde679ca047a62e422c9f1060db75895e3abeeaf02c5d6d43d97b260af0e16b6
coverage-shard-12
15.2 MB
sha256:0aec9c412b994b8768afb7d6ae0babbde1dc0fce4ee138989ae038c0d0c27487
coverage-shard-2
12.8 MB
sha256:db510ee32e88ec4b3774cce2b7b204abeb350e330751ce65ea198f52f8b6f8d5
coverage-shard-3
15.7 MB
sha256:77678880d6b7458735281369b7ce1bfaa722793caf12a45a4ef3385e2abff926
coverage-shard-4
13.6 MB
sha256:ffecae14a3e9efcad1bab21e9d6cef81cc854021357788d6f027dba848a978f8
coverage-shard-5
14.6 MB
sha256:5f54158e1ec1e74f5d22a611feaf53f94ee8da80c034d897b532af8d7f331ab5
coverage-shard-6
14.2 MB
sha256:65697efd02e27d73264f3637a9d58104c2c98f7de94df325064668bbdc21c451
coverage-shard-7
14.6 MB
sha256:d500508ce61c7e32c695fd90a5f5342dd117e2da1facdb7fdbe9b3e2a9e17c70
coverage-shard-8
14 MB
sha256:2cb323a870a413ce93af2c5f1e9aecf39a81e2612d9e580ea5fb8d14249e9d7a
coverage-shard-9
14 MB
sha256:cf9f6095480684d7194e2e87e34c1554326e65e4077216f0ba743aea98f7c72a