1
0
mirror of synced 2026-08-03 21:56:54 +00:00

a response happened and there is a test

This commit is contained in:
Rimian Perkins
2017-02-13 15:31:31 +11:00
parent adeeea3fbb
commit ed828a228b
3 changed files with 25 additions and 1 deletions
@@ -6,6 +6,16 @@ test('Choice Page Exists', () => {
andThen(() => {
ok(exists('h1'), 'Heading exists');
ok($.trim($('.payments').text()) == 'eviltrout', 'eviltrout');
ok($.trim($('.payments').text()) == 'eviltrout', 'username is present on page');
});
});
test('Choice Page response happens', () => {
visit('/users/eviltrout/choice');
click('.choice-btn');
andThen(() => {
ok(exists('.choice-response'), 'Response happens');
});
});