Skip to content

Conversation

@TavoNiievez
Copy link
Member

300 additions & 419 deletions.

@TavoNiievez TavoNiievez requested a review from Naktibalda June 30, 2024 19:27
@DavertMik
Copy link
Member

Wow, that's nice!

@SamMousa
Copy link
Collaborator

SamMousa commented Sep 11, 2024

  • Trusted contributor
  • Changes look reasonable
  • Tests pass

I'd say just merge this!

@SamMousa
Copy link
Collaborator

@TavoNiievez what's your confidence level on this? Can I go ahead and merge this or do you feel there's specific things that need an extra good look?

@TavoNiievez
Copy link
Member Author

@SamMousa Well, I had gotten used to Naktibalda checking me this kind of PR where I change many things at once, since he is (or was?) who had a more general knowledge about what is susceptible to generate problems if changed, even if the tests are going OK.

If I had to answer your question I would say 85% sure that all changes were applied safely.

@SamMousa
Copy link
Collaborator

I'm gonna defer to him, and gonna ping him hoping he'll give the okay then! @Naktibalda you up for reviewing this?

@TavoNiievez
Copy link
Member Author

I rechecked the changes I introduced in this PR and I think it is ready.

I'm going to continue with another folder so I'm going to go ahead with this.

@TavoNiievez TavoNiievez merged commit fc707f5 into Codeception:main Nov 10, 2024
garvinhicking added a commit to garvinhicking/Codeception that referenced this pull request Feb 17, 2025
This is a regression bugfix for release 5.2.0.

With Codeception#6767 the ParamsLoader was streamlined, but when previously `$paramsFile` was passed to the loader methods, now only `$paramStorage` is passed, which misses getting converted to an absolute path via `codecept_absolute_path()`.

This patch restores utilizing `$paramsFile` and also uses that to emit warnings when a file cannot be loaded.

This bug caused missing file resolving, because software like TYPO3 for example executes tests from the repo directory `typo3/sysext/core/Tests/codeception.yml` and uses:

```
params:
  - parameters.yml
  - env.yml
```

and expects that the file is found next to the `codeception.yml` file in the same directory, and thus a breaking change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants