Skip to content

Commit

Permalink
Merge pull request #759 from MetaCell/feature/134and133
Browse files Browse the repository at this point in the history
Feature/134and133
  • Loading branch information
enicolasgomez authored Jul 26, 2023
2 parents 0332d26 + 00a15e4 commit 626cc72
Show file tree
Hide file tree
Showing 12 changed files with 378 additions and 10 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,28 @@ jobs:
npm run Save_Open_File_test
env:
CI: true
RxD-test:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: Test for RxD plot
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run RxD Plot test
npm run RxD_test
env:
CI: true
Tutorial_1-SmokeTest:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
Expand Down
1 change: 0 additions & 1 deletion tests/frontend/e2e/jest-puppeteer.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
launch: {
headless: true,
args: ['--no-sandbox', '--disable-setuid-sandbox'],
defaultViewport: {
width: 1300,
height: 1024
Expand Down
1 change: 1 addition & 0 deletions tests/frontend/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"Tutorial_4_test":"jest --verbose Tut#4_smoke ",
"Control_Panel_test": "jest --verbose ControlPanel ",
"Save_Open_File_test": "jest --verbose SaveOpenFile",
"RxD_test": "jest --verbose RxD",
"lint": "eslint --fix --ext .js,.jsx ."
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion tests/frontend/e2e/tests/EEG_and_Dipole_Tut#1.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ beforeAll(async () => {

describe('EEG and Dipole Plot Test using Tutorial#1', () => {

it.skip('Open new page', async () => {
it('Open new page', async () => {

console.log('Opening a new NetPyNE page')

Expand Down
Loading

0 comments on commit 626cc72

Please sign in to comment.