CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

chore(tests): convert PHP view forms to self-contained JS files

Open thienng-it opened this issue 4 months ago • 0 comments

Description of the PR

This pull request continues the effort to modernize the testing infrastructure by converting all legacy PHP-based view forms in test/data/app/view/form into self-contained, executable JavaScript files.

By serving these test pages directly from Node.js, this change removes the dependency on a PHP server for running the acceptance tests. This simplifies the testing setup, making it easier and more efficient for contributors to run tests locally and in CI environments. This is a maintenance task aimed at improving the overall developer experience.

This PR does not resolve a specific open issue but is part of the broader test cleanup and modernization initiative.

--> Resolves the issue #5245

Applicable helpers:

  • [x] Playwright
  • [x] Puppeteer
  • [x] WebDriver
  • [ ] REST
  • [ ] FileHelper
  • [ ] Appium
  • [x] TestCafe

Applicable plugins:

  • [ ] allure
  • [ ] autoDelay
  • [ ] autoLogin
  • [x] customLocator
  • [ ] pauseOnFail
  • [ ] coverage
  • [ ] retryFailedStep
  • [ ] screenshotOnFail
  • [ ] selenoid
  • [ ] stepByStepReport
  • [ ] stepTimeout
  • [ ] wdio
  • [ ] subtitles

Type of change

  • [ ] :fire: Breaking changes
  • [ ] :rocket: New functionality
  • [ ] :bug: Bug fix
  • [x] 🧹 Chore
  • [ ] :clipboard: Documentation changes/updates
  • [ ] :hotsprings: Hot fix
  • [ ] :hammer: Markdown files fix - not related to source code
  • [ ] :nail_care: Polish code

Checklist:

  • [ ] Tests have been added
  • [ ] Documentation has been added (Run npm run docs)
  • [x] Lint checking (Run npm run lint)
  • [x] Local tests are passed (Run npm test)

thienng-it avatar Oct 06 '25 05:10 thienng-it