Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dudchakk committed Nov 24, 2024
1 parent f677b0d commit 85440ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe('ProfessionalInfoTab for tutor', () => {

it('should render about tutor block', () => {
const aboutTutorTitle = screen.getByText(
'editProfilePage.profile.professionalTab.aboutTheTutorTitle'
'editProfilePage.profile.professionalTab.tutorAboutTitle'
)

expect(aboutTutorTitle).toBeInTheDocument()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('AboutTutorAccordion', () => {

it('should open first accordion by default', () => {
const textAreas = screen.getAllByLabelText(
'editProfilePage.profile.professionalTab.accordion.textareaLabel'
'editProfilePage.profile.professionalTab.accordionTutor.textareaLabel'
)

expect(textAreas).toHaveLength(4)
Expand All @@ -28,7 +28,7 @@ describe('AboutTutorAccordion', () => {

it('should open corresponding accordion content', () => {
const secondItemTitle = screen.getByText(
'editProfilePage.profile.professionalTab.accordion.workExperience'
'editProfilePage.profile.professionalTab.accordionTutor.workExperience'
)
fireEvent.click(secondItemTitle)

Expand Down

0 comments on commit 85440ea

Please sign in to comment.