-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
563 support mkdachi2 workflow in frontend (#630)
* feat: fixed stylistic issues, added deleteproject button, fixed cypress tests * feat: added handling for string selection in specification and mkdachi2 * feat: added initial dropdown to select reference dataset * feat: added second dropdown for group comparison estimators and options to select reference dataset * feat: added args to post request * feat: update openapi * feat: fixed issues with spec editing * faet: added mkdachi2 support and string selection * feat: update openapi * feat: update openapi
- Loading branch information
Showing
60 changed files
with
1,627 additions
and
2,770 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
35 changes: 35 additions & 0 deletions
35
compose/neurosynth-frontend/cypress/e2e/pages/MetaAnalysisPage.cy.tsx
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/// <reference types="cypress" /> | ||
|
||
export {}; | ||
|
||
const PATH = '/projects/abc123/meta-analyses/mock-meta-analysis-id'; | ||
const PAGE_NAME = 'MetaAnalysisPage'; | ||
|
||
describe(PAGE_NAME, () => { | ||
beforeEach(() => { | ||
cy.clearLocalStorage().clearSessionStorage(); | ||
cy.intercept('GET', 'https://api.appzi.io/**', { fixture: 'appzi' }).as('appziFixture'); | ||
cy.intercept('GET', `**/api/specifications/**`, { fixture: 'specification' }).as( | ||
'specificationFixture' | ||
); | ||
cy.intercept('GET', `**/api/meta-analyses/**`, { fixture: 'metaAnalysis' }).as( | ||
'metaAnalysisFixture' | ||
); | ||
cy.intercept('GET', `**/api/projects/*`, { fixture: 'projects/project' }).as( | ||
'projectFixture' | ||
); | ||
cy.intercept('GET', `**/api/annotations/*`, { fixture: 'annotation' }).as( | ||
'annotationFixture' | ||
); | ||
cy.intercept('GET', `**/api/studysets/*`, { fixture: 'studyset' }).as('studysetFixture'); | ||
}); | ||
|
||
it('should load successfully', () => { | ||
cy.visit(PATH) | ||
.wait('@specificationFixture') | ||
.wait('@metaAnalysisFixture') | ||
.wait('@projectFixture') | ||
.wait('@annotationFixture') | ||
.wait('@studysetFixture'); | ||
}); | ||
}); |
24 changes: 24 additions & 0 deletions
24
compose/neurosynth-frontend/cypress/e2e/pages/ProjectPage.cy.tsx
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/// <reference types="cypress" /> | ||
|
||
export {}; | ||
|
||
const PATH = '/projects/abc123'; | ||
const PAGE_NAME = 'ProjectPage'; | ||
|
||
describe(PAGE_NAME, () => { | ||
beforeEach(() => { | ||
cy.clearLocalStorage().clearSessionStorage(); | ||
cy.intercept('GET', 'https://api.appzi.io/**', { fixture: 'appzi' }).as('appziFixture'); | ||
cy.intercept('GET', `**/api/meta-analyses*`, { fixture: 'metaAnalyses' }).as( | ||
'metaAnalysesFixture' | ||
); | ||
cy.intercept('GET', `**/api/projects/*`, { fixture: 'projects/projectExtractionStep' }).as( | ||
'projectFixture' | ||
); | ||
cy.intercept('GET', `**/api/studysets/*`, { fixture: 'studyset' }).as('studysetFixture'); | ||
}); | ||
|
||
it('should load successfully', () => { | ||
cy.visit(PATH).wait('@metaAnalysesFixture').wait('@projectFixture'); | ||
}); | ||
}); |
132 changes: 0 additions & 132 deletions
132
compose/neurosynth-frontend/cypress/examples/1-getting-started/todo.cy.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.