mariodavid / cuba-petclinic-using-sneferu

CUBA Petclinic example that shows how to use Sneferu for Web Integration testing
Apache License 2.0
0 stars 0 forks source link

Unable to install and run project with Cuba Studio #2

Open edwink75 opened 3 years ago

edwink75 commented 3 years ago

Hi there, Great work from the looks of it. I'd really like to use your Sneferu. In order to prepare myself I cloned this repo and when opening it with Cuba Studio it just never ends downloading and building. Is there a bug in the gradle script? Sorry for not providing more information. I left the Importing Gradle project task running for over 30 minutes...

I'm using gradle 5.6.4

mariodavid commented 3 years ago

Hi,

I think this is related to bintray not being available anymore for fetching the resources. Sneferu is also mirrored to repo.Cuba-platform.com: https://repo.cuba-platform.com/#nexus-search;classname~Sneferu

If it is you can grab it from there via gradle.

can you try it out and see if it works?

thanks Mario

edwink75 commented 3 years ago

Hi Mario,

sorry for the late reply. I'm working only Wednesday to Friday on a CUBA project.

Changing testCompile('de.diedavids.sneferu:sneferu:0.3.4-SNAPSHOT') to testCompile('de.diedavids.sneferu:sneferu:0.3.4')

and removing

maven {
      url "https://dl.bintray.com/mariodavid/cuba-components"
    }

let me run the ./gradlew build command and got the project started. The autoindexing and downloading also stopped after the change and a restart of CUBA studio. 2 Tests are failing now, but I believe you wanted that. I haven't gone into details yet.