Skip to content

Commit a9df2a4

Browse files
committed
Gwen project init enhancements
1 parent e85b0ad commit a9df2a4

File tree

4 files changed

+11
-35
lines changed

4 files changed

+11
-35
lines changed

docs/02-get-started.mdx

+1-9
Original file line numberDiff line numberDiff line change
@@ -111,32 +111,24 @@ The `init` command will generate the following files and subdirectories in your
111111
```
112112
./ # Project root
113113
├── .gitignore # Git ignore file
114-
├── README.md
115114
├── gwen.conf # Common settings
115+
├── package.json # Package json file
116116
└── /gwen
117117
├── .gitignore # Git ignore file
118118
├── /conf
119119
│ ├── /browsers # Browser settings
120120
│ │ ├── chrome.conf
121121
│ │ ├── edge.conf
122122
│ │ ├── firefox.conf
123-
│ │ ├── README.md
124123
│ │ └── safari.conf
125124
│ ├── /env # Environment settings
126-
│ │ ├── dev.conf
127-
│ │ ├── local.conf
128125
│ │ ├── prod.conf
129-
│ │ ├── README.md
130-
│ │ ├── staging.conf
131126
│ │ └── test.conf
132127
│ └── /profiles # Profile settings
133-
│ ├── README.md
134128
│ └── samples.conf
135129
├── /features # Features and associative meta
136-
│ ├── README.md
137130
│ └── /samples # Samples
138131
└── /meta # Common/reusable meta
139-
└── README.md
140132
141133
```
142134

docs/07-launcher.mdx

+7-15
Original file line numberDiff line numberDiff line change
@@ -1088,10 +1088,10 @@ Default launch options and arguments can also be configured in [settings](/docs/
10881088

10891089
<TabItem value="yarn">
10901090

1091-
To execute all feature files in a directory on the firefox browser using dev environment settings.
1091+
To execute all feature files in a directory on the firefox browser using test environment settings.
10921092

10931093
```shell
1094-
yarn gwen -b -c gwen/conf/browsers/firefox.conf,gwen/conf/env/dev.conf gwen/features/dir
1094+
yarn gwen -b -c gwen/conf/browsers/firefox.conf,gwen/conf/env/test.conf gwen/features/dir
10951095
```
10961096

10971097
To execute a feature file and load custom properties.
@@ -1104,10 +1104,10 @@ Default launch options and arguments can also be configured in [settings](/docs/
11041104

11051105
<TabItem value="npm">
11061106

1107-
To execute all feature files in a directory on the firefox browser using dev environment settings.
1107+
To execute all feature files in a directory on the firefox browser using test environment settings.
11081108

11091109
```shell
1110-
npm run gwen -- -b -c gwen/conf/firefox.conf,gwen/conf/env/dev.conf gwen/features/dir
1110+
npm run gwen -- -b -c gwen/conf/firefox.conf,gwen/conf/env/test.conf gwen/features/dir
11111111
```
11121112

11131113
To execute a feature file and load custom properties.
@@ -1120,10 +1120,10 @@ Default launch options and arguments can also be configured in [settings](/docs/
11201120

11211121
<TabItem value="pnpm">
11221122

1123-
To execute all feature files in a directory on the firefox browser using dev environment settings.
1123+
To execute all feature files in a directory on the firefox browser using test environment settings.
11241124

11251125
```shell
1126-
pnpm gwen -b -c gwen/conf/browsers/firefox.conf,gwen/conf/env/dev.conf gwen/features/dir
1126+
pnpm gwen -b -c gwen/conf/browsers/firefox.conf,gwen/conf/env/test.conf gwen/features/dir
11271127
```
11281128

11291129
To execute a feature file and load custom properties.
@@ -1907,32 +1907,24 @@ Default launch options and arguments can also be configured in [settings](/docs/
19071907
```
19081908
./ # Project root
19091909
├── .gitignore # Git ignore file
1910-
├── README.md
19111910
├── gwen.conf # Common settings
1911+
├── package.json # Package json file
19121912
└── /gwen
19131913
├── .gitignore # Git ignore file
19141914
├── /conf
19151915
│ ├── /browsers # Browser settings
19161916
│ │ ├── chrome.conf
19171917
│ │ ├── edge.conf
19181918
│ │ ├── firefox.conf
1919-
│ │ ├── README.md
19201919
│ │ └── safari.conf
19211920
│ ├── /env # Environment settings
1922-
│ │ ├── dev.conf
1923-
│ │ ├── local.conf
19241921
│ │ ├── prod.conf
1925-
│ │ ├── README.md
1926-
│ │ ├── staging.conf
19271922
│ │ └── test.conf
19281923
│ └── /profiles # Profile settings
1929-
│ ├── README.md
19301924
│ └── samples.conf
19311925
├── /features # Features and associative meta
1932-
│ ├── README.md
19331926
│ └── /samples # Samples
19341927
└── /meta # Common/reusable meta
1935-
└── README.md
19361928
```
19371929

19381930
<div class="grid-3">

docs/13-docker.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ services:
174174
- $PWD:/project
175175
- $PWD/gwen/output/assets:/tmp/assets
176176
working_dir: /project
177-
command: bash -c "yarn install && yarn gwen -b -c gwen/conf/browsers/grid.conf gwen/features"
177+
command: bash -c "yarn install && yarn gwen:grid"
178178

179179
gwen-dry-run:
180180
build:
@@ -188,7 +188,7 @@ services:
188188
volumes:
189189
- "$PWD:/project"
190190
working_dir: /project
191-
command: bash -c "yarn install && yarn gwen -bn --parallel gwen/features"
191+
command: bash -c "yarn install && yarn gwen:dryRun"
192192

193193
```
194194

docs/97-gwen4.mdx

+1-9
Original file line numberDiff line numberDiff line change
@@ -81,34 +81,26 @@ The new project strucutre looks like this:
8181

8282
```
8383
./ # Project root
84-
├── README.md
8584
├── gwen.conf # Common settings
85+
├── package.json # Package json file
8686
└── /gwen
8787
├── .gitignore # Git ignore file
8888
├── /conf
8989
│ ├── /browsers # Browser settings
9090
│ | ├── chrome.conf
9191
│ | ├── edge.conf
9292
│ | ├── firefox.conf
93-
│ | ├── README.md
9493
│ | └── safari.conf
9594
│ ├──/env # Environment settings
96-
│ | ├── dev.conf
97-
│ | ├── local.conf
9895
│ | ├── prod.conf
99-
│ | ├── README.md
100-
│ | ├── staging.conf
10196
│ | └── test.conf
10297
│ └──/profiles # Profile settings
103-
│ ├── README.md
10498
│ ├── profile1.conf
10599
│ ├── profile2.conf
106100
│ ├── ..
107101
│ └── profileN.conf
108102
├── /features # Features (and associative meta)
109-
│ └── README.md
110103
└── /meta # Common meta
111-
└── README.md
112104
```
113105

114106
### Read-Only Input Data

0 commit comments

Comments
 (0)