Skip to content

Commit

Permalink
add more e2e tests, add new script to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesare De Cal committed Jul 4, 2024
1 parent 13734c2 commit 3c1a859
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 671 deletions.
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-app-rewired eject"
"eject": "react-app-rewired eject",
"test:e2e": "npx playwright test"
},
"eslintConfig": {
"extends": [
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/components/table/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ export const DataTable: React.FC<DataTableProps> = ({ rows, columns, onSortChang
return;
}

console.log('hello sort!', model);

const sortItem = model[0];
onSortChange(sortItem.field, sortItem.sort);
};
Expand Down
106 changes: 0 additions & 106 deletions frontend/src/swapi-people-columns.json

This file was deleted.

237 changes: 0 additions & 237 deletions frontend/src/swapi-people.json

This file was deleted.

Loading

0 comments on commit 3c1a859

Please sign in to comment.