Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove fixtures and use Cypress for integration tests #48

Merged
merged 3 commits into from
Jan 23, 2019

Conversation

mwistrand
Copy link
Contributor

@mwistrand mwistrand commented Dec 7, 2018

  • Remove the fixtures and update the functional tests use Cypress
  • Update the test-app build to copy an index.html file that loads the build custom elements
  • Clean up the .gitignore
  • Add integration tests for the --legacy flag
  • Improve features logic

Resolves #46

@codecov
Copy link

codecov bot commented Dec 8, 2018

Codecov Report

Merging #48 into master will increase coverage by 0.08%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
+ Coverage   69.83%   69.91%   +0.08%     
==========================================
  Files           8        8              
  Lines         358      359       +1     
  Branches       62       62              
==========================================
+ Hits          250      251       +1     
  Misses        108      108
Impacted Files Coverage Δ
src/base.config.ts 31.42% <50%> (+0.99%) ⬆️

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 ef31537...4fe1da3. Read the comment docs.

@agubler
Copy link
Member

agubler commented Dec 17, 2018

@mwistrand looks like you have a failure on appveyor

- Remove the fixtures and update the functional tests use Cypress
- Update the test-app build to copy an index.html file that loads the
build custom elements
- Clean up the gitignore
- Add integration tests for the --legacy flag
- Improve `features` logic
@@ -88,7 +89,7 @@ export default function webpackConfigFactory(args: any): webpack.Configuration {
const jsonpIdent = args.element ? args.element.name : 'custom-elements';
const extensions = args.legacy ? ['.ts', '.tsx', '.js'] : ['.ts', '.tsx', '.mjs', '.js'];
const compilerOptions = args.legacy ? {} : { target: 'es6', module: 'esnext' };
const features = args.legacy ? args.features : ['chrome'];
const features = args.legacy ? args.features : { ...(args.features || {}), ...getFeatures('chrome') };
Copy link
Member

Choose a reason for hiding this comment

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

Ah this is actually modern now, missed updating this when I updated webpack-contrib

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Easily done here. Once CI passes I'll merge. Thanks!

Copy link
Member

@agubler agubler left a comment

Choose a reason for hiding this comment

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

One small comment that we can update as part of this or in a separate change 👍

@mwistrand mwistrand merged commit 46a292f into dojo:master Jan 23, 2019
@mwistrand mwistrand deleted the cypress branch January 23, 2019 17:30
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.

Use Cypress for functional tests
2 participants