Scouting: Add handler for actions in db.go

Signed-off-by: Sabina Leaver <100027607@mvla.net>
Change-Id: I234a4a838c236dcea209aa1fbceefb0b6566dc08
diff --git a/scouting/scouting_test.cy.js b/scouting/scouting_test.cy.js
index 0237c4b..8ac1880 100644
--- a/scouting/scouting_test.cy.js
+++ b/scouting/scouting_test.cy.js
@@ -105,7 +105,7 @@
   });
 
   //TODO(FILIP): Verify last action when the last action header gets added.
-  it('should: be able to get to submit screen in data scouting.', () => {
+  it('should: be able to submit data scouting.', () => {
     switchToTab('Data Entry');
     headerShouldBe('Team Selection');
     clickButton('Next');
@@ -131,11 +131,11 @@
     clickButton('Endgame');
     cy.get('[type="checkbox"]').check();
 
-    // Should be on submit screen.
-    // TODO(FILIP): Verify that submitting works once we add it.
-
     clickButton('End Match');
     headerShouldBe('Review and Submit');
+
+    clickButton('Submit');
+    headerShouldBe('Success');
   });
 
   it('should: be able to return to correct screen with undo for pick and place.', () => {