-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial commit of kitchensink ftest project #478
Conversation
I ran the qstool plugin against this and it reported the following issues:
The tab character issue is strange because I fixed all those issues upstream. When I check out the upstream version, it has no tab characters. It doesn't look like you modified that file, so I'm not sure what's going on with this. Also, do you plan to add any information about the funtional tests to the README file? There's a "Run the Arquillian Tests" section. Maybe it would be nice to add a "Run the Functional Tests" section that talks about their purpose, how to run them, etc. Or are they not intended for developers and only for QA? I would think they would be beneficial for developers as examples of how to write functional tests for their apps. I also think we need to explain the functional-test directory. In any event, I would like to know how to run them. I tried running 'mvn clean test -Parq-jbossas-remote' from that directory and it was apparently wrong. :-) |
Yes you are right with these 256 lines of tabs in pom.xml, sorry for them, I have already written README but I forgot to add it to the commit, sorry I'll look at it tomorrow in work, should not take more then coule of On Wed, Apr 3, 2013 at 8:37 PM, sgilda notifications@github.com wrote:
Stefan Miklosovic |
No worries. :-) |
<dependency> | ||
<groupId>org.jboss.arquillian.graphene</groupId> | ||
<artifactId>graphene-webdriver-impl</artifactId> | ||
<version>${version.org.jboss.arquillian.graphene2}</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are Graphene and Drone supported in WFK?
Apart from checking if Graphene and Drone are supported (if they are, let's get them added to the -with-tools BOM), this looks good. |
@smiklosovic : Are we still waiting for an answer as to whether there is Graphene and Drone support in WFK? |
Drone is supported in WFK since 2.0.0. Graphene2 didn't hit the stream yet, its 2.0.0.Final is planned for July, so it will take some time to get it in WFK. |
@smiklosovic : Karel responded. It sounds lie Drone should be added to the -with-tools BOM. Is that something you can take care of? |
@sgilda Not sooner than after 1.7.2013 |
@smiklosovic : Does 1.7.2013 == July 1, 2013? ;-) |
@sgilda yes, I am taking something like long term leave. If you want to make it sooner, please redirect your request to more appropriate comitter. |
@smiklosovic : Thanks for the update. I'll check with @pmuir and see what he wants to do. |
From this, https://github.com/jboss-jdf/jboss-bom/blob/master/jboss-javaee-6.0-with-tools/pom.xml, it appears Drone has already been added. |
Sande, yes see one of my previous comments. Still, while we have Drone in WFK, we do not have Graphene 2 there. So we can't really proceed here. |
Just checked with Lukas. Graphene 2 is currently in Alpha, soon to be Beta. |
@kpiwko @smiklosovic @maschmid we can proceed with this now. Can you check if the PR is up to date, and then we can merge. |
I just tried the functional tests with the following errors. It could be something I'm doing wrong. [INFO] BUILD FAILURE Surefire reports contains this: Test set: org.jboss.as.quickstarts.kitchensink.test.webdriver.KitchensinkTestTests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.536 sec <<< FAILURE! There are no messages in the JBoss server log. |
File for import exist: /home/sgilda/GitRepos/quickstart-jdf/kitchensink/functional-tests/../target/jboss-as-kitchensink.war it means this war does not exist, it seems you have to build the project itself with mvn clean package, then go to ftest dir and execute mvn test -Psome-profile (note there is not clean goal!) |
@smiklosovic : That did it. I think you need to add this information to the README file. I had done Would you mind modifying the section 'Run the Arquillian Functional Tests' to be in step format, similar to the 'Run the Arquillian Tests' section? Maybe something like the followinge: Run the Arquillian Functional TestsThis quickstart provides Arquillian functional tests as well. They are located under the directory "functional-tests". Functional tests verify that your application behaves correctly from the user's point of view - simulating clicking around the page as a normal user would do. To run these tests, you must build the main project as described above.
|
Let's change the approach. WFK now supports Maven Resolver, so there is no need to rely on |
I think a functional test should be black box test, and as such cannot build its WAR itself, as there would be no guarantee the result is the same as what maven builds. It should test the exact binary an end user is going to deploy. |
Anyway, let's close this PR, I'll fix the other issues and open another pull request with the updates. |
@maschmid. @smiklosovic : Are you saying this needs some modifications before it will run as you expect? I will close this as you requested. |
…ransaction-remote-call-s2i-fix [WFLY-12904] s2i build fix for quickstart ejb-txn-remote-call
Two tests are commented out because of https://issues.jboss.org/browse/JDF-239.