[ 
https://issues.apache.org/jira/browse/MYFACES-4532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677238#comment-17677238
 ] 

Werner Punz edited comment on MYFACES-4532 at 1/16/23 9:08 AM:
---------------------------------------------------------------

We face two issues here

the first one is that we still have a bug in the selenium codebase which causes 
a race condition on this exact test but not always, hence I thought this test 
already passes, and it did multiple times, but it now fails sometimes.

The problem is that the browser runs in a parallel process to the tests and 
waiting for the browser to catch up in certain tests is a must.

The other one is the double include issue but thats not what is causing the 
test to fail, which is very likely only on the old codebase.

The test fails because of the race condition itself and is a problem of my 
extended selenium framework which adds certain html unit functionality to the 
webdriver.

 

 


was (Author: werpu):
We face two issues here

the first one is that we still have a bug in the selenium codebase which causes 
a race condition on this exact test.

The problem is that the browser runs in a parallel process to the tests and 
waiting for the browser to catch up in certain tests is a must.

The other one is the double include issue but thats not what is causing the 
test to fail, which is very likely only on the old codebase.

The test fails because of the race condition itself and is a problem of my 
extended selenium framework which adds certain html unit functionality to the 
webdriver.

 

 

> TCK-Spec1423 fails on codebase
> ------------------------------
>
>                 Key: MYFACES-4532
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4532
>             Project: MyFaces Core
>          Issue Type: Task
>    Affects Versions: 3.0.1, 2.3.10, 2.3-next-M7, 4.0.0-RC2
>            Reporter: Werner Punz
>            Assignee: Werner Punz
>            Priority: Minor
>             Fix For: 3.0.3, 2.3-next-M8, 4.0.0-RC3
>
>         Attachments: image-2023-01-13-10-32-20-321.png, 
> image-2023-01-13-10-34-43-383.png
>
>
> See als comments in https://issues.apache.org/jira/browse/MYFACES-4531
>  
> The issue is that every time one of the test buttons is pressed a resource 
> response is issued
> and the resource is reappended.
> Per spec there is no double resource check on the client side, so I did not 
> implement it, the RI however seems to have something in place.
> Server side implementation would be preferrable for this case, but I for now 
> will add a client side fix.
>  
> The easiest way to replicate it is to use my tckworkbench project on:
> [https://github.com/werpu/tckworkbench]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to