Skip to content

Commit

Permalink
fix: failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoalee committed Jun 17, 2024
1 parent 486ac9f commit 3890c09
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 106 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ describe('DoSleuthImport', () => {
cy.get('[aria-valuenow="85"]').should('exist');
});

it.only('should begin creating the annotation and show progress', () => {
it('should begin creating the annotation and show progress', () => {
cy.wait('@studysetsPostFixture', { timeout: 10000 }).then((res) => {
expect(res.request.body.name).equals('Studyset for Untitled sleuth project');
expect(res.request.body.studies).deep.equals(
Expand Down Expand Up @@ -395,7 +395,7 @@ describe('DoSleuthImport', () => {
cy.contains('button', 'next').click();
});

it('should go to the meta analysis page', () => {
it.only('should go to the meta analysis page', () => {
cy.contains('Would you like to create a meta-analysis').should('be.visible');
});

Expand Down
208 changes: 104 additions & 104 deletions compose/neurosynth-frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,107 +1,107 @@
{
"name": "neurosynth",
"version": "0.1.0",
"private": true,
"dependencies": {
"@auth0/auth0-react": "^1.6.0",
"@citation-js/plugin-bibtex": "^0.6.6",
"@citation-js/plugin-enw": "^0.1.1",
"@citation-js/plugin-ris": "^0.6.5",
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@handsontable/react": "^12.3.3",
"@hello-pangea/dnd": "^16.0.1",
"@mui/icons-material": "^5.0.1",
"@mui/material": "^5.7.0",
"@mui/styles": "^5.5.1",
"@mui/system": "^5.5.1",
"@mui/x-data-grid": "^5.10.0",
"@reactour/tour": "^2.10.3",
"@sentry/react": "^7.48.0",
"@types/jest": "^26.0.24",
"@types/react": "^17.0.13",
"@types/react-dom": "^17.0.8",
"@types/react-router-dom": "^5.3.3",
"@types/react-window": "^1.8.5",
"@types/uuid": "^9.0.0",
"axios": "^0.21.1",
"body-scroll-lock": "^4.0.0-beta.0",
"citation-js": "^0.6.7",
"fast-xml-parser": "^4.2.5",
"handsontable": "^12.3.3",
"html-to-image": "^1.11.11",
"i": "^0.3.7",
"jose": "^4.14.4",
"notistack": "^2.0.5",
"npm": "^10.2.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-query": "^3.39.2",
"react-router-dom": "^6.22.3",
"react-scripts": "5.0.0",
"react-window": "^1.8.8",
"reactflow": "^11.5.3",
"typescript": "^4.3.5",
"uuid": "^9.0.0",
"web-vitals": "^1.1.2",
"zustand": "^4.3.3"
"name": "neurosynth",
"version": "0.1.0",
"private": true,
"dependencies": {
"@auth0/auth0-react": "^1.6.0",
"@citation-js/plugin-bibtex": "^0.6.6",
"@citation-js/plugin-enw": "^0.1.1",
"@citation-js/plugin-ris": "^0.6.5",
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@handsontable/react": "^12.3.3",
"@hello-pangea/dnd": "^16.0.1",
"@mui/icons-material": "^5.0.1",
"@mui/material": "^5.7.0",
"@mui/styles": "^5.5.1",
"@mui/system": "^5.5.1",
"@mui/x-data-grid": "^5.10.0",
"@reactour/tour": "^2.10.3",
"@sentry/react": "^7.48.0",
"@types/jest": "^26.0.24",
"@types/react": "^17.0.13",
"@types/react-dom": "^17.0.8",
"@types/react-router-dom": "^5.3.3",
"@types/react-window": "^1.8.5",
"@types/uuid": "^9.0.0",
"axios": "^0.21.1",
"body-scroll-lock": "^4.0.0-beta.0",
"citation-js": "^0.6.7",
"fast-xml-parser": "^4.2.5",
"handsontable": "^12.3.3",
"html-to-image": "^1.11.11",
"i": "^0.3.7",
"jose": "^4.14.4",
"notistack": "^2.0.5",
"npm": "^10.2.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-query": "^3.39.2",
"react-router-dom": "^6.22.3",
"react-scripts": "5.0.0",
"react-window": "^1.8.8",
"reactflow": "^11.5.3",
"typescript": "^4.3.5",
"uuid": "^9.0.0",
"web-vitals": "^1.1.2",
"zustand": "^4.3.3"
},
"scripts": {
"start:dev": "env-cmd -f .env.dev react-scripts start",
"build:dev": "react-scripts build",
"build:dev-local": "env-cmd -f .env.dev react-scripts build",
"start-ci:dev": "serve -s -d -n -p 3000 build",
"start-ci:dev-local": "env-cmd -f .env.dev serve -s -d -n -p 3000 build",
"start:staging": "env-cmd -f .env.staging react-scripts start",
"build:staging": "env-cmd -f .env.staging react-scripts build",
"build:prod": "env-cmd -f .env.prod react-scripts build",
"test": "react-scripts test --watchAll=false",
"test-with-coverage": "npm run test -- --coverage --watchAll=false",
"cy:e2e-headless": "cypress run",
"cy:e2e-headless-dev": "env-cmd -f .env.dev cypress run",
"cy:e2e-headless-staging": "env-cmd -f .env.staging cypress run",
"cy:e2e-browser-staging": "env-cmd -f .env.staging cypress open -b chrome --e2e",
"cy:e2e-browser-dev": "env-cmd -f .env.dev cypress open -b chrome --e2e",
"cy:install": "cypress install",
"cy:ci": "start-server-and-test start-ci:dev 3000 cy:e2e-headless",
"eject": "react-scripts eject"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"//jestComments": {
"//resetMocks": "we need to set this flag because of this: https://github.com/facebook/create-react-app/issues/9935"
},
"jest": {
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/src/testing/stylemock.js"
},
"scripts": {
"start:dev": "env-cmd -f .env.dev react-scripts start",
"build:dev": "react-scripts build",
"build:dev-local": "env-cmd -f .env.dev react-scripts build",
"start-ci:dev": "serve -s -d -n -p 3000 build",
"start-ci:dev-local": "env-cmd -f .env.dev serve -s -d -n -p 3000 build",
"start:staging": "env-cmd -f .env.staging react-scripts start",
"build:staging": "env-cmd -f .env.staging react-scripts build",
"build:prod": "env-cmd -f .env.prod react-scripts build",
"test": "react-scripts test --watchAll=false",
"test-with-coverage": "npm run test -- --coverage --watchAll=false",
"cy:e2e-headless": "cypress run",
"cy:e2e-headless-local": "env-cmd -f .env.dev cypress run",
"cy:e2e-headless-staging": "env-cmd -f .env.staging cypress run",
"cy:e2e-browser-staging": "env-cmd -f .env.staging cypress open -b chrome --e2e",
"cy:e2e-browser-dev": "env-cmd -f .env.dev cypress open -b chrome --e2e",
"cy:install": "cypress install",
"cy:ci": "start-server-and-test start-ci:dev 3000 cy:e2e-headless",
"eject": "react-scripts eject"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"//jestComments": {
"//resetMocks": "we need to set this flag because of this: https://github.com/facebook/create-react-app/issues/9935"
},
"jest": {
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/src/testing/stylemock.js"
},
"resetMocks": false
},
"devDependencies": {
"@testing-library/dom": "^8.3.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"@types/body-scroll-lock": "^3.1.0",
"@types/node": "^18.6.1",
"cypress": "^13.2.0",
"env-cmd": "^10.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.4.0",
"react-error-overlay": "^6.0.9",
"serve": "^14.0.1",
"start-server-and-test": "^1.14.0"
}
"resetMocks": false
},
"devDependencies": {
"@testing-library/dom": "^8.3.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"@types/body-scroll-lock": "^3.1.0",
"@types/node": "^18.6.1",
"cypress": "^13.2.0",
"env-cmd": "^10.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.4.0",
"react-error-overlay": "^6.0.9",
"serve": "^14.0.1",
"start-server-and-test": "^1.14.0"
}
}

0 comments on commit 3890c09

Please sign in to comment.