Skip to content

Commit

Permalink
Merge remote-tracking branch 'jason/upgrade-to-react-18' into newHome…
Browse files Browse the repository at this point in the history
…page
  • Loading branch information
kevincharles committed Mar 20, 2023
2 parents 61ccb63 + ef7a1b9 commit 6332a99
Show file tree
Hide file tree
Showing 63 changed files with 2,005 additions and 435 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ dist_local/*

cypress/videos
cypress/screenshots
runner-results

src/tempcodes

Expand Down
8 changes: 4 additions & 4 deletions cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ function queryTestDb(query, config) {

module.exports = defineConfig({
numTestsKeptInMemory: 20,
defaultCommandTimeout: 20000,
defaultCommandTimeout: 30000,
e2e: {
setupNodeEvents(on, config) {
on('before:browser:launch', (browser = {}, launchOptions) => {

if (browser.name === 'chrome') {
launchOptions.args.push('--mute-audio');
}

return launchOptions;
});
on('task', { queryDb: query => { return queryTestDb(query, config) }, }); //For running sql query
},

baseUrl: 'http://localhost',
},
env: {
Expand Down
26 changes: 13 additions & 13 deletions cypress/e2e/DoenetML/dynamicalsystem/cobwebpolyline.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 0: [1, 0] },
sourceInformation: { vertex: 0 }
sourceDetails: { vertex: 0 }
}
})

Expand Down Expand Up @@ -163,7 +163,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 1: [3, 4] },
sourceInformation: { vertex: 1 }
sourceDetails: { vertex: 1 }
}
})
})
Expand Down Expand Up @@ -207,7 +207,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 1: [1, 1] },
sourceInformation: { vertex: 1 }
sourceDetails: { vertex: 1 }
}
})
})
Expand Down Expand Up @@ -248,7 +248,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 1: [1, 1.6] },
sourceInformation: { vertex: 1 }
sourceDetails: { vertex: 1 }
}
})
})
Expand Down Expand Up @@ -336,7 +336,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 2: [1.6, 1.6] },
sourceInformation: { vertex: 2 }
sourceDetails: { vertex: 2 }
}
})
})
Expand Down Expand Up @@ -392,7 +392,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 3: [1, 2] },
sourceInformation: { vertex: 3 }
sourceDetails: { vertex: 3 }
}
})
})
Expand Down Expand Up @@ -454,7 +454,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 3: [1.6, 2.4] },
sourceInformation: { vertex: 3 }
sourceDetails: { vertex: 3 }
}
})
})
Expand Down Expand Up @@ -611,7 +611,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 4: [2.4, 2.4] },
sourceInformation: { vertex: 4 }
sourceDetails: { vertex: 4 }
}
})
})
Expand Down Expand Up @@ -680,7 +680,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 5: [-1, 3] },
sourceInformation: { vertex: 5 }
sourceDetails: { vertex: 5 }
}
})
})
Expand Down Expand Up @@ -756,7 +756,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 5: [2.4, 3] },
sourceInformation: { vertex: 5 }
sourceDetails: { vertex: 5 }
}
})
})
Expand Down Expand Up @@ -832,7 +832,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 6: [3, 1] },
sourceInformation: { vertex: 6 }
sourceDetails: { vertex: 6 }
}
})
})
Expand Down Expand Up @@ -914,7 +914,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 6: [3, 3] },
sourceInformation: { vertex: 6 }
sourceDetails: { vertex: 6 }
}
})
})
Expand Down Expand Up @@ -996,7 +996,7 @@ describe('CobwebPolyline Tag Tests', function () {
componentName: "/graph1/cobweb",
args: {
pointCoords: { 7: [3, 3] },
sourceInformation: { vertex: 7 }
sourceDetails: { vertex: 7 }
}
})
})
Expand Down
3 changes: 3 additions & 0 deletions multi-reporter-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"reporterEnabled": "cypress-parallel/json-stream.reporter.js, cypress-parallel/simple-spec.reporter.js"
}
Loading

0 comments on commit 6332a99

Please sign in to comment.