You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2018/09/06 11:03:57 UTC

[sling-whiteboard] branch master updated: Adapt tests for Sling 10 release

This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new f21de3a  Adapt tests for Sling 10 release
f21de3a is described below

commit f21de3a391975e957d0483cacc5d38db501baf17
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Thu Sep 6 13:03:48 2018 +0200

    Adapt tests for Sling 10 release
---
 .../src/test/java/sling/setup/initialContent.feature             | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/karate-http-testing/src/test/java/sling/setup/initialContent.feature b/karate-http-testing/src/test/java/sling/setup/initialContent.feature
index 6355857..4fca13b 100644
--- a/karate-http-testing/src/test/java/sling/setup/initialContent.feature
+++ b/karate-http-testing/src/test/java/sling/setup/initialContent.feature
@@ -23,18 +23,19 @@ And match $.<jsonPath> == "<value>"
 
 # ------------------------------------------------------------------------
 # Data values used by the Scenario outline
+# These values work for the Sling 10 release
 # ------------------------------------------------------------------------
 Examples:
   | contentPath | jsonPath | value |
 
   # Sling starter content
-  | starter/css | jcr:primaryType | sling:Folder |
-  | starter/css/bundle.css | jcr:createdBy | admin |
-  | starter/index.html/jcr:content| jcr:mimeType| text/html |
+  | home/users | jcr:primaryType | rep:AuthorizableFolder |
+  | sling.css | jcr:createdBy | admin |
+  | htl/repl| sling:resourceType | repl/components/repl |
 
   # OSGi console
   | system/console/bundles | data[0].symbolicName | org.apache.felix.framework |
 
   # Empty path means root
-  | | sling:target | /starter/index.html |
+  | | sling:target | /index.html |
   | | sling:resourceType | sling:redirect |
\ No newline at end of file