pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

Playwright Test mod that uses Google Sheets

Open grahamlangford opened this issue 1 year ago • 2 comments

Acceptance Criteria

  • [ ] Test that leverages the Google Sheets APIs
    • [ ] Can be Page Editor, Sidebar mod, or Extension Console, whatever is easiest
    • [ ] Mock the response from the API (https://playwright.dev/docs/mock)
    • [ ] Should successfully call the API and test that the UI is correctly updated with the response

Notes

  • Let's timebox initially to 1 day, then revisit. Depending on LoE, we may want to prioritize other Playwright issues first.
  • @BLoe has context on the GSheets APIs

grahamlangford avatar Mar 25 '24 18:03 grahamlangford

@BLoe is there a Postman collection with the relevant APIs?

grahamlangford avatar Mar 25 '24 18:03 grahamlangford

@BLoe is there a Postman collection with the relevant APIs?

It's in the "Brick Prototyping" workspace, in the Google Drive and Google Sheets collections. YMMW on cleanliness/completeness of the collections there, but I think most of it is in place. For authentication, the CLIENT_ID, and CLIENT_SECRET should be configured as collection variables, but let me know if there are any issues with that and I can share those values directly.

BLoe avatar Mar 27 '24 17:03 BLoe