Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Davies <[email protected]>
  • Loading branch information
joshuadkitenge and joelvdavies authored Oct 19, 2023
1 parent 13feeba commit b579c9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/catalogue/catalogueItems.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ describe('Catalogue Items', () => {
});
});

it('displays error message if not of the field have been edited', () => {
it('displays error message if none of the fields have been edited', () => {
cy.visit(
'/inventory-management-system/catalogue/beam-characterization/energy-meters'
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ describe('Catalogue Items Dialog', () => {
expect(onClose).toHaveBeenCalled();
});

it('display error message when invalid number format', async () => {
it('display error message when invalid number format in property values and invalid manufacturer url', async () => {
props = {
...props,
parentId: '4',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ describe('Catalogue Items Landing Page', () => {
});
});

it('opens the edit catalogue item dialog', async () => {
it('opens and closes the edit catalogue item dialog', async () => {
createView('/inventory-management-system/catalogue/items/1');

await waitFor(() => {
Expand Down

0 comments on commit b579c9b

Please sign in to comment.