Skip to content

Commit 626cc72

Browse files
Merge pull request #759 from MetaCell/feature/134and133
Feature/134and133
2 parents 0332d26 + 00a15e4 commit 626cc72

12 files changed

+378
-10
lines changed

.github/workflows/tests.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,28 @@ jobs:
102102
npm run Save_Open_File_test
103103
env:
104104
CI: true
105+
RxD-test:
106+
# The type of runner that the job will run on
107+
runs-on: ubuntu-20.04
108+
container: lironavon/docker-puppeteer-container:14.16.0
109+
env:
110+
CI: true
111+
steps:
112+
- uses: actions/checkout@v1
113+
- name: Use Node.js ${{ matrix.node-version }}
114+
uses: actions/setup-node@v1
115+
with:
116+
node-version: ${{ matrix.node-version }}
117+
cache-dependency-path: frontend/e2e/tests/package-lock.json
118+
- name: Test for RxD plot
119+
run: |
120+
cd tests/frontend/e2e
121+
#install dependencies
122+
npm ci
123+
# run RxD Plot test
124+
npm run RxD_test
125+
env:
126+
CI: true
105127
Tutorial_1-SmokeTest:
106128
# The type of runner that the job will run on
107129
runs-on: ubuntu-20.04

tests/frontend/e2e/jest-puppeteer.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module.exports = {
22
launch: {
33
headless: true,
4-
args: ['--no-sandbox', '--disable-setuid-sandbox'],
54
defaultViewport: {
65
width: 1300,
76
height: 1024

tests/frontend/e2e/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"Tutorial_4_test":"jest --verbose Tut#4_smoke ",
1616
"Control_Panel_test": "jest --verbose ControlPanel ",
1717
"Save_Open_File_test": "jest --verbose SaveOpenFile",
18+
"RxD_test": "jest --verbose RxD",
1819
"lint": "eslint --fix --ext .js,.jsx ."
1920
},
2021
"dependencies": {

tests/frontend/e2e/tests/EEG_and_Dipole_Tut#1.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ beforeAll(async () => {
6060

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

63-
it.skip('Open new page', async () => {
63+
it('Open new page', async () => {
6464

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

0 commit comments

Comments
 (0)