Skip to content

Commit

Permalink
Add test by criteria 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
  • Loading branch information
ebrockainq authored Sep 11, 2024
1 parent 94f9533 commit d39fb6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/direct/hisp/XDRTestCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ const TestCard = ({ test, receive }: TestCardProps) => {
renderMoreInfo()
) : showLogs ? (
<CardContent>
<Typography variant="h3">Log for XDR Test {test.name}</Typography>
<Typography variant="h3">Log for {test.name}</Typography>

<Box sx={{ display: 'flex', gap: 1, justifyContent: 'flex-start', mt: 2, mb: 2 }}>
<Button
Expand Down
2 changes: 1 addition & 1 deletion src/components/direct/test-by-criteria/ServerActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,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 || ''

return {
criteriaMet: content.status,
Expand Down

0 comments on commit d39fb6e

Please sign in to comment.