mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
lint
This commit is contained in:
parent
61f22a132e
commit
c46b6e13c8
3 changed files with 6 additions and 5 deletions
|
|
@ -27,8 +27,8 @@ application behavior.
|
|||
multiple actions.
|
||||
- Always use best practices from the log when generating tests.
|
||||
|
||||
<example-generation>
|
||||
For following plan:
|
||||
<example-generation>
|
||||
For following plan:
|
||||
|
||||
```markdown file=specs/plan.md
|
||||
### 1. Adding New Todos
|
||||
|
|
@ -62,4 +62,4 @@ application behavior.
|
|||
});
|
||||
```
|
||||
|
||||
</example-generation>
|
||||
</example-generation>
|
||||
|
|
|
|||
|
|
@ -210,7 +210,6 @@ ENVIRONMENT:
|
|||
// UI EXPLORATION (using Playwright accessibility tree)
|
||||
// =============================================================================
|
||||
|
||||
|
||||
/**
|
||||
* Cookie structure required by Playwright's storageState
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -286,7 +286,9 @@ export class SpecificationParser {
|
|||
|
||||
const scenarios: BusinessScenario[] = (specData.scenarios || []).map((s: any, sIndex: number) => {
|
||||
if (!s.name) {
|
||||
throw new Error(`Scenario ${sIndex + 1} in "${specData.name || specData.feature}" missing "name" field`);
|
||||
throw new Error(
|
||||
`Scenario ${sIndex + 1} in "${specData.name || specData.feature}" missing "name" field`,
|
||||
);
|
||||
}
|
||||
return {
|
||||
name: s.name,
|
||||
|
|
|
|||
Loading…
Reference in a new issue