Skip to content

Commit 1bac29b

Browse files
authored
Merge pull request #1451 from chaynHQ/develop
Merge Develop onto Main
2 parents 01f439a + 4c2ead1 commit 1bac29b

File tree

6 files changed

+557
-559
lines changed

6 files changed

+557
-559
lines changed

.github/workflows/cypress-release-test.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,6 @@ jobs:
3232
contents: read
3333
checks: write
3434
deployments: read
35-
strategy:
36-
# when one test fails, DO NOT cancel the other
37-
# containers, because this will kill Cypress processes
38-
# leaving Cypress Cloud hanging ...
39-
# https://github.com/cypress-io/github-action/issues/48
40-
fail-fast: false
41-
matrix:
42-
# run 3 copies of the current job in parallel
43-
# this will automatically load balance
44-
containers: [1, 2, 3]
4535
steps:
4636
- name: Checkout
4737
uses: actions/checkout@v4
@@ -59,7 +49,6 @@ jobs:
5949
config-file: cypress.config.ts
6050
headed: false
6151
record: true # send results to cypress dashboard
62-
parallel: true
6352
env:
6453
NEXT_PUBLIC_ROLLBAR_ENV: CI
6554
NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA: ci

components/forms/UpdatePartnerAdminForm.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,14 @@ const UpdatePartnerAdminForm = () => {
4545
setAutocompleteSearchQueryIsLoading(true);
4646
const searchCriteria = {
4747
email: autocompleteSearchQuery,
48-
partnerAdmin: { partnerAdminId: 'IS NOT NULL' },
48+
partnerAdmin: true,
4949
include: ['partnerAdmin'],
50-
limit: '10',
50+
limit: 10,
5151
};
5252

5353
const result = await dispatch(
5454
api.endpoints.getUsers.initiate(
55-
{
56-
searchCriteria: JSON.stringify(searchCriteria),
57-
},
55+
{ searchCriteria: JSON.stringify(searchCriteria) },
5856
// We don't want this request cached as a user might use this request to check their updates have worked on the form
5957
{ forceRefetch: true },
6058
),

components/forms/UpdateTherapyAdminForm.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,15 @@ const UpdateTherapyAdminForm = () => {
4949
setAutocompleteSearchQueryIsLoading(true);
5050
const searchCriteria = {
5151
email: autocompleteSearchQuery,
52-
partnerAccess: { featureTherapy: true, active: true },
52+
partnerAccess: { featureTherapy: true as true, active: true as true },
5353
include: ['partnerAccess'],
54-
fields: ['partnerAccess'],
55-
limit: '10',
54+
limit: 10,
5655
};
5756

5857
const result = await dispatch(
5958
api.endpoints.getUsers.initiate(
60-
{
61-
searchCriteria: JSON.stringify(searchCriteria),
62-
},
59+
{ searchCriteria: JSON.stringify(searchCriteria) },
60+
6361
// We don't want this request cached as a user might use this request to check their updates have worked on the form
6462
{ forceRefetch: true },
6563
),

0 commit comments

Comments
 (0)