Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Commit

Permalink
chore(color-picker-web): fix local e2e test run
Browse files Browse the repository at this point in the history
  • Loading branch information
IIsaku committed Jan 24, 2020
1 parent 5732d56 commit c3b0946
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages-web/color-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"test": "npm run test:unit",
"test:unit": "..\"/../node_modules/.bin/jest\" --config ../../scripts/test/jest.web.config.js",
"pretest:e2e": "..\"/../node_modules/.bin/cross-env\" URL=https://colorpicker.mxapps.io ../../scripts/test/projectup.sh",
"test:e2e": "..\"/../node_modules/.bin/cross-env\" URL=https://colorpicker.mxapps.io/ .\"/node_modules/.bin/utils-react-widgets\" test:e2e",
"test:e2e:dev": "..\"/../node_modules/.bin/cross-env\" DEBUG=true .\"/node_modules/.bin/utils-react-widgets\" test:e2e",
"test:e2e": "..\"/../node_modules/.bin/cross-env\" URL=https://colorpicker.mxapps.io ../../node_modules/.bin/wdio ../../configs/e2e/wdio.conf.js",
"test:e2e:dev": "..\"/../node_modules/.bin/cross-env\" DEBUG=true ../../node_modules/.bin/wdio ../../configs/e2e/wdio.conf.js",
"lint": "..\"/../node_modules/.bin/eslint\" --config ../../.eslintrc.js --ext .jsx,.js,.ts,.tsx src/",
"lint:fix": "npm run lint -- --fix",
"build": ".\"/node_modules/.bin/utils-react-widgets\" build",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import modePage from "./pages/modePage";
import colorFormatPage from "./pages/colorFormatPage";
import modePage from "../pages/modePage";
import colorFormatPage from "../pages/colorFormatPage";

describe("Color picker", () => {
it("changes color when a new color is picked", () => {
Expand Down
2 changes: 1 addition & 1 deletion packages-web/color-picker/tests/e2e/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../utils-react-widgets/test-configs/e2e/tsconfig",
"extends": "../../../../configs/e2e/tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"rootDir": "./"
Expand Down

0 comments on commit c3b0946

Please sign in to comment.