mattermost-community / mattermost-plugin-e2e-test-utils

MIT License
0 stars 0 forks source link

Centralize GitHub action for running playwright tests #6

Open mickmister opened 2 months ago

mickmister commented 2 months ago

We should probably have a reusable action to run playwright tests, probably defined here https://github.com/mattermost/actions/tree/main/plugin-ci

mickmister commented 2 months ago

For allowing plugin projects that use these workflows to inject environment variables, I think we can have a PLUGIN_CI_ENV workflow input, that then gets injected into the workflow via an environment variable of the same name. That way plugin projects can provide arbitrary environment variables to its own scripts when running the playwright test. No sensitive env vars will be used here.