File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,33 +80,43 @@ You will need the following things properly installed on your computer.
8080Tests run in ** headless Chrome**
8181Google Chrome must be installed on your machine.
8282
83- ** Step 1: Set ` CHROME_BIN ` to your Chrome binary**
83+ #### Step 1: Set ` CHROME_BIN ` to your Chrome binary
8484
8585On Linux:
86+
8687``` bash
8788export CHROME_BIN=google-chrome-stable
8889```
90+
8991On macOS:
92+
9093``` bash
9194export CHROME_BIN=" /Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
9295```
9396
94- ** Step 2: Run the tests**
97+ #### Step 2: Run the tests
9598
9699Via Maven (from the ` tez-ui ` directory):
100+
97101``` bash
98102mvn clean install
99103```
104+
100105If ` CHROME_BIN ` is not set in your environment, you can also pass the Chrome path
101106directly as a Maven property:
107+
102108``` bash
103109mvn clean install -Dchrome.bin=" /path/to/Google Chrome"
104110```
111+
105112Via Yarn (from inside ` src/main/webapp ` ):
113+
106114``` bash
107115yarn test
108116```
117+
109118To skip tests:
119+
110120``` bash
111121mvn clean package -DskipTests
112122```
You can’t perform that action at this time.
0 commit comments