Commit 7cb97a2
authored
fix(ci): e2e test updateDevEnv failing #3357
For some reason the cc backend did not receive at
dev env id from our e2e test updateDevEnv api call.
This commit verifies we are giving a dev env id
before sending the api request.
Additional:
We used the variable 'global' before it could
be properly initialized and due to the order of
execution this variable was accessed before it
could be properly initialized.
To fix this it was moved inside a 'before' block
which will ensure it gets executed AFTER all the
pre-test hooks are fun, which includes initializing
the global variable
Signed-off-by: Nikolas Komonen <nkomonen@amazon.com>1 parent f243990 commit 7cb97a2
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
136 | 140 | | |
137 | 141 | | |
138 | 142 | | |
| |||
260 | 264 | | |
261 | 265 | | |
262 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
263 | 270 | | |
264 | 271 | | |
265 | 272 | | |
| |||
334 | 341 | | |
335 | 342 | | |
336 | 343 | | |
| 344 | + | |
337 | 345 | | |
338 | 346 | | |
339 | 347 | | |
| |||
0 commit comments