Skip to content

Commit

Permalink
add more todo items
Browse files Browse the repository at this point in the history
  • Loading branch information
kolodny committed Jan 30, 2024
1 parent 867e238 commit a91303b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ A couple of things I'd like to add to the project
- [ ] I added an undocumented feature of appending #safetest to the url to get info about available tests in the console. Ideally I want this to be a runner like page similar to Cypress UI or Playwright UI.
- [ ] It's possible to add NextJS server side render component testing to the project. I'm not sure if it's worth it though. We would be able to test things like sending a dark-themed page to a user with dark mode enabled etc, there wouldn't be any page actions since those are client side events.
- [ ] I want to "hide" the Safetest library frames from the stack trace similar to how Playwright does it. It's probably as simple as referencing the Safetest `expect` function into `Error.captureStackTrace(expect)` - [reference](https://github.com/microsoft/playwright/blob/39abc6386f59cd200a8c22ecfd52c1848e091662/packages/playwright/src/transform/transform.ts#L256-L279)
- [ ] SafeTest probably needs a dedicated command to start the different main configurations instead of having some magic incantation in `package.json` scripts.
- [ ] Create a custom reporter instead of having the artifacts flag and then using the `add-artifact-info` command to glue them together.
- [ ] It may be worth abandoning `bootstrap(...)` mechanism and just using the `<Bootstrap>` component like the one used in NextJS, this may not translate well to non React frameworks.

0 comments on commit a91303b

Please sign in to comment.