Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadkitenge committed Aug 3, 2023
1 parent 7821306 commit 94d03f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress/integration/table/sessions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('Sessions', () => {
cy.visit('/');

cy.findByTestId('AddCircleIcon').click();
cy.findByLabelText('Name*').type('Session');
cy.findByLabelText('Name *').type('Session');
cy.findByLabelText('Summary').type('Summary');

cy.startSnoopingBrowserMockedRequest();
Expand Down
2 changes: 1 addition & 1 deletion src/session/saveSessionDialogue.component.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('save session dialogue', () => {
it('calls setSessionName when input value changes', async () => {
createView();

const nameInput = screen.getByLabelText('Name*');
const nameInput = screen.getByLabelText('Name *');
user.type(nameInput, 'Test Session');

await waitFor(() => {
Expand Down
3 changes: 2 additions & 1 deletion src/session/saveSessionDialogue.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ const SaveSessionDialogue = (props: SessionDialogueProps) => {
<DialogTitle>Save Session</DialogTitle>
<DialogContent>
<TextField
label="Name*"
label="Name"
required={true}
sx={{ width: '100%', margin: '4px' }}
value={sessionName}
error={nameError}
Expand Down

0 comments on commit 94d03f7

Please sign in to comment.