There are a lot of ways. One way that might be handy is to do it all manually one time, and then copy the container’s persist directory. Then you can just present a copy of that persist directory during testing, to start from however you left it. There’s a guide to the files here:
The home.sqlite3 file stores information about users and workspaces, and then the actual docs you make are in docs/*.grist. The grist-sessions.db won’t matter for this use case.