[JBoss JIRA] (RFPL-2263) Create tests for progress facet of fileUpload
by Matej Novotny (JIRA)
[ https://issues.jboss.org/browse/RFPL-2263?page=com.atlassian.jira.plugin.... ]
Matej Novotny commented on RFPL-2263:
-------------------------------------
One of the tests was re-enabled, but the other ({{testCustomProgressBarPresenceBeforeFinishedUpload}}) is still failing. Original solution does not work (calls window.stop()).
It is trying to test the presence of progress bar when you start uploading a file. However, the file uploads very quickly and the there is a wait method included so before the wait is over there is no longer any bar present. This basically means we cannot test it via WebDriver itself and JavaScript is needed.
I tried to create a JS function searching for the bar once upload is triggered (and setting a boolean variable on page) but I cannot locate any element within progress bar which would mark its presence on the page. From JS it seems that the bar is 'visible' even though the upload did not start yet. I'll keep searching for solution as we could use such test; none of our automated fUpload tests covers this.
> Create tests for progress facet of fileUpload
> ---------------------------------------------
>
> Key: RFPL-2263
> URL: https://issues.jboss.org/browse/RFPL-2263
> Project: RichFaces Planning
> Issue Type: Task
> Components: QE
> Affects Versions: 4.2.2.Final
> Reporter: Pavol Pitonak
> Assignee: Matej Novotny
>
> Create a new sample and tests for rich:fileUpload with *progress* facet. See Component Reference [1] and rich:progressBar sample in Metamer for more information.
> [1] http://docs.jboss.org/richfaces/4.2.X/4.2.2.Final/Component_Reference/en-...
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (RFPL-3503) FileUpload tests are failing due to Graphene bug
by Matej Novotny (JIRA)
[ https://issues.jboss.org/browse/RFPL-3503?page=com.atlassian.jira.plugin.... ]
Matej Novotny commented on RFPL-3503:
-------------------------------------
Linking to RF-13971. After dependencies get updated, most tests will run. Tried this localy, there will be few failures which, however, are linked to other issues not only this one.
Commit mentioned in this issue can be used to track affected tests and remove them from future group.
> FileUpload tests are failing due to Graphene bug
> ------------------------------------------------
>
> Key: RFPL-3503
> URL: https://issues.jboss.org/browse/RFPL-3503
> Project: RichFaces Planning
> Issue Type: Bug
> Affects Versions: 4.5.0.Beta2
> Reporter: Matej Novotny
> Fix For: 4.5-Tracking
>
>
> FileUpload test are currently failing because of Graphene bug.
> This might be resolved by future releases and respective update in dependencies.
> For now I will move these tests amongst future.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (RFPL-2263) Create tests for progress facet of fileUpload
by Matej Novotny (JIRA)
[ https://issues.jboss.org/browse/RFPL-2263?page=com.atlassian.jira.plugin.... ]
Matej Novotny commented on RFPL-2263:
-------------------------------------
I tried updating mentioned Graphene version (2.1.0.Alpha2) in metamer/ftest and also richfaces/page-fragments (since the test errors in fact originated there). One of the tests passed correctly while the other one still crashes. It is likely to be a test problem and it seems the dependency update will indeed help. I will investigate it and see if I can make it working.
As for the creation of test which would track the progress of the bar (changing value); I am not sure it is doneable. There is no way, apart from maybe screenshoting, to tell how far is the upload is. Or at least I do not know how to get a firm grip on this.
[~ppitonak] what is the status on dependency update branch? I am starting to feel like Graphene update might finaly make our file upload tests working :)
> Create tests for progress facet of fileUpload
> ---------------------------------------------
>
> Key: RFPL-2263
> URL: https://issues.jboss.org/browse/RFPL-2263
> Project: RichFaces Planning
> Issue Type: Task
> Components: QE
> Affects Versions: 4.2.2.Final
> Reporter: Pavol Pitonak
> Assignee: Matej Novotny
>
> Create a new sample and tests for rich:fileUpload with *progress* facet. See Component Reference [1] and rich:progressBar sample in Metamer for more information.
> [1] http://docs.jboss.org/richfaces/4.2.X/4.2.2.Final/Component_Reference/en-...
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month