@webship.co/workspace-joomla 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99,7 +99,9 @@ account's username, not the handle.
99
99
  - **No password in a feature file**, except where a wrong password is the subject of the scenario.
100
100
  - **No platform name in a step phrase.** A step says what a person does or sees: `I am on the login
101
101
  page`, `I should see the administrator dashboard`, `I go to the administrator "Users" page`. Never
102
- a phrase with the platform's name in it. The same holds for a custom step you write.
102
+ a phrase with the platform's name in it: the name is a value where a step needs it (`the page
103
+ generator should contain "Joomla"`, `the CMS version should start with "<version>"`). The same
104
+ holds for a custom step you write.
103
105
  - **No CSS selector and no address in a scenario when a step of the pack says it.** `the
104
106
  administrator "Users" page`, not `/administrator/index.php?option=com_users`.
105
107
  - **A custom step is the last resort.** Look in the pack and in webship-js first. If one is really
@@ -187,8 +187,10 @@ redefined for this platform.
187
187
  - **`I check in all items` fails when nothing is checked out.** Assert
188
188
  `there should not be checked out items` instead, and check in only after a scenario left a
189
189
  form open.
190
- - **Two phrases of the pack name the platform** (the version and the "running" check). They
191
- break the rule below: leave them out of a suite, and read the version with
190
+ - **The version and the generator are values of a step**, not a part of its phrase:
191
+ `the CMS version should start with "<version>"` reads the System Information page, which is
192
+ for Super Users only, and `the page generator should contain "<name>"` reads the generator
193
+ meta tag of the page. Without an account that may open that page, read the version with
192
194
  `bash cmd-tools-joomla-cli.sh <site>`.
193
195
 
194
196
  ## Rules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webship.co/workspace-joomla",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Joomla for Webship Workspace: the builder (`cmd-joomla-project.sh`) and the Joomla CLI tool in every sites folder, the default accounts, the Joomla step pack wired into the testing setup, and its AI items in their folders: two agents, a skill, a command and a prompt.",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -19,7 +19,7 @@
19
19
 
20
20
  # The step pack a Joomla project is tested with, and the release line it is required at.
21
21
  readonly JOOMLA_STEPS_PACKAGE='@webship-js/joomla-steps';
22
- readonly JOOMLA_STEPS_VERSION='^2.1.0';
22
+ readonly JOOMLA_STEPS_VERSION='^2.2.0';
23
23
 
24
24
  # The release a build falls back on when the latest one cannot be read: the one this plugin was proven on.
25
25
  readonly JOOMLA_PROVEN_VERSION='6.2.0';