Skip to content

FindComponent returns WrapperLike with css selector #1195

@frisch-raphael

Description

@frisch-raphael

I'm trying to use findComponent with a css selector.
However, when I try to use trigger on it, it says that trigger does not exist.
Is there something I'm missing ?

image

Here's my package.json:

  "dependencies": {
    "@quasar/extras": "^1.0.0",
    "@vue/test-utils": "^2.0.0-rc.18",
    "axios": "^0.21.4",
    "core-js": "^3.6.5",
    "qrcode": "^1.5.0",
    "quasar": "^2.0.0",
    "vuex": "^4.0.2"
  },
  "devDependencies": {
    "@babel/eslint-parser": "^7.13.14",
    "@quasar/app": "^3.0.0",
    "@quasar/quasar-app-extension-testing": "^2.0.1",
    "@quasar/quasar-app-extension-testing-e2e-cypress": "^4.0.0-beta.8",
    "@quasar/quasar-app-extension-testing-unit-jest": "^3.0.0-alpha.7",
    "@types/faker": "^5.5.9",
    "@types/jest": "^26.0.14",
    "@types/node": "^12.20.21",
    "@typescript-eslint/eslint-plugin": "^4.16.1",
    "@typescript-eslint/parser": "^4.16.1",
    "babel-jest": "^26.5.6",
    "eslint": "^7.14.0",
    "eslint-config-prettier": "^8.1.0",
    "eslint-plugin-cypress": "^2.11.3",
    "eslint-plugin-jest": "^25.2.2",
    "eslint-plugin-vue": "^7.0.0",
    "faker": "^5.5.3",
    "jest": "^26.5.6",
    "ts-jest": "^26.5.6",
    "typescript": "^4.3.5",
    "vue-jest": "^5.0.0-alpha.10"
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions