This repo is divided into multiple packages using npm workspaces:
addonis the actual ember-cli-page-object addontest-appis its test suitedocsis the documentation/marketing site
git clone https://github.com/san650/ember-cli-page-object.gitcd ember-cli-page-objectpnpm install
Inside any of the packages you can run:
pnpm lintpnpm lint:fix
cd addon && pnpm start– Builds the addon in "watch mode" so changes picked up by test app.pnpm test– Runs the test suite on the current Ember versionpnpm test -- --server– Runs the test suite in "watch mode"cd test-app && ember try:each– Runs the test suite against multiple Ember versions
During development, if you'd like test app to pick up changes in the addon, make sure to run
pnpm start from the project root directory.
pnpm start- enable "watch mode" for addon directory and serve tests- Visit the test application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.