At the moment we run PHPUnit and PHPCS (linter) in continuous integration (the automated tests that run for each commit to master and each pull request). I'd like to add our browser test framework WebDriverIO to this list.
WebDriverIO is working locally. I can type npm ci; npm run wdio and the one test I've written runs and passes. But I haven't gotten this to work in CI yet.
Related to #89 but making this its own ticket. That was more of a brainstorming ticket. This ticket is more specific.
Acceptance criteria
The above logic could be scripted in different ways. Three ideas that come to mind are 1) Docker, 2) Bash Commands (run:), 3) a couple of GitHub Actions uses: from the marketplace. Perhaps Docker is best so that I can also spin this up locally.
Code should be submitted to this repo as public pull requests and go through code review. Questions can be submitted as comments on this ticket or in one of the PRs.
I may hire a dev on Upwork to do this for me. Once I get this working, it will be a useful template for some of my other repos.
At the moment we run PHPUnit and PHPCS (linter) in continuous integration (the automated tests that run for each commit to master and each pull request). I'd like to add our browser test framework WebDriverIO to this list.
WebDriverIO is working locally. I can type
npm ci; npm run wdioand the one test I've written runs and passes. But I haven't gotten this to work in CI yet.Related to #89 but making this its own ticket. That was more of a brainstorming ticket. This ticket is more specific.
Acceptance criteria
name: Selenium (Browser Tests)npm cinpm run wdio- a special configuration file just for CI such as wdio-github.conf.js can be created and usedThe above logic could be scripted in different ways. Three ideas that come to mind are 1) Docker, 2) Bash Commands (
run:), 3) a couple of GitHub Actionsuses:from the marketplace. Perhaps Docker is best so that I can also spin this up locally.Code should be submitted to this repo as public pull requests and go through code review. Questions can be submitted as comments on this ticket or in one of the PRs.
I may hire a dev on Upwork to do this for me. Once I get this working, it will be a useful template for some of my other repos.