mirror of https://github.com/apache/archiva.git
Fixing web tests: Changing jetty module version. Increasing some timeouts.
This commit is contained in:
parent
bc013fa0e4
commit
fd76848d46
|
@ -560,7 +560,7 @@
|
|||
<plugin>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
<artifactId>jetty-maven-plugin</artifactId>
|
||||
<version>9.4.5.v20170502</version>
|
||||
<version>${jetty.version}</version>
|
||||
<configuration>
|
||||
<stopKey>archivastop</stopKey>
|
||||
<stopPort>${container.stop.port}</stopPort>
|
||||
|
@ -568,6 +568,9 @@
|
|||
<httpConnector>
|
||||
<port>${container.http.port}</port>
|
||||
</httpConnector>
|
||||
<supportedPackagings>
|
||||
<supportedPackaging>pom</supportedPackaging>
|
||||
</supportedPackagings>
|
||||
</configuration>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
|
@ -90,7 +90,7 @@ public class WebDriverBrowseTest
|
|||
goTo( url );
|
||||
|
||||
// wait until topbar-menu-container is feeded
|
||||
await().atMost( 5, TimeUnit.SECONDS ).untilPredicate( ( fl ) -> $( "#topbar-menu" ).present() );
|
||||
await().atMost( 10, TimeUnit.SECONDS ).untilPredicate( ( fl ) -> $( "#topbar-menu" ).present() );
|
||||
await().atMost( 10, TimeUnit.SECONDS).untilPredicate( (fl) -> el("#create-admin-link-a").conditions().clickable() ||
|
||||
el("#login-link-a").conditions().clickable()
|
||||
);
|
||||
|
|
|
@ -82,7 +82,7 @@ public class WebDriverTest
|
|||
|
||||
// wait until topbar-menu-container is feeded
|
||||
//await().atMost(20, TimeUnit.SECONDS).until($("#topbar-menu")).present();
|
||||
await().untilPredicate((fl) ->$("#topbar-menu").present());
|
||||
await().atMost( 10, TimeUnit.SECONDS).untilPredicate((fl) ->$("#topbar-menu").present());
|
||||
await().atMost( 10, TimeUnit.SECONDS).untilPredicate( ( fl) -> el("#create-admin-link-a").conditions().clickable() ||
|
||||
el("#login-link-a").conditions().clickable()
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue