Skip to content

Commit

Permalink
Merge pull request #597 from yeatmanlab/manage-tasks-variants
Browse files Browse the repository at this point in the history
Manage Tasks and Variants
  • Loading branch information
ksmontville authored Jul 9, 2024
2 parents 9149b26 + 6881234 commit 3bfe6ef
Show file tree
Hide file tree
Showing 8 changed files with 1,676 additions and 562 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ function setFilterBySchool(school) {
function setFilterByGrade(grade) {
cy.get('[data-cy="filter-by-grade"]', { timeout: timeout }).click();
cy.get('ul > li', { timeout: timeout }).contains(grade).click();
cy.get('body').type('{esc}');
cy.wait(0.05 * timeout);
}

function setFilterByProgressCategory(header, category) {
cy.contains('div.p-column-header-content', header).find('button').click();
cy.get('[data-cy="progress-filter-dropdown"]', { timeout: timeout }).click();
cy.get('ul>li').find('.p-tag-value', { timeout: timeout }).contains(category).click();
// Click off the dropdown to prevent it from hiding other elements
cy.get('button').contains('Apply').click();
cy.wait(0.05 * timeout);
}
Expand Down
797 changes: 797 additions & 0 deletions src/components/tasks/ManageTasks.vue

Large diffs are not rendered by default.

849 changes: 849 additions & 0 deletions src/components/tasks/ManageVariants.vue

Large diffs are not rendered by default.

Loading

0 comments on commit 3bfe6ef

Please sign in to comment.