Skip to content

Conversation

ThomasLandauer
Copy link
Member

Inspired by Codeception/Codeception#6026 (comment)
Main goal: Deleting the multiple PhpBrowser/Framework dependency.

Question: What is &url in this line? Typo?:

url: &url 'http://serviceapp/api/v1/' # you only need the &url anchor for further PhpBrowser configs

Inspired by Codeception/Codeception#6026 (comment)
Main goal: Deleting the *multiple* PhpBrowser/Framework dependency.

Question: What is `&url` in this line? Typo?:
```
url: &url 'http://serviceapp/api/v1/' # you only need the &url anchor for further PhpBrowser configs
```
@ThomasLandauer
Copy link
Member Author

Just found out myself: It's the "definition" for what is referred to later with url: *url.

Is this YAML standard or a Codeception "invention"? And how many occurrences of *url can possibly happen? If it's just 1 (as in the given example), I'd say this concept can be dropped (i.e. removed from docs), since trying to explain/understand it is way more complicated than just copying the full url...

@Naktibalda
Copy link
Member

It is a YAML feature: #15

@ThomasLandauer
Copy link
Member Author

OK, thanks! I now moved this use case into a separate code block. Now the page starts with the simple config (which is probably enough for most users). The &url/*url syntax is so uncommon, and the concept is so hard to explain ("you only need this if you have that" twice), that I think this is impossible to show in one code block without confusing users ;-)

@igorsantos07 you introduced this in #15 - please take a look.

@Naktibalda Naktibalda merged commit d1bfc5a into Codeception:master Apr 5, 2021
@ThomasLandauer ThomasLandauer deleted the patch-3 branch April 5, 2021 18:08
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.

2 participants