From b4755d84dccc73816cc67465c2ea0ca8565b0793 Mon Sep 17 00:00:00 2001 From: shreya-mishra Date: Thu, 4 Aug 2022 20:44:15 +0530 Subject: [PATCH 1/9] initiated the test flow --- tests/acceptance/signup-flow-test.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/acceptance/signup-flow-test.js diff --git a/tests/acceptance/signup-flow-test.js b/tests/acceptance/signup-flow-test.js new file mode 100644 index 00000000..9918217b --- /dev/null +++ b/tests/acceptance/signup-flow-test.js @@ -0,0 +1,13 @@ +import { module, test } from 'qunit'; +import { visit, currentURL } from '@ember/test-helpers'; +import { setupApplicationTest } from 'ember-qunit'; + +module('Acceptance | signup flow', function(hooks) { + setupApplicationTest(hooks); + + test('http://localhost:4200/signup', async function(assert) { + await visit('/signup'); + + assert.equal(currentURL(), '/signup'); + }); +}); From cf8ca092c7090e3cd143663f122514c305940dbe Mon Sep 17 00:00:00 2001 From: shreya-mishra Date: Sat, 6 Aug 2022 01:27:22 +0530 Subject: [PATCH 2/9] old signup flow test done --- app/components/form-input.hbs | 1 + app/templates/signup.hbs | 2 ++ tests/acceptance/signup-flow-test.js | 43 ++++++++++++++++++++++++++-- 3 files changed, 43 insertions(+), 3 deletions(-) diff --git a/app/components/form-input.hbs b/app/components/form-input.hbs index 24caf38d..95b7db54 100644 --- a/app/components/form-input.hbs +++ b/app/components/form-input.hbs @@ -1,6 +1,7 @@
{{else}}