Browse Source

Fix readme (#8857)

Fixed badly formatted testUI url and header level
tags/8.1.0.alpha1^0
Johannes Häyry 7 years ago
parent
commit
0d2ff96eef
1 changed files with 10 additions and 11 deletions
  1. 10
    11
      README.md

+ 10
- 11
README.md View File

1. Set *New text file line delimiter* to *Unix* 1. Set *New text file line delimiter* to *Unix*
1. Go to XML -> XML Files -> Editor 1. Go to XML -> XML Files -> Editor
1. Ensure the settings are follows: 1. Ensure the settings are follows:
* Line width: 72 * Line width: 72
* Format comments: true * Format comments: true
* Join lines: true * Join lines: true
1. In a Project Explorer right-click *vaadin-uitest* 1. In a Project Explorer right-click *vaadin-uitest*
1. Open *Run As* -> *Maven build...* 1. Open *Run As* -> *Maven build...*
1. Type in <code>jetty:run-exploded</code> into *Goals* and click *Run* 1. Type in <code>jetty:run-exploded</code> into *Goals* and click *Run*
1. Open URL *http://localhost:8888/run/&lt;testUI&gt;*
1. Open URL [http://localhost:8888/run/&lt;testUI&gt;](http://localhost:8888/run/<testUI>)


## Setting up IntelliJ IDEA to Develop Vaadin 7 ## Setting up IntelliJ IDEA to Develop Vaadin 7


1. Have a coffee break while IDEA is loading dependencies and indexing the project 1. Have a coffee break while IDEA is loading dependencies and indexing the project
1. Run Maven targets <code>clean</code> and <code>install</code> using *Maven Projects* tool window to compile the whole project 1. Run Maven targets <code>clean</code> and <code>install</code> using *Maven Projects* tool window to compile the whole project


## Running a specific UI test
### Running a specific UI test


1. Open *Maven Projects* 1. Open *Maven Projects*
1. Open *vaadin-uitest* -> *Plugins* -> *jetty* -> *jetty:run-exploded* 1. Open *vaadin-uitest* -> *Plugins* -> *jetty* -> *jetty:run-exploded*
1. Open URL *http://localhost:8888/run/&lt;testUI&gt;*
1. Open URL [http://localhost:8888/run/&lt;testUI&gt;](http://localhost:8888/run/<testUI>)


## Running a Development Server
### Running a Development Server


1. Open *Run* menu and click *Edit Configurations* 1. Open *Run* menu and click *Edit Configurations*
1. Click green ***+*** sign at top left corner, select *Maven* from popup
1. Click green ***+*** sign at top left corner, select *Maven* from popup
1. In the run configuration page, set any name for the configuration, select *vaadin-uitest* project folder as *Working directory* 1. In the run configuration page, set any name for the configuration, select *vaadin-uitest* project folder as *Working directory*
1. Type <code>exec:exec@run-development-server</code> into *Command line* and save the configuration 1. Type <code>exec:exec@run-development-server</code> into *Command line* and save the configuration
1. Run the configuration and open URL *http://localhost:8888/run/&lt;testUI&gt;*
1. Run the configuration and open URL [http://localhost:8888/run/&lt;testUI&gt;](http://localhost:8888/run/<testUI>)


## Running a Development Server in a debug mode
### Running a Development Server in a debug mode


1. Type <code>exec:exec@debug-development-server</code> into *Command line* and save the configuration 1. Type <code>exec:exec@debug-development-server</code> into *Command line* and save the configuration
1. In the same dialog, create new "Remote" debug configuration, using *localhost* and *Port 5005*
1. Start both configurations and open URL *http://localhost:8888/run/&lt;testUI&gt;*

1. In the same dialog, create new "Remote" debug configuration, using *localhost* and *Port 5005*
1. Start both configurations and open URL [http://localhost:8888/run/&lt;testUI&gt;](http://localhost:8888/run/<testUI>)

Loading…
Cancel
Save