Skip to content

Commit d459d7b

Browse files
committed
Remove test for UI to add a new site
It's not a separate page now, and it's a React app so harder to test for
1 parent f1ead94 commit d459d7b

File tree

5 files changed

+0
-59
lines changed

5 files changed

+0
-59
lines changed

test/tests/plone-arbitrary-user/run.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,7 @@ get() {
2222
-c "from urllib.request import urlopen; con = urlopen('$1'); print(con.read())"
2323
}
2424

25-
get_auth() {
26-
docker run --rm -i \
27-
--link "$cname":plone \
28-
--entrypoint /app/bin/python \
29-
"$image" \
30-
-c "from urllib.request import urlopen, Request; request = Request('$1'); request.add_header('Authorization', 'Basic $2'); print(urlopen(request).read())"
31-
}
32-
33-
3425
. "$dir/../../retry.sh" --tries "$PLONE_TEST_TRIES" --sleep "$PLONE_TEST_SLEEP" get "http://plone:8080"
3526

3627
# Plone is up and running
3728
[[ "$(get 'http://plone:8080')" == *"Welcome to Plone!"* ]]
38-
39-
# Create a Plone site
40-
[[ "$(get_auth 'http://plone:8080' "$(echo -n 'admin:admin' | base64)")" == *"Create a new site"* ]]

test/tests/plone-basics/run.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,7 @@ get() {
2020
-c "from urllib.request import urlopen; con = urlopen('$1'); print(con.read())"
2121
}
2222

23-
get_auth() {
24-
docker run --rm -i \
25-
--link "$cname":plone \
26-
--entrypoint /app/bin/python \
27-
"$image" \
28-
-c "from urllib.request import urlopen, Request; request = Request('$1'); request.add_header('Authorization', 'Basic $2'); print(urlopen(request).read())"
29-
}
30-
31-
3223
. "$dir/../../retry.sh" --tries "$PLONE_TEST_TRIES" --sleep "$PLONE_TEST_SLEEP" get "http://plone:8080"
3324

3425
# Plone is up and running
3526
[[ "$(get 'http://plone:8080')" == *"Welcome to Plone!"* ]]
36-
37-
# Create a Plone site
38-
[[ "$(get_auth 'http://plone:8080' "$(echo -n 'admin:admin' | base64)")" == *"Create a new site"* ]]

test/tests/plone-relstorage/run.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,7 @@ get() {
2828
-c "from urllib.request import urlopen; con = urlopen('$1'); print(con.read())"
2929
}
3030

31-
get_auth() {
32-
docker run --rm -i \
33-
--link "$pname":plone \
34-
--entrypoint /app/bin/python \
35-
"$image" \
36-
-c "from urllib.request import urlopen, Request; request = Request('$1'); request.add_header('Authorization', 'Basic $2'); print(urlopen(request).read())"
37-
}
38-
3931
. "$dir/../../retry.sh" --tries "$PLONE_TEST_TRIES" --sleep "$PLONE_TEST_SLEEP" get "http://plone:8080"
4032

4133
# Plone is up and running
4234
[[ "$(get 'http://plone:8080')" == *"Welcome to Plone!"* ]]
43-
44-
# Create a Plone site
45-
[[ "$(get_auth 'http://plone:8080' "$(echo -n 'admin:admin' | base64)")" == *"Create a new site"* ]]
46-

test/tests/plone-shared-blob-dir/run.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,7 @@ get() {
2828
-c "from urllib.request import urlopen; con = urlopen('$1'); print(con.read())"
2929
}
3030

31-
get_auth() {
32-
docker run --rm -i \
33-
--link "${pname}":plone \
34-
--entrypoint /app/bin/python \
35-
"$image" \
36-
-c "from urllib.request import urlopen, Request; request = Request('$1'); request.add_header('Authorization', 'Basic $2'); print(urlopen(request).read())"
37-
}
38-
3931
. "$dir/../../retry.sh" --tries "$PLONE_TEST_TRIES" --sleep "$PLONE_TEST_SLEEP" get "http://plone:8080"
4032

4133
# Plone is up and running
4234
[[ "$(get 'http://plone:8080')" == *"Welcome to Plone!"* ]]
43-
44-
# Create a Plone site
45-
[[ "$(get_auth 'http://plone:8080' "$(echo -n 'admin:admin' | base64)")" == *"Create a new site"* ]]
46-

test/tests/plone-zeoclient/run.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,7 @@ get() {
2828
-c "from urllib.request import urlopen; con = urlopen('$1'); print(con.read())"
2929
}
3030

31-
get_auth() {
32-
docker run --rm -i \
33-
--link "$pname":plone \
34-
--entrypoint /app/bin/python \
35-
"$image" \
36-
-c "from urllib.request import urlopen, Request; request = Request('$1'); request.add_header('Authorization', 'Basic $2'); print(urlopen(request).read())"
37-
}
38-
3931
. "$dir/../../retry.sh" --tries "$PLONE_TEST_TRIES" --sleep "$PLONE_TEST_SLEEP" get "http://plone:8080"
4032

4133
# Plone is up and running
4234
[[ "$(get 'http://plone:8080')" == *"Welcome to Plone!"* ]]
43-
44-
# Create a Plone site
45-
[[ "$(get_auth 'http://plone:8080' "$(echo -n 'admin:admin' | base64)")" == *"Create a new site"* ]]

0 commit comments

Comments
 (0)