-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1075 from jenkinsci/ui-test-cleanup
UI test cleanup
- Loading branch information
Showing
50 changed files
with
1,396 additions
and
1,892 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
name: 'Run UI tests' | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
details-tab: | ||
runs-on: [ubuntu-latest] | ||
name: Details tab UI tests | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Build warnings plugin and download dependencies | ||
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip | ||
- name: Run UI tests for the details tabs | ||
env: | ||
BROWSER: firefox-container | ||
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=DetailsTabUiTest -Dgpg.skip | ||
|
||
dashboard-view: | ||
runs-on: [ubuntu-latest] | ||
name: Dashboard view UI tests | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Build warnings plugin and download dependencies | ||
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip | ||
- name: Run UI tests for the dashboard view | ||
env: | ||
BROWSER: firefox-container | ||
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=DashboardViewPortletUiTest -Dgpg.skip | ||
|
||
freestyle-configuration: | ||
runs-on: [ubuntu-latest] | ||
name: Freestyle configuration UI tests | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Build warnings plugin and download dependencies | ||
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip | ||
- name: Run UI tests for the freestyle configuration | ||
env: | ||
BROWSER: firefox-container | ||
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=FreeStyleConfigurationUiTest -Dgpg.skip | ||
|
||
pipeline-snippet-generator: | ||
runs-on: [ubuntu-latest] | ||
name: Pipeline snippet configurator UI tests | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Build warnings plugin and download dependencies | ||
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip | ||
- name: Run UI tests for the pipeline snippet configurator | ||
env: | ||
BROWSER: firefox-container | ||
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=SnippetGeneratorUiTest -Dgpg.skip | ||
|
||
global-configuration: | ||
runs-on: [ubuntu-latest] | ||
name: Global configuration UI tests | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Build warnings plugin and download dependencies | ||
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip | ||
- name: Run UI tests for Jenkins' global configuration | ||
env: | ||
BROWSER: firefox-container | ||
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=GlobalConfigurationUiTest -Dgpg.skip | ||
|
||
issues-column: | ||
runs-on: [ubuntu-latest] | ||
name: Issues column UI tests | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Build warnings plugin and download dependencies | ||
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip | ||
- name: Run UI tests for the issues column | ||
env: | ||
BROWSER: firefox-container | ||
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=IssuesColumnUiTest -Dgpg.skip | ||
|
||
trend-charts: | ||
runs-on: [ubuntu-latest] | ||
name: Trend charts UI tests | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Build warnings plugin and download dependencies | ||
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip | ||
- name: Run UI tests for the trend charts | ||
env: | ||
BROWSER: firefox-container | ||
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=TrendChartsUiTest -Dgpg.skip | ||
|
||
miscenaleous: | ||
runs-on: [ubuntu-latest] | ||
name: Miscellaneous UI tests | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Build warnings plugin and download dependencies | ||
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip | ||
- name: Run miscellaneous UI tests of the warnings plugin | ||
env: | ||
BROWSER: firefox-container | ||
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=TrendChartsUiTest -Dgpg.skip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.