Skip to content

Commit

Permalink
Remove description
Browse files Browse the repository at this point in the history
  • Loading branch information
JunTaoLuo committed Dec 27, 2024
1 parent 52a3eb5 commit a70bc73
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 75 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import React from 'react';
import PropTypes from 'prop-types';
import { FLOW_TYPES } from '../../../../../utils/constants';
import ReasonForAppointmentSection from '../ReasonForAppointmentSection';
import ContactDetailSection from '../ContactDetailSection';
import AppointmentDate from '../../AppointmentDate';
import Description from './Description';
import TypeOfAppointmentSection from '../TypeOfAppointmentSection';
import State from '../../../../../components/State';

Expand All @@ -17,7 +15,6 @@ export default function ReviewDirectScheduleInfo({
return (
<div>
<h1 className="vaos-review__header vads-u-font-size--h2">{pageTitle}</h1>
<Description data={data} flowType={FLOW_TYPES.DIRECT} />
<TypeOfAppointmentSection data={data} />
<hr aria-hidden="true" className="vads-u-margin-y--2" />
<AppointmentDate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { FACILITY_TYPES, FLOW_TYPES } from '../../../../utils/constants';
import TypeOfAppointmentSection from './TypeOfAppointmentSection';
import VAAppointmentSection from './VAAppointmentSection';
import CommunityCareSection from './CommunityCareSection/CommunityCareSection';
import Description from './ReviewDirectScheduleInfo/Description';

export default function ReviewRequestInfo({
data,
Expand All @@ -18,7 +17,6 @@ export default function ReviewRequestInfo({
return (
<div>
<h1 className="vaos-review__header vads-u-font-size--h2">{pageTitle}</h1>
<Description data={data} flowType={FLOW_TYPES.REQUEST} />
<TypeOfAppointmentSection data={data} flowType={FLOW_TYPES.REQUEST} />
<hr aria-hidden="true" className="vads-u-margin-y--2" />
{isCommunityCare && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,7 @@ describe('VAOS request schedule flow - Audiology', () => {
.assertHeading({
name: /Review and confirm your appointment details/i,
})
.assertHeading({
level: 2,
name: /You.re scheduling an ophthalmology appointment/i,
})
.assertText({ text: /ophthalmology/i })
.clickConfirmButton();

ConfirmationPageObject.assertUrl().assertText({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,7 @@ describe('VAOS direct schedule flow - Primary care', () => {
.assertHeading({
name: /Review and confirm your appointment details/i,
})
.assertHeading({
level: 2,
name: /You.re scheduling a primary care appointment/i,
})
.assertText({ text: /primary care/i })
.clickConfirmButton();

ConfirmationPageObject.assertUrl().assertText({
Expand Down Expand Up @@ -211,10 +208,7 @@ describe('VAOS direct schedule flow - Primary care', () => {
.assertHeading({
name: /Review and confirm your appointment details/i,
})
.assertHeading({
level: 2,
name: /You.re scheduling a primary care appointment/i,
})
.assertText({ text: /primary care/i })
.clickConfirmButton();

ConfirmationPageObject.assertUrl().assertText({
Expand Down Expand Up @@ -293,10 +287,7 @@ describe('VAOS direct schedule flow - Primary care', () => {
.assertHeading({
name: /Review and confirm your appointment details/i,
})
.assertHeading({
level: 2,
name: /You.re scheduling a primary care appointment/i,
})
.assertText({ text: /primary care/i })
.clickConfirmButton();

ConfirmationPageObject.assertUrl().assertText({
Expand Down Expand Up @@ -483,10 +474,7 @@ describe('VAOS direct schedule flow - Primary care', () => {
.assertHeading({
name: /Review and confirm your appointment details/i,
})
.assertHeading({
level: 2,
name: /You.re scheduling a primary care appointment/i,
})
.assertText({ text: /primary care/i })
.clickConfirmButton();

ConfirmationPageObject.assertUrl().assertText({
Expand Down Expand Up @@ -550,10 +538,7 @@ describe('VAOS direct schedule flow - Primary care', () => {
.assertHeading({
name: /Review and confirm your appointment details/i,
})
.assertHeading({
level: 2,
name: /You.re scheduling a primary care appointment/i,
})
.assertText({ text: /primary care/i })
.clickConfirmButton();

ConfirmationPageObject.assertUrl().assertText({
Expand Down Expand Up @@ -713,10 +698,7 @@ describe('VAOS direct schedule flow - Primary care', () => {
.assertHeading({
name: /Review and confirm your appointment details/i,
})
.assertHeading({
level: 2,
name: /You.re scheduling a primary care appointment/i,
})
.assertText({ text: /primary care/i })
.clickConfirmButton();

ConfirmationPageObject.assertUrl().assertText({
Expand Down

0 comments on commit a70bc73

Please sign in to comment.