Open Shivkant-Chauhan opened 1 year ago
@maxliu2001 @SACHARYAS @noramark @agallop @suraj-mandal @michbyiri @SahilB1 @jjxiong23 @aashanp01 @katehrkim @caramelmelmel @marcella-stefan
please give updates about the packages you were assigned. thanks!
@Shivkant-Chauhan I'm making progress on the translation admin tests I was running into some trouble using one of the select elements for the Contributor dashboard admin page, but I see it is because there are two of these elements with the same id.
<select id="label-target-form-review-category-select"
class="form-control e2e-test-form-contribution-rights-category-select"
ng-options="roleString as roleName for (roleName, roleString) in $ctrl.CONTRIBUTION_RIGHT_CATEGORIES"
ng-model="$ctrl.formData.viewContributionReviewers.category"
ng-change="$ctrl.clearResults()">
</select>
<select id="label-target-form-review-category-select"
class="form-control e2e-test-form-contribution-rights-category-select"
ng-options="value as key for (key, value) in $ctrl.CONTRIBUTION_RIGHT_CATEGORIES"
ng-model="$ctrl.formData.addContributionReviewer.category">
</select>
These ids should probably be different. is it okay to make a PR to change the second one to
<select id="label-target-form-add-category-select"
...
</select>
Thanks!
Hi @Shivkant-Chauhan , i was away on a trip.. am back by tomorrow.. will be progressing then
Hi was away will be progressing later today or early tomorrow
@Shivkant-Chauhan I'm making progress on the translation admin tests I was running into some trouble using one of the select elements for the Contributor dashboard admin page, but I see it is because there are two of these elements with the same id.
<select id="label-target-form-review-category-select" class="form-control e2e-test-form-contribution-rights-category-select" ng-options="roleString as roleName for (roleName, roleString) in $ctrl.CONTRIBUTION_RIGHT_CATEGORIES" ng-model="$ctrl.formData.viewContributionReviewers.category" ng-change="$ctrl.clearResults()"> </select>
<select id="label-target-form-review-category-select" class="form-control e2e-test-form-contribution-rights-category-select" ng-options="value as key for (key, value) in $ctrl.CONTRIBUTION_RIGHT_CATEGORIES" ng-model="$ctrl.formData.addContributionReviewer.category"> </select>
These ids should probably be different. is it okay to make a PR to change the second one to
<select id="label-target-form-add-category-select" ... </select>
Thanks!
you can fix this by changing the elements' ID in your PR itself. this will unblock you and will correct the behavior for the tests
@maxliu2001 @SACHARYAS @noramark @agallop @suraj-mandal @michbyiri @SahilB1 @jjxiong23 @aashanp01 @katehrkim @caramelmelmel @marcella-stefan can you all please give the updates to get to know about the current progress on the assigned task. please note, I am thinking to un-assign the inactive folks from their assigned packages so that the new contributors coming up would have more choices to select their desired packages to work.
Hi @Shivkant-Chauhan i have done the setup for the first part of the anonymous learner.. like creation of the explanation etc.Now need to do the assertions based on the test cases provided
@Shivkant-Chauhan apologies for the late response! i will be out of town for a while and won't have the ability to work on my assigned package anymore, so please go ahead and unassign me so that other contributors can claim the package if they'd like. sorry for the inconvenience!
im doing the assertions on the test case objects and facing some difficulties now
meeting this error as a prerequisite from the user perspective here @Shivkant-Chauhan Filed an issue here regarding the fact that I am unable to create a exploration as a lesson creator https://github.com/oppia/oppia/issues/18275
hi so I'm fixing a few errors that the user is experiencing but is not clear to the user:
Bad requests
replied on Google sheet too!
Quick update from me.
I finished writing the tests, I just need to clean up the style and comments, in addition to checking any references to ids I changed.
I'm currently traveling so it may take a few days to get the PR out.
Thanks
Since no one seems working on any of the user stories, and I don't see any active Pull Request, so I am unassigning everyone from the assigned user stories.
Give this week to me.. if not completed then unassign
@suraj-mandal no worries, can you please tell the user-story you are working on?
Have added my commits but forgot my PR oops
@caramelmelmel please let me know on which user-story you are working on. thanks!
Hi @shivkant5 I'm working on 7 and 8 let me reopen this
@shivkant5 done with 7 finishing 8
@shivkant5 done with 7 finishing 8
Hi @caramelmelmel please open a PR for that and assign me on that PR. Thanks!!
Hi @shivkant5 I will open my PR after I take this week to clean up everything
@shivkant5 It looks like my previous pull request for 3.1, 3.2 closed and I've been super busy. I can open another one. I did address your comments in the original PR, but I did need some help with this ask.
main thing, do a bulk run (at least 20 runs for each test) of the tests on CI by modifying the GitHub Action workflows on your fork.
I think I requested a re-review before the PR closed itself, but maybe I needed to reassign it as well?
Hi @shivkant5 I will open my PR after I take this week to clean up everything
sure @caramelmelmel. let me know, once you have a PR opened for the user stories. thanks!
@shivkant5 It looks like my previous pull request for 3.1, 3.2 closed and I've been super busy. I can open another one. I did address your comments in the original PR, but I did need some help with this ask.
main thing, do a bulk run (at least 20 runs for each test) of the tests on CI by modifying the GitHub Action workflows on your fork.
I think I requested a re-review before the PR closed itself, but maybe I needed to reassign it as well?
it would be fine if you can re-open that previous PR itself, by that, it would be easy to track the requested changes. for the bulk run, once all the reviews are done, I will do a bulk run on my another repo with your changes, and will inform you about the flakes that are occuring. you need to fix them also, so that after your tests are in into the develop, they must not be flaky
I don't think I am able to reopen the pull request. I think the button would be here if I could?
@agallop I reopened it! Thanks for flagging.
@Shivkant-Chauhan @ashish-patwal Can I please do 3.1 & 4.1 under Contributor Dashboard?
3.1 & 4.1
hey @StephenYu2018, we are assigning a whole package which contains 2 user stories. can you please take a look again and tell me which package you want to work.
@Shivkant-Chauhan I'll take package 4 (Practice Question Submitter) under contributor dashboard.
done @StephenYu2018
@Shivkant-Chauhan For the practice question submitter acceptance tests, the instructions says to check for a listed opportunity labelled 'Test Topic, First Exploration'. According to this snippet, the topic name is the heading of a skill opportunity (which is fine), but the subheading is the skill description. The exploration/chapter name is not displayed on the listed opportunity itself.
Where is 'First Exploration' supposed to be located on the listed skill opportunity?
Hi @StephenYu2018 -- I think you are right, this is inaccurate. I've given you edit access to the spreadsheet, could you please update the test expectations appropriately? Thanks for catching this!
@seanlip @Shivkant-Chauhan Should I also add setup steps to each test that initializes the newly created skill's rubrics, misconceptions, worked examples, etc (and the corresponding expectations to check that they show up during the question suggesting process)?
I think that would be great if possible, thanks! (As long as it doesn't significantly blow up the project's complexity.)
Since #18345 is approved, and hopefully will be merged soon, can I take a look at 6.1, 6.2?
@agallop Go for it :) Can you please leave a similar comment on https://github.com/oppia/oppia/issues/18897 so that we can properly assign you? GitHub doesn't show your name in the assignees list otherwise.
Thanks for helping out with this!
hello as part of hacktoberfest, I'll be making that PR after the code is refactored!
@Shivkant-Chauhan @ashish-patwal Are we allowed an "expect" method defined in a user-utilities
file to not take any parameters? Also, does each step or expectation require its own method defined in a user-utilities
file?
@StephenYu2018 In principle, it's totally fine for an "expect" to not take any parameters. It depends on whether the expectation needs to be parameterized. If it doesn't then that's perfectly OK.
Each "general user action" does require its own method defined in a user-utilities file. That enables those actions to be reused by other tests.
3.1 and 3.2 are finished 🙂
@Shivkant-Chauhan @ashish-patwal On the testing spreadsheet for practice question submitters, on expectation #10, it says "the progressbar in the dashboard should show <%>". What does this mean?
Also, it's worth noting that the progressbar of a question opportunity doesn't change when a user successfully submits a question suggestion for review. I manually tested it and found no progress difference between before and after the suggestion was submitted.
@StephenYu2018 I think the first one means that the progress bar should show the correct percentages (though I agree with you that it's not worded that clearly).
Re the second paragraph: shouldn't the progress bar have three parts to it -- questions fully accepted, questions submitted but not yet reviewed, and questions left to submit? At least that's the case for translations, I think.
@seanlip When I tried manually testing the flow, in order to publish a topic, I had to attach a skill with at least 3 questions. Later when I went to the submit questions tab on the contributor dashboard, the progress showed "30%" with a green part of the progressbar reflecting that. After I successfully submitted the suggestion, the progress still showed "30%".
Hi @StephenYu2018 thanks for checking this (and sorry for the late reply). I think this might actually be a bug. Translations don't work the same way, right -- they have three different colours? (See screenshot below.)
The questions tab should do this too. If it doesn't then I think let's do the following:
(a) file an issue for the above (b) write the acceptance test based on the current behaviour (two colours), but add a TODO pointing to the issue filed in (a) and saying to update the test when that issue is fixed.
Would that work? Thanks!
Hi @Shivkant-Chauhan. I would like to work on the Practice Question Reviewer (5.1, 5.2). Would you mind assigning me?
@imchristie Please leave a comment directly on the associated issue linked from the description at the top, so that we can assign you to it. (Otherwise GitHub won't let us do so.) Thanks.
Hi @Shivkant-Chauhan @seanlip, I would like to work on Logged-in user (browsing static pages). Would you mind assigning me? Also, I would like to ask for a clearer explanation on the second part (11)
@imchristie I've assigned you. For (11) this just means visiting the different static pages on the site through the navbar and the footer links. See the testing spreadsheet for more info.
@Shivkant-Chauhan @seanlip I’ve carefully noted all the points discussed. I’m particularly interested in working on the 5th and 6th CUJ of the exploration editor. Could you please assign these to me? Thanks.
Describe the bug
In order to verify that key user journeys do not break, the Oppia development team is implementing Acceptance Testing for the develop branch. This means that, on every commit, all key requirements are verified through a set of acceptance tests that check that each type of end user can do the things they expect to do on the site.
The aim of this issue is to build up a set of such tests. Please see the instructions below for how to claim a task in this issue. (Feel free to contact @oppia/acceptance-test-reviewers if you have any doubts!)
# Instructions
core/tests/puppeteer-acceptance-tests/spec/<user-type>tests.spec.js
it
block, and all the test steps and expectations should match the expected behavior. You might also need to write utility functions, similar to the existing examples below.For reference: You can see an example set of acceptance tests for “blog admin”/”blog editor” here. Please follow a similar format and file naming convention for the tests that you write:
List of user stories (arranged by user type)
(serial numbers same as testing spreadsheet row number for each user type)
Exploration Creator
[ ] 3- Users can record voiceovers in different languages, upload voiceovers for their question explorations in different languages, and monitor progress…………. 4- Users can create questions from the exploration, add questions from the exploration
[x] 5- Users can see history in the exploration editor, can check the latest version with notes, user, and date, and compare any two versions from ………… -- @Akhilesh-max (PR: https://github.com/oppia/oppia/pull/19828) 6- User can preview the exploration, and can start the questions from the beginning -- @Akhilesh-max
[ ] 7- User can navigate to the Feedback Tab: The user can access the Feedback Tab in the Exploration Editor and view all the feedback …………. 8- User can ask for "Help" for the editor's exploration, take a tour of the editor's exploration, visit the help centerTake the translator tour
[x] 9- User can do the Basic setting: Title, Goal, Add a category, Language, Name of the first card, Tags, Advance features, Roles, Voice artist, Permissions …….. -- @rahat2134 (PR: https://github.com/oppia/oppia/pull/19780) 10- User can Publish the latest changes, User can draft the latest changes -- @rahat2134
[ ] 11- User can use all the interactions.
[ ] 13- User can use all RTE components.
[ ] 12- User can publish an exploration with an interaction. 14- User can view and make changes to a previously-published exploration 15- User can see statistics about number of views, ratings, etc. in the creator dashboard
Contributor Dashboard
[ ] Translation submitter Tracking bug: https://github.com/oppia/oppia/issues/18892 1.1 User can select a topic and a language, and then successfully submit a translation for that lesson card in that language. Translation Reviewer 2.1 User can view the translated lessons in a topic, review the cards in the lesson and accept the translation in each card
[x] Translation Admins Tracking bug: https://github.com/oppia/oppia/issues/18893 3.1 Admin should be able to provide Translation rights in a language to a user 3.2 Admin should be able to remove translation rights in a language to a user assigned to @agallop
[ ] Practice Question Submitter Tracking bug: https://github.com/oppia/oppia/issues/18894 4.1 Users can suggest questions by selecting the difficulty level of a lesson in a Topic 4.2 Users can suggest questions by selecting difficulty level as Hard to a lesson in a Topic
[ ] Practice Question Reviewer Tracking bug: https://github.com/oppia/oppia/issues/18896 5.1 Users can review a question on a topic and Accept it 5.2 Users can review a question in a topic and Reject it
[ ] Practice Question Admins Tracking bug: https://github.com/oppia/oppia/issues/18897 6.1 Admin can provide Contribution Rights to submit and review Questions 6.2 Admin should be able to remove Review and Submit Question permissions to a user
Logged-in Learner @AFZL210
[ ] 3- User can add an exploration to 'play later' from the /community-library page, remove that exploration from 'play later' from the /learner-dashboard page……….
[x] 4- User can subscribe to a creator and should be able to view all explorations authored by that creator. (PR: https://github.com/oppia/oppia/pull/20195)
[ ] 5- User can check current progress from the lesson info modal, can return to the most recent checkpoint visited, and resume the exploration after the previously visited checkpoint 6- User can change his profile, export account (upload thumbnail image, add a bio, add subject interest , add site language add audio language) ……………
Anonymous Learner
Logged-in user (browsing static pages)
Topic Manager
[ ] 3- As a topic manager user should be able to filter topics and skills, can merge skills, assign, unassign skills, and delete topic/skill 4- As a topic manager user should be able to create questions using image interaction and modify images
[x] Voiceover Artist 3- Voiceover artist can add audio recordings to any exploration Voiceover Admin @hrshkshri ( PR: #19994 ) 5- Voiceover admin can add voiceover artists to an exploration
[x] Curriculum Admin @Vir-8 ( PR: #19914 ) 1- As a curriculum admin, the user should be able to create a Topic, sub-topic, skill, story, chapter and publish it
[ ] Curriculum Admin @pritam2317 2- As a curriculum admin user should be able to create a Classroom, add topics to it
[ ] #19781 3- As a learner I should be able to play an embedded lesson