File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1- import React from 'react' ;
2-
31import { fireEvent , render , screen } from '@testing-library/react' ;
42import MockAdapter from 'axios-mock-adapter' ;
53import { act } from 'react-dom/test-utils' ;
@@ -232,7 +230,7 @@ describe('PostsView', () => {
232230
233231 test ( 'test that the cohorts filter works' , async ( ) => {
234232 await act ( async ( ) => {
235- fireEvent . click ( screen . getByLabelText ( 'Cohort 1' ) ) ;
233+ fireEvent . click ( screen . getByLabelText ( 'cohort 1' ) ) ;
236234 } ) ;
237235
238236 dropDownButton = screen . getByRole ( 'button' , {
@@ -280,7 +278,7 @@ describe('PostsView', () => {
280278 queryParam : { group_id : undefined } ,
281279 } ,
282280 {
283- label : 'Cohort 1' ,
281+ label : 'cohort 1' ,
284282 queryParam : { group_id : 'cohort-1' } ,
285283 } ,
286284 ] ) (
You can’t perform that action at this time.
0 commit comments