mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-07 03:15:56 +00:00
Registers web-app-gitea as a service provider in the registry by adding `enabled: true, shared: true, provides: gitea` to its `gitea:` primary entity in meta/services.yml, so consumers (e.g. matrix-deploy variants) can pull the role in via a `services.gitea.enabled+shared` flag instead of needing an explicit `--id`. Aligns the tasks layout with the project's invokable-role convention: the bulk of the role's logic moves from `tasks/main.yml` to `tasks/01_core.yml` (with `include_tasks: utils/once/flag.yml` as the first task), and `tasks/main.yml` becomes a thin guard that loads 01_core under `when: run_once_web_app_gitea is not defined`. The remaining numbered task files shift up by one (01_database → 02, 02_setup → 03, 03_cleanup → 04) so 01 stays the canonical core file the lint expects. Splits the playwright spec into atomar `test-*.js` modules following the mattermost/taiga convention: `_shared.js` carries env validation, the healthz URL helper, and persona re-exports; `playwright.spec.js` becomes a thin orchestrator that wires the `ignoreHTTPSErrors` setting, the `beforeEach` env-presence guard, and `require()`s each test module in turn. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
8 lines
196 B
JavaScript
8 lines
196 B
JavaScript
const { test } = require("@playwright/test");
|
|
|
|
exports.register = function (shared) {
|
|
test("biber: app → universal logout", async ({ page }) => {
|
|
await shared.runBiberFlow(page);
|
|
});
|
|
};
|