Skip to content

Commit

Permalink
Add B1 Tab
Browse files Browse the repository at this point in the history
* Changes from SITE-3986

* Update B1Tab.tsx

* Create SMTPTestCases.tsx

* Remove duplicate files

* Add env variables and move API calls to ServerActions

* Improve environment variable name

* Remove env variables

* Add Loading Button, Remove Default Profile Values

* add IMAP/POP3 manual validation, attachment type field

* Fix tab data carryover, fix include filter

* Add XDR endpoint fields

* Add XDR DocumentSelector handling

* Fix incorrect emails

* Fix missing doc select on XDR 3

* Add logs formatting

* Fix reversed IMAP and POP3 icons

* Add tooltip

* Fix XDR logs and missing manual validations

* Add attachment type tooltip

* Remove Tooltips add XDR API call

* Add error condition, add clear button

* Fix more info sections, censor profile password

* Add clear selected document

* Remove accept/reject on API error

* Fix XDR more info page

* add tooltip and pop over for endpoint copy

* Fix incorrect xdr email addresses

* Replace popover system and fix error handling

* Language improvements and fix clear button visibility trigger

* Fix language errors

* Add clear button to XDR send

* Basic xdr functionality

* Add manual validation, request/response, remining request fields,

* add xdr document selector

* Add XDR Document Select test functionality, add colorized XML display

* Correct document selection per sub criteria

* Fix failure detection on empty responses

* Banish type errors

* Less restrictive clear button

* Fix CORS issue with document select

* Update DocumentSelector.tsx

* add prettier ignore to bugged line

* Add improved warning triggers

* Add backup content, fix criteriaMet icon on non manual tests

* Language fix and null value handling

* Update replacement values
  • Loading branch information
ebrockainq authored Sep 17, 2024
1 parent d8c4e13 commit a39d434
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/direct/test-by-criteria/ServerActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ export async function handleXDRAPICall(data: XDRAPICallData): Promise<XDRAPIResp
'Cookie': `JSESSIONID=${data.jsession}`,
},
data: JSON.stringify(formattedData),

}

console.log('Sending data:', config)
Expand All @@ -146,7 +145,7 @@ export async function handleXDRAPICall(data: XDRAPICallData): Promise<XDRAPIResp
const content = response.data

const testRequest = content.content.value.request || content.message
const testResponse = content.content.value.response || ''
const testResponse = content.content.value.response || content.message

return {
criteriaMet: content.status,
Expand Down

0 comments on commit a39d434

Please sign in to comment.