Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #130 from Tripwire/feat/suir-cleanup
Browse files Browse the repository at this point in the history
WIP: Upgrade Semantic Ui to use Semantic-UI-Less
  • Loading branch information
cdaringe authored Oct 31, 2017
2 parents f58bbb8 + 4c0577d commit 8ad42db
Show file tree
Hide file tree
Showing 416 changed files with 1,613 additions and 75,837 deletions.
25 changes: 22 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,39 @@
"request": "launch",
"name": "build",
"program": "${workspaceRoot}/scripts/build.js",
"cwd": "${workspaceRoot}"
"cwd": "${workspaceRoot}",
"skipFiles": [
"<node_internals>/**/*.js"
]
},
{
"type": "node",
"request": "launch",
"name": "start",
"program": "${workspaceRoot}/scripts/start.js",
"cwd": "${workspaceRoot}",
"skipFiles": [
"<node_internals>/**/*.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Test",
"program": "${workspaceRoot}/scripts/test.js",
"cwd": "${workspaceRoot}"
"cwd": "${workspaceRoot}",
"skipFiles": [
"<node_internals>/**/*.js"
]
},
{
"type": "node",
"request": "attach",
"name": "Attach to Process",
"port": 5858
"port": 5858,
"skipFiles": [
"<node_internals>/**/*.js"
]
}
]
}
8 changes: 4 additions & 4 deletions backstop.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{
"label": "Octagon",
"cookiePath": "backstop_data/engine_scripts/cookies.json",
"url": "http://localhost:3333",
"url": "http://staticserver:3333",
"referenceUrl": "",
"readyEvent": "",
"readySelector": "",
Expand All @@ -26,7 +26,7 @@
"clickSelector": "",
"postInteractionWait": "",
"selectors": [
"[data-reactroot]:not(.hasSidebar-0-2)"
"[data-preview]"
],
"selectorExpansion": true,
"misMatchThreshold" : 0.1,
Expand All @@ -40,8 +40,8 @@
"html_report": "backstop_data/html_report",
"ci_report": "backstop_data/ci_report"
},
"report": ["browser"],
"engine": "chrome",
"report": ["CI"],
"engine": "slimerjs",
"engineFlags": [],
"debug": false,
"debugWindow": false
Expand Down
18 changes: 18 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: '3'
services:
staticserver:
image: node:alpine
expose:
- 3333
volumes:
- "${PWD}:/src"
command: ["node", "/src/node_modules/.bin/httpster", "-d", "/src/styleguide"]

backstop:
image: backstopjs/backstopjs
environment:
- SCREEN_WIDTH=1920
- SCREEN_HEIGHT=1080
volumes:
- "${PWD}:/src"
command: ["test"]
Loading

0 comments on commit 8ad42db

Please sign in to comment.