Skip to content

Feature/dapp run e2e tests in ci workflow#2197

Merged
weilbith merged 4 commits into
raiden-network:masterfrom
weilbith:feature/dapp-run-e2e-tests-in-ci-workflow
Oct 5, 2020
Merged

Feature/dapp run e2e tests in ci workflow#2197
weilbith merged 4 commits into
raiden-network:masterfrom
weilbith:feature/dapp-run-e2e-tests-in-ci-workflow

Conversation

@weilbith

@weilbith weilbith commented Oct 5, 2020

Copy link
Copy Markdown
Contributor

Successor of #2190
Related to # 1584

Short description
Note that this is running the tests within the base executor atm. Following PRs will integrate this into the full environment image.
Checkout this comment for a link that proves that the CI upload of test report summary and artifacts (screenshots/videos) for failing tests is working.

@weilbith weilbith requested a review from taleldayekh October 5, 2020 11:15

@taleldayekh taleldayekh left a comment

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.

Thanks @weilbith 👍

@codecov

codecov Bot commented Oct 5, 2020

Copy link
Copy Markdown

Codecov Report

Merging #2197 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2197   +/-   ##
=======================================
  Coverage   94.76%   94.76%           
=======================================
  Files         156      156           
  Lines        6132     6132           
  Branches     1146     1146           
=======================================
  Hits         5811     5811           
  Misses        259      259           
  Partials       62       62           
Flag Coverage Δ
#dapp 92.05% <ø> (ø)
#sdk 95.89% <ø> (ø)
#sdk_e2e 67.93% <ø> (ø)
#sdk_unit 85.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


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 7ea6ff8...7190cd8. Read the comment docs.

@weilbith

weilbith commented Oct 5, 2020

Copy link
Copy Markdown
Contributor Author

Also this might look fatal, Talel and I don't see why the tests are dropping.
I'll run the CI pipe another time and check the stored summaries. Else I just force merge it.

@weilbith

weilbith commented Oct 5, 2020

Copy link
Copy Markdown
Contributor Author

It worked... 🤷
Let's integrate the fixup commit.

The vue-cli plugin for Cypress is kinda hiding it. This will lead to
issues in the continuous integration environment. Therefore the cypress
package itself got added to the development dependencies of the dApp.
Important to note is that they need to match exactly the version
expected by the vue-cli plugin. This version is pretty ancient already,
but there is an open issue upstream to fix that. We will should update
as soon as this has been fixed.
Additionally the CI will need access to the cached Cypress binary. On
this old version of the package it is required to call the install
command manually. To ensure the installation this got added to the
test:e2e script. If it is already installed this does nothing.
The end-to-end tests for the dApp should run in the continuous
integration environment. Therefore a first version of a new job has got
created. This runs the tests with Cypress and stores the report,
screenshots and videos.
This job is so far running within the base executor, chained after
the dApp built. Also the job got integrated into the default workflow to
test it while under development. Both will change in future when using
the integration executor and running nightly.
@weilbith weilbith force-pushed the feature/dapp-run-e2e-tests-in-ci-workflow branch from 013f5fa to 7190cd8 Compare October 5, 2020 12:54
@weilbith weilbith merged commit 9c5ef51 into raiden-network:master Oct 5, 2020
@weilbith weilbith deleted the feature/dapp-run-e2e-tests-in-ci-workflow branch October 5, 2020 13:09
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.

2 participants