diff --git a/selenium/20140327-alternc-1.0-testsuite.html b/selenium/20140327-alternc-1.0-testsuite.html new file mode 100644 index 00000000..cfd14ecf --- /dev/null +++ b/selenium/20140327-alternc-1.0-testsuite.html @@ -0,0 +1,15 @@ + + + +
+ +Test Suite |
create |
destroy |
create | ||
open | +/ | ++ |
type | +id=username | +admin | +
type | +id=password | +admin | +
clickAndWait | +name=submit | ++ |
assertText | +css=h3 | +Menu admin | +
clickAndWait | +//div[@id='menu-adm']/ul/li[3]/a/span | ++ |
clickAndWait | +link=Manage allowed domains (TLD) | ++ |
assertText | +css=#content > h3 | +Manage allowed domains (TLD) | +
clickAndWait | +link=Add a new TLD | ++ |
assertText | +//div[@id='content']/h3[2] | +Add a new TLD | +
type | +id=tld | +vm1.alternc.eu | +
select | +id=mode | +label=Domain can be installed, no check at all | +
clickAndWait | +css=input.inb | ++ |
assertText | +css=p.error | +The TLD has been successfully added | +
clickAndWait | +link=Add a domain | ++ |
assertText | +css=#content > h3 | +Domain hosting | +
type | +id=newdomain | +test1.vm1.alternc.eu | +
clickAndWait | +name=submit | ++ |
assertText | +css=#content > p | +Your new domain test1.vm1.alternc.eu has been successfully installed Click here to continue |
+
clickAndWait | +link=Click here to continue | ++ |
clickAndWait | +link=test1.vm1.alternc.eu (1) | ++ |
assertText | +css=#content > h3 | +Email addresses of the domain test1.vm1.alternc.eu : | +
clickAndWait | +link=Add a mailbox on test1.vm1.alternc.eu | ++ |
assertText | +css=#content > h3 | +Add a mail to the domain test1.vm1.alternc.eu : | +
click | +id=pop1 | ++ |
type | +id=email | +user1 | +
type | +id=pass | +poipoi | +
type | +id=passconf | +poipoi | +
clickAndWait | +name=submit | ++ |
assertText | +css=p.error | +The email address user1@test1.vm1.alternc.eu has been successfully created | +
clickAndWait | +link=Add a mailbox on test1.vm1.alternc.eu | ++ |
assertText | +css=#content > h3 | +Add a mail to the domain test1.vm1.alternc.eu : | +
type | +id=email | +user2 | +
click | +id=pop0 | ++ |
type | +id=alias | +user1@test1.vm1.alternc.eu | +
clickAndWait | +name=submit | ++ |
assertText | +css=p.error | +The email address user2@test1.vm1.alternc.eu has been successfully created | +
clickAndWait | +link=Add a mailbox on test1.vm1.alternc.eu | ++ |
click | +id=pop1 | ++ |
type | +id=pass | +poipoi | +
type | +id=passconf | +poipoi | +
clickAndWait | +name=submit | ++ |
assertText | +css=p.error | +The email address @test1.vm1.alternc.eu has been successfully created | +
clickAndWait | +link=File browser | ++ |
assertText | +css=#content > h3 | +File browser | +
clickAndWait | +link=test1vm1alternceu/ | ++ |
type | +id=nomfich | +index.html | +
clickAndWait | +//input[@value='Create'] | ++ |
assertText | +link=index.html | +index.html | +
clickAndWait | +link=index.html | ++ |
assertText | +css=#content > p | +File editing /test1vm1alternceu/index.html | +
type | +name=texte | +coin | +
clickAndWait | +name=saveret | ++ |
assertText | +//form[@id='main']/table[2]/tbody/tr[2]/td[3] | +4 Bytes | +
break | ++ | + |
destroy | ||
open | +/ | ++ |
clickAndWait | +link=Français (France) | ++ |
clickAndWait | +link=English (United States) | ++ |
type | +id=username | +admin | +
type | +id=password | +admin | +
clickAndWait | +name=submit | ++ |
assertText | +css=h3 | +Menu admin | +
clickAndWait | +link=File browser | ++ |
clickAndWait | +link=test1vm1alternceu/ | ++ |
click | +name=d[] | ++ |
clickAndWait | +name=actdel | ++ |
clickAndWait | +name=del_confirm | ++ |
assertText | +css=p.error | +No files in this folder | +
clickAndWait | +link=test1.vm1.alternc.eu (4) | ++ |
click | +id=del_0 | ++ |
clickAndWait | +name=submit | ++ |
assertText | +id=content | +Deleting mail accounts : Please confirm the deletion of the following mail accounts: @test1.vm1.alternc.eu - Warning: Deleting an email address will destroy all the messages it contains! You will NOT be able to get it back! |
+
clickAndWait | +name=submit | ++ |
assertText | +css=p.error | +The email address @test1.vm1.alternc.eu has been deleted! | +
click | +id=del_1 | ++ |
click | +id=del_2 | ++ |
clickAndWait | +name=submit | ++ |
assertText | +css=#main > p | +user1@test1.vm1.alternc.eu user2@test1.vm1.alternc.eu |
+
clickAndWait | +name=submit | ++ |
assertText | +css=p.error | +The email address user1@test1.vm1.alternc.eu has been deleted! The email address user2@test1.vm1.alternc.eu has been deleted! |
+
clickAndWait | +link=test1.vm1.alternc.eu | ++ |
clickAndWait | +name=detruire | ++ |
assertText | +css=p.error | +WARNING Confirm the deletion of domain test1.vm1.alternc.eu This will delete the related sub-domains too. |
+
clickAndWait | +name=submit | ++ |
assertText | +css=#content > p | +The domain test1.vm1.alternc.eu has been successfully deleted. Click here to continue |
+
clickAndWait | +link=Click here to continue | ++ |
clickAndWait | +//div[@id='menu-adm']/ul/li[3]/a/span | ++ |
clickAndWait | +link=Manage allowed domains (TLD) | ++ |
assertText | +css=#content > h3 | +Manage allowed domains (TLD) | +
click | +id=sel13 | ++ |
clickAndWait | +css=input.inb | ++ |
assertText | +css=p.error | +The requested TLD has been deleted | +
break | ++ | + |