-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Edit Profile Info to Results View (#1169)
* Add evaluation tags to EvaluationInfo, sort evaluation info cards by date * Move Profile information into ProfileInfo, start converting ContextualiedProfile into ProfileFile within Results.vue * Cleanup profile info Standardize format of files passed between components (most are SourcedContextualizedProfiles | SourcedContextualizedEvaluation now) Remove unused functions and files * Fix Sonarcloud errors * Only update evaluations if in server mode, remove extra margin * Add EditEvaluationModal button to Results.vue * Remove console.log * Log uncaught exceptions for database-results, and return False * Exclusively ignore getBoundingClientRect errors * Remove call to getAllEvaluations, remove duplicate uncaught:exception handling, use Array.find instead of Array.forEach * Add abac guard editable permission to create evaluation test * Lint evaluations controller * Remove authzService from evaluation controller and instead hardcode the expected value * Automatically update filename when users edit files which are currently loaded * Cypress within does not properly handle when the nested element redraws, call the whole path at once instead. Co-authored-by: Robert Clark <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
dcf9136
commit ac4d1e8
Showing
9 changed files
with
121 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
export default class Sidebar { | ||
open(): void { | ||
openClose(): void { | ||
cy.get('[data-cy=openSidebar]').click({force: true}); | ||
} | ||
|
||
save(name: string): void { | ||
cy.get(`[title="${name}"]`).within(() => { | ||
cy.get('[data-cy=saveFile]').click(); | ||
}); | ||
this.openClose(); | ||
cy.get(`[title="${name}"] [data-cy=saveFile]`).click(); | ||
this.openClose(); | ||
} | ||
|
||
close(name: string): void { | ||
cy.get(`[title="${name}"]`).within(() => { | ||
cy.get('[data-cy=closeFile]').click(); | ||
}); | ||
this.openClose(); | ||
cy.get(`[title="${name}"] [data-cy=closeFile]`).click(); | ||
this.openClose(); | ||
} | ||
} |