hotosm / website

Other
2 stars 0 forks source link

As a developer, I want to enhance the testing capabilities of our application by integrating Playwright with BrowserStack for automated cross-browser testing. #11

Open katporks opened 9 months ago

katporks commented 9 months ago

Acceptance Criteria:

  1. Playwright is successfully integrated into the application and is able to automate browser actions for testing.
  2. BrowserStack is successfully integrated with Playwright, enabling automated cross-browser testing.
  3. The integration of Playwright and BrowserStack should be configurable based on the environment (development, production).
  4. Existing functionality of the application should not be impacted by the integration of Playwright and BrowserStack.
  5. Documentation is updated to include instructions on how to use Playwright with BrowserStack for testing.
spwoodcock commented 9 months ago

I would strongly recommend Playwright over Selenium.

Selenium is pretty old tech now, using xpaths etc.

Playwright has a much nicer dev experience:

We will use the Javascript implementation for FMTM 👍

(BrowserStack also supports Playwright, if you want to use it).

katporks commented 9 months ago

@spwoodcock I'm glad I posted this. Thank you for your input! I will change it to Playwright to align with FMTM. I'm all for a nicer dev experience as well 👍🏼