Skip to content

Add e2e to create workflow case  #2027

Merged
khadgarmage merged 26 commits intoapache:devfrom
xingchun-chen:dev
Feb 27, 2020
Merged

Add e2e to create workflow case  #2027
khadgarmage merged 26 commits intoapache:devfrom
xingchun-chen:dev

Conversation

@xingchun-chen
Copy link
Copy Markdown
Contributor

Tips

What is the purpose of the pull request

(For example: This pull request adds checkstyle plugin.)

Brief change log

(for example:)

  • Add maven-checkstyle-plugin to root pom.xml

Verify this pull request

(Please pick either of the following options)

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added dolphinscheduler-dao tests for end-to-end.
  • Added CronUtilsTest to verify the change.
  • Manually verified the change by testing locally.

# Conflicts:
#	e2e/src/test/java/org/apache/dolphinscheduler/base/BaseDriver.java
#	e2e/src/test/java/org/apache/dolphinscheduler/common/BrowserCommon.java
#	e2e/src/test/java/org/apache/dolphinscheduler/data/project/CreatWorkflowData.java
#	e2e/src/test/java/org/apache/dolphinscheduler/locator/project/CreateWorkflowLocator.java
#	e2e/src/test/java/org/apache/dolphinscheduler/page/project/CreateProjectPage.java
#	e2e/src/test/java/org/apache/dolphinscheduler/page/project/CreateWorkflowPage.java
#	e2e/src/test/java/org/apache/dolphinscheduler/testcase/project/CreateProjectTest.java
#	e2e/src/test/java/org/apache/dolphinscheduler/testcase/project/CreateWorkflowTest.java
#	e2e/testng.xml
@codecov-io
Copy link
Copy Markdown

codecov-io commented Feb 26, 2020

Codecov Report

Merging #2027 into dev will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##                dev    #2027      +/-   ##
============================================
- Coverage     31.98%   31.96%   -0.02%     
+ Complexity     1512     1511       -1     
============================================
  Files           311      311              
  Lines         15402    15402              
  Branches       1864     1864              
============================================
- Hits           4926     4923       -3     
- Misses         9965     9973       +8     
+ Partials        511      506       -5
Impacted Files Coverage Δ Complexity Δ
...scheduler/alert/template/AlertTemplateFactory.java 42.85% <0%> (-14.29%) 2% <0%> (ø)
...he/dolphinscheduler/api/service/LoggerService.java 91.3% <0%> (-8.7%) 7% <0%> (-1%)
...inscheduler/common/task/sqoop/SqoopParameters.java 80% <0%> (ø) 15% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b62501...873b92e. Read the comment docs.

# Conflicts:
#	e2e/src/test/java/org/apache/dolphinscheduler/base/BaseDriver.java
# Conflicts:
#	e2e/src/test/java/org/apache/dolphinscheduler/base/BaseDriver.java
# Conflicts:
#	e2e/src/test/java/org/apache/dolphinscheduler/base/BaseDriver.java
# Conflicts:
#	e2e/src/test/java/org/apache/dolphinscheduler/base/BaseDriver.java
# Conflicts:
#	e2e/src/test/java/org/apache/dolphinscheduler/base/BaseDriver.java
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Copy Markdown
Contributor

@khadgarmage khadgarmage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls put the case to e2e test.

public static final String INPUT_ADD_CUSTOM_PARAMETERS_VALUE = "selenium_parameter_delete_456";

//create workflow title
public static final String WORKFLOW_TITLE = "创建流程定义 - DolphinScheduler";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls change to english content

Copy link
Copy Markdown
Contributor

@khadgarmage khadgarmage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@khadgarmage khadgarmage merged commit f407adc into apache:dev Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants