Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !9811

Fix e2e docker tests fails on lerna publish and other test fixes

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/raix/fix-e2e-docker-tests-fails-on-lerna-publish-and-other-test-fixes into main 4 years ago
  • Overview 4
  • Commits 5
  • Pipelines 0
  • Changes 9

Created by: raix

This pull-request attempts to fix the e2e:docker test suite locally

  • Remove local packages from the local package registry (verdaccio) before publishing new packages with the same version should fix #6660
  • Make puppeteer run in the local docker image by using a custom development image (also configured for "development in docker" supported by vs code/github etc.) for better debugging options - puppeteer complained about missing X11lib
  • Prevent yarn e2e:docker to start running if git has untracked changes - this would cause the tests to fail at some point

Not in this pull-request is fixing test issues:

  • Have the local registry started in the development image and expose the port providing better means to debug
  • ModuleScopePlugin is triggered on local package like webpackHotDevClient in smoke tests, will be fixed in #9805
  • e2e-installs.sh last test Test when PnP is enabled is broken (at least locally)
Checking approval status

Closed by AdministratorAdministrator 2 years ago (Sep 14, 2022 7:47pm UTC) 2 years ago

Loading

Activity


  • Administrator
    Administrator @root · 4 years ago
    Author Contributor

    Created by: facebook-github-bot

    Hi @raix!

    Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.

    In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

    If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

  • Administrator
    Administrator @root · 4 years ago
    Author Contributor

    Created by: raix

    I just saw new errors on master that I don't have locally yet... I'll close this pull-request until master passes tests, to make sure I don't contribute to more issues in the test setup.

  • Administrator closed 4 years ago

    closed

  • Administrator reopened 4 years ago

    reopened

  • Administrator
    Administrator @root · 4 years ago
    Author Contributor

    Created by: raix

    @iansu This pull-request should fix e2e:docker and puppeteer locally (I guess also add support for github/vs code "development in docker") Not sure if it's the right time to make this change, I initially closed the pr because tests keep failing on CI for different reasons - seems like we are currently in a bad state?

    Would be nice to have all tests passing and block merges to master if they are not. (eg. when making this change and updating the project to webpack 5 I could only see my app working, but not if I was breaking any tests)

  • Administrator added CLA Signed label 4 years ago

    added CLA Signed label

  • Administrator
    Administrator @root · 4 years ago
    Author Contributor

    Created by: facebook-github-bot

    Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

  • Administrator added tag: internal label 4 years ago

    added tag: internal label

  • Administrator mentioned in issue #9994 (closed) 4 years ago

    mentioned in issue #9994 (closed)

  • Administrator mentioned in merge request !10217 (merged) 4 years ago

    mentioned in merge request !10217 (merged)

  • Administrator mentioned in merge request !11329 3 years ago

    mentioned in merge request !11329

  • Administrator changed milestone to %5.x 3 years ago

    changed milestone to %5.x

  • Administrator closed 2 years ago

    closed

Please register or sign in to reply
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
2
CLA Signed tag: internal
2
CLA Signed tag: internal
    Assign labels
  • Manage project labels

Milestone
5.x
5.x
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Administrator
Reference: facebook/create-react-app!9811
Source branch: github/fork/raix/fix-e2e-docker-tests-fails-on-lerna-publish-and-other-test-fixes

Menu

Explore Projects Groups Snippets