Closed Bug 1006023 Opened 10 years ago Closed 10 years ago

[testing] Write a test for abandoning a task

Categories

(Mozilla QA Graveyard :: One and Done, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bsilverberg, Assigned: bitgeeky)

Details

Attachments

(1 file)

Test steps:
0. Create an existing user in the database, with a valid Persona login (use personatest user), via a UserFactory.
1. From the home page, click on the login link.
2. Log in via Persona as the user.
3. Navigate to the Available tasks list.
4. Choose the top task.
5. From the task details page, verify that only the "Get Started" button is visible (i.e., not the other buttons listed in #7, below).
6. Click the "Get Started" button.
8. Click the "Abandon Task" button.
7. Verify that the Feeback form is displayed for the correct task.
9. Click the "No, thanks." link.
10. Verify that the home page is displayed and that the task does not appear under the "Tasks in progress" header, and also that the "Tasks completed" shows "0 tasks".
Assignee: nobody → mozpankaj1994
Updated Test Steps:
Test steps:
0. Create an existing user in the database, with a valid Persona login (use personatest user), via a UserFactory.
1. From the home page, click on the login link.
2. Log in via Persona as the user.
3. From the Dashboard, click the "Pick a task to do" button to go to the Available tasks list.
4. Choose the top task.
5. From the task details page, verify that only the "Get Started" button is visible (i.e., not the other buttons listed in #7, below).
6. Click the "Get Started" button.
8. Click the "Abandon Task" button.
7. Verify that the Feeback form is displayed for the correct task.
9. Click the "No, thanks." link.
10. Verify that the home page is displayed and that the task does not appear under the "Tasks in progress".
11. Navigate to the Profile Details screen and verify that "Tasks completed" shows "0 tasks".
Comment on attachment 8439919 [details] [review]
Link to Github pull-request: https://github.com/mozilla/oneanddone-tests/pull/7

Very good. Just a few small suggestions in the PR.
Attachment #8439919 - Flags: review?(bob.silverberg) → review-
Comment on attachment 8439919 [details] [review]
Link to Github pull-request: https://github.com/mozilla/oneanddone-tests/pull/7

Made the suggested changes.
Attachment #8439919 - Flags: review- → review?(bob.silverberg)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: