Conversation
|
Hi @FabrizioMoggio , Thanks very much for this PR. Could you look after the .feature file as well? Many thanks, |
sure, I can even prepare the public release when this wip will be approved and merged. Just one question, what is missing in the .feature files? |
|
Thanks, @FabrizioMoggio . Regarding the .feature file, it also has version numbers, which should be reset to vwip. We could refer to camaraproject/Tenure#46 . Thanks, |
I usually rollback to wip only the files that have been changed, anyway I have done it :-) |
|
I checked the novelties in Commonalities here: #29 In my understanding, there was just one fix to do: #29 (comment) |
fernandopradocabrillo
left a comment
There was a problem hiding this comment.
LGTM! thanks @FabrizioMoggio
|
we have a problem with the .feature file: how can we fix this? 0: for the number of scenarios, we could split the .feature file in two, one for sunny day scenarios and one for errors. 177: this is for scenario KYC_Match_6_: it is too long. Can we split it? Or maybe we can reduce the number of optional tested parameters. To avoid errors from my side, can you please email me the code for the new KYC_Match_6_? |
|
Thanks, @FabrizioMoggio . This seems heavy. I would like to see Fernando's view. Best regards, |
|
Hi @FabrizioMoggio , Hi @hdamker ,
Many thanks, |
|
BTW @FabrizioMoggio , @fernandopradocabrillo , Regarding the ErrorInfo order, Pedro Diez created PR #517 ( camaraproject/Commonalities#517 ) to correct the order in the ErrorInfo order in the CAMARA_common.yaml (from Message->Status->Code to Status->Code->Message). So, we don't need to have this change included in this PR. Could you correct this PR (for yaml), please, @FabrizioMoggio ? Many thanks, |
Dear @ToshiWakayama-KDDI , we had already agreed on that so that change has been already implemented (b73958c). Unless I got your request wrong :-) |
@FabrizioMoggio These rules are defined in Commonalities (cf. artifacts/linting_rules/.gherkin-lintrc) and I can't judge if they are absolutely needed as I'm not an expert for these. In your case the counting of scenarios has expanded the scenario outlines, which hit the rule Regarding the second one, here a proposal generated by Copilot, grouping all optional parameters into a single step, which is still below the length limit (of 190): |
@hdamker Thank you very much for the suggestions. @ToshiWakayama-KDDI , @fernandopradocabrillo , @GillesInnov35 if you agree on the solution proposed by Copilot on 177, then we can consider my proposal for 0: 0: split the file in two for "sunny days" and "rainy days". these would be an easy fix This should let us pass the test. Anyway, I'm going to open a request in Commonalities. |
|
Discussion in Commonalities: camaraproject/Commonalities#519 |
Oh, I did not realise it. Thank you so much, @FabrizioMoggio ! BR |
|
Hi @hdamker , @FabrizioMoggio , Regarding the first one,
Thank you @hdamker . That makes much sense. I have just checked the kyc-match .feature file, and found the following:
->24+14+23+23+17=101, same as the number of scenarios the error shows. Now we understand how the error was raised, and @FabrizioMoggio has raised the question in Commonalities, and @hdamker has kindly offered 'Until you have an answer I would tend to ignore this one as the file seems to be readable and maintainable.', so, why don't we leave this as it is (not to split Sunny scenarios and Rainy scenarios) for a while? Best regards, |
|
Hi @FabrizioMoggio , @hdamker , Regarding the second one, Thank you so much for the suggestion! Generally it looks very good. One concern I have is that If this modification is ok, my concern will go away, and let's go for this solution. I will check the Commonalities rules, but if you know the answer, please let me shortcut. Many thanks, |
@ToshiWakayama-KDDI we can try, the only doubt is that, for what I remember, there also is a maximum line length. |
|
As I expected we got: "180: Step name is too long. Length of 334 is longer than the maximum allowed: 190" |
|
We could reduce the line providing just an example for the possible returned parameters: And the request body contains a random combination of valid optional parameters, including, but not limited to, idDocument, name, givenName, familyName, address, region, , email, gender, nationality |
|
Thanks, @FabrizioMoggio . 190 is the limit for a line. The pharse 'including, but not limited to,' is fine with me. Could you please make the line accordingly within the 190 limit. Thanks. |
|
Thanks, @FabrizioMoggio . Sorry for the delay. It was 10pm in Japan when I finished Fill-in and Age Verification, so, I had to leave the office and come home. Now I am at home. I have just approved the PR, and it seems I could merge the PR. Is it OK to merge the PR, even though there is 1 failing from the workflow? > @hdamker Thanks. |
|
Hi @FabrizioMoggio , Sorry for the delay. I had quick dinner. Let me try to merge the PR, although Herbert has not replied yet, but the error is the known Thanks. |
|
Good. The PR has successfuly been merged. Could you preceed with the M4 Release PR, @FabrizioMoggio ? Thanks, |
What type of PR is this?
What this PR does / why we need it:
to fix the new issues post M3 to meet M4
Which issue(s) this PR fixes
#20