Created
February 25, 2021 20:16
-
-
Save Xotabu4/668be297722f33295cfa33fef3d021ca to your computer and use it in GitHub Desktop.
Hometask after 2 lesson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
- Try to implement as much tests as you can | |
- Do not overload tests with logic, be simple | |
- browser.pause() allowed | |
- copy/paste is allowed | |
- prefer css selectors | |
- don't forget about assertions | |
*/ | |
// this test gives you 20 points | |
// http://93.126.97.71:10082/index.php?route=account/return/add | |
// Notice that datepicker is optional | |
describe("Product return", function() { | |
it("can be submited", function() { | |
throw new Error("NOT IMPLEMENTED"); | |
}); | |
}); | |
// http://93.126.97.71:10082/index.php?route=account/voucher | |
// this test gives you 20 points | |
describe("Gift Certificate", function() { | |
it("can be purchased", function() { | |
throw new Error("NOT IMPLEMENTED"); | |
}); | |
}); | |
// this test gives you 20 points | |
// http://93.126.97.71:10082/index.php?route=information/contact | |
describe("Contact us form", function() { | |
it("must send messages to shop administration", function() { | |
throw new Error("NOT IMPLEMENTED"); | |
}); | |
}); | |
// Each implemented test gives you 20 points | |
describe("Items search", function() { | |
it("should show results in case multiple items matches", function() { | |
throw new Error("NOT IMPLEMENTED"); | |
}); | |
it("should redirect to 'no matching results' in case no items matched", function() { | |
throw new Error("NOT IMPLEMENTED"); | |
}); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment