Skip to content

Commit

Permalink
Testing with chrome and a console log plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-oscarsson committed Sep 28, 2023
1 parent 3ac6347 commit a42f9bf
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ui/cypress/plugins/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = (on, config) => {
/** the rest of your plugins... **/
require('cypress-log-to-output').install(on)
// or, if there is already a before:browser:launch handler, use .browserLaunchHandler inside of it
// @see https://github.com/flotwig/cypress-log-to-output/issues/5
}
217 changes: 217 additions & 0 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"fix": "npm run eslint -- --fix",
"prettier": "prettier . --cache --check",
"eslint": "eslint \"**/*.{js,jsx}\"",
"e2e": "cypress run --e2e --browser firefox",
"cypress": "cypress open --e2e --browser firefox"
"e2e": "cypress run --e2e --browser chrome",
"cypress": "cypress open --e2e --browser chrome"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",
Expand Down Expand Up @@ -80,6 +80,7 @@
"@testing-library/cypress": "9.0.0",
"concurrently": "^7.0.0",
"cypress": "13.1.0",
"cypress-log-to-output": "1.1.2",
"eslint": "8.42.0",
"eslint-config-galex": "4.5.2",
"eslint-plugin-import": "2.27.5",
Expand Down

0 comments on commit a42f9bf

Please sign in to comment.