source: tests/01000_zarafa-web @ 225b098

perl-5.22
Last change on this file since 225b098 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100755
File size: 1.8 KB
RevLine 
[c5c522c]1#!/bin/bash
2
3source testlib || exit 1
4
5DESCRIPTION1="Ssh beschikbaar?"
6VERIFYEXIT=0
7sshtest || exit 1
8
9DESCRIPTION1="Sla test over indien we niet de juiste licentieoptie hebben."
10CMD="cat /etc/webint/REG"
11VERIFYPOSITIVE='"M"'
12if ! sshtest; then
13        echo "Dit is geen mailserver, test overgeslagen"
14        exit 0
15fi
16
17
18DESCRIPTION1="portal heeft Zarafa"
19URL="http://$IP/syn3/webportal/"
20VERIFYPOSITIVE="../zarafa.>"
21web_add
22
23#bestaat niet meer in nieuwe zarafas
24#DESCRIPTION1="portal heeft Zarafa mobile"
25#URL="http://$IP/syn3/webportal/"
26#VERIFYPOSITIVE="../zarafa-mobile.>"
27#web_add
28
29DESCRIPTION1="portal heeft Zarafa webapp"
30URL="http://$IP/syn3/webportal/"
31VERIFYPOSITIVE="../zarafa_webapp.>"
32web_add
33
34DESCRIPTION1="portal heeft Z-push"
35URL="http://$IP/syn3/webportal/"
36VERIFYPOSITIVE="../z-push.>"
37web_add
38
39
40web_test || exit 1
41
42./_maketestusers || exit 1
43
44DESCRIPTION1="Zpush test"
45URL="http://testuser1:syn3@$IP/Microsoft-Server-ActiveSync"
46VERIFYPOSITIVE="This is the Z-Push location"
47VERIFYRESPONSECODE=200
48web_add
49web_test || exit 1
50
51
52DESCRIPTION1="webaccess login (nederlands)"
53URL="https://$IP/syn3/zarafa/index.php?logon"
54METHOD="post"
55POSTBODY="username=testuser2&password=syn3&language=nl_NL.utf-8"
56web_add
57
58
59DESCRIPTION1="hoofdscherm opvragen "
60URL="https://$IP/syn3/zarafa/index.php"
61VERIFYPOSITIVE="testuser2"
62web_add
63
64DESCRIPTION1="taal nederlands? als alleen engels werkt komt dit door het niet compilen van language files."
65URL="https://$IP/syn3/zarafa/index.php?load=translations.js&lang=nl_NL.utf-8"
66VERIFYPOSITIVE="geaccepteerd"
67VERIFYPOSITIVE2="deelnemer"
68web_add
69
70# taken/afspraken/mailen via xml/rpc zooi is eerst te veel werk, door de vele id's die nodig zijn.
71# zarafa-gateway en spooler worden door mail-tests al getest.
72# zarafa-licensed, zarafa-ical en monitor worden nog NIET getest.
73
74
75web_test || exit 1
76
Note: See TracBrowser for help on using the repository browser.