[
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)