Commit graph

21 commits

Author SHA1 Message Date
Reto Kaiser
133eb68325 Change email domain in tests to "gmail.com"
The domain needs to have an MX record associated, and mailtrain.org doesn't have one (anymore).
2018-05-29 15:37:05 +02:00
witzig
80aca59af7 Disable eslint rule no-await-in-loop for e2e tests 2017-06-15 21:28:40 +02:00
witzig
0629194f56 Updated e2e subscription tests
Added test for bug #249
Extended tests for custom fields (work in progress)
2017-06-11 18:49:02 +02:00
witzig
6d39d497ee Added e2e test for #222 2017-06-01 18:06:25 +02:00
Tomas Bures
731226dfeb Merge branch 'master' of github.com:Mailtrain-org/mailtrain
Conflicts:
	test/e2e/index.js
	test/e2e/lib/mail.js
	test/e2e/lib/mocha-e2e.js
	test/e2e/lib/page.js
	test/e2e/lib/worker-counter.js
	test/e2e/page-objects/subscription.js
2017-05-28 19:23:43 +02:00
Tomas Bures
c17bc9f2cf Fixed eslint errors. 2017-05-28 18:55:01 +02:00
witzig
19a563bc6a Remaining e2e subscription tests
@bures, I’m not too happy with switchToList(). Suggestions? If we keep
it, it should probably be added to every useCase.
2017-05-28 00:13:33 +02:00
witzig
b1eebd9804 Fixed waitUntilVisible should wait for selector, if present. This is used by waitForFlash. 2017-05-27 14:29:16 +02:00
witzig
a9285e1181 Fixed eslint errors 2017-05-27 14:24:08 +02:00
witzig
2160a10338 Satisfy eslint linebreak-style 2017-05-27 13:28:40 +02:00
Tomas Bures
6c02db3331 Added better support for preconditions in use-cases. 2017-05-27 00:06:34 +02:00
Tomas Bures
bb2b3da9dd Added waitUntilVisibleAfterRefresh and textsToWaitFor - both discussed with @witzig.
Page objects refactored to exploit textsToWaitFor if relevant.

Login tests refactored for the newer API.

Some additional tests in subscription. The rest at least included as "pending".
2017-05-26 00:13:40 +02:00
Tomas Bures
ccd37ac792 Polishing e2e test API. Added option to parse links and extract parameters from them. Added option to construct parameterizedlinks in "navigate". 2017-05-23 19:34:01 +02:00
Tomas Bures
328034bae0 Half way in improving e2e test infrastructure and refactoring tests to the enhanced (un)subscription process 2017-05-23 04:15:32 +02:00
witzig
20e6e62c3c Fixed typo 2017-05-16 09:05:12 +02:00
witzig
43e1cab315 Updated readme and added install script 2017-05-16 02:47:35 +02:00
witzig
c3e9781dc4 Using object composition instead of class inheritance for page objects 2017-05-10 16:22:37 +02:00
witzig
f106cd2850 Some fixes for e2e tests 2017-05-10 12:44:48 +02:00
witzig
6c35046ab2 e2e tests (draft) 2017-05-10 01:40:02 +02:00
Andris Reinman
ba8bd12123 initial translations support 2017-03-04 18:15:16 +02:00
Andris Reinman
54fa30701e Initial import 2016-04-04 15:36:30 +03:00