No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. [v1] App Extensions
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • C

      Jest AE v2.2.0 and Cypress AE v3.0.0 released!
      • Callo

      1
      0
      Votes
      1
      Posts
      145
      Views

      No one has replied

    • Hawkeye64

      QMarkdown v1.4.1 has been released!
      • Hawkeye64

      1
      0
      Votes
      1
      Posts
      79
      Views

      No one has replied

    • C

      @quasar/testing (jest) components not registered when VueRouter not created
      • comteharbour

      3
      0
      Votes
      3
      Posts
      553
      Views

      A

      Hi, new to unit test so I lack some experience, I’m also struggling with router/q-page unit test, but seems I am able to not come across your problem, hoping will help.
      I set up the test starting from quasar doc for Jtest, so I have my "test\jest_tests_\App.spec where, this is the code ( I’ve deleted some test automatically generated by quasar cli );
      It seems I overcome your problem, still I’ve problems because using the real router instead a mock, router.js import fails because of the base dir.
      I’m look over it trying finding out how solve this problem.

      ==================
      App.spec.js

      import { mount, createLocalVue, shallowMount } from ‘@vue/test-utils’
      import QBUTTON from ‘./demo/QBtn-demo.vue’
      import * as All from ‘quasar’
      import VueRouter from ‘vue-router’
      import mypage from ‘…/…/…/src/pages/MyPage.vue’
      import routes from ‘…/…/…/src/router/routes.js’
      import App from ‘…/…/…/src/App.vue’
      // import langEn from ‘quasar/lang/en-us’ // change to any language you wish! => this breaks wallaby 😞
      const { Quasar } = All

      const components = Object.keys(All).reduce((object, key) => {
      const val = All[key]
      if (val && val.component && val.component.name != null) {
      object[key] = val
      }
      return object
      }, {})

      describe(‘Mount Quasar’, () => {
      const localVue = createLocalVue()
      localVue.use(Quasar, { components }) // , lang: langEn
      localVue.use(VueRouter)

      const wrapper = mount(QBUTTON, {
      localVue
      })
      const vm = wrapper.vm

      […]

      it(‘render MyPage via ruting’, () => {
      const router = new VueRouter({ routes })
      const wrapper = mount( App, { localVue, router })
      router.push(’/mypage’)
      expect(wrapper.findComponent(mypage).exists()).toBe(true)
      })
      })

      ====================
      router.js

      const routes = [
      {
      path: ‘/’,
      component: () => import(‘layouts/MainLayout.vue’),
      children: [
      { path: ‘’, component: () => import(‘pages/Index.vue’) },
      {
      path: ‘/mypage’,
      component: () => import(‘pages/MyPage.vue’)
      }
      ]
      },

      // Always leave this as last one,
      // but you can also remove it
      {
      path: ‘*’,
      component: () => import(‘pages/Error404.vue’)
      }
      ]

      export default routes

    • A

      communication between src to content script BEX
      • asaf097

      7
      0
      Votes
      7
      Posts
      524
      Views

      S

      @s-molinari i read your article and had to make some changes on toggleToolbar function and also in content-hooks to make it working. in content-hooks you used ( element.querySelector(’.r a h3’).innerText, ) when i inspect i found .r not valid which became “yuRUbf” so i changed it to element.querySelector(’.yuRUbf a h3’).innerText, and then its worked. you may check and update . thanks

    • P

      QMarkdown, feature request: collapsible
      • Pablo74

      2
      0
      Votes
      2
      Posts
      105
      Views

      dobbel

      @Pablo74

      You should post a feature request at the github repo:
      https://github.com/quasarframework/quasar-ui-qmarkdown

    • Hawkeye64

      QIconPicker v1.2.8 released!
      • Hawkeye64

      1
      0
      Votes
      1
      Posts
      98
      Views

      No one has replied

    • C

      QMediaPlayer - Is the RTSP protocol supported?
      • clwd

      2
      0
      Votes
      2
      Posts
      528
      Views

      Hawkeye64

      @clwd QMediaPlayer is an HTML5 player. If that can support RTSP, then yes, otherwise no. I have no looked into it myself.

      Based on this, it’s a technical yes by including protocol in the path: https://stackoverflow.com/questions/1735933/streaming-via-rtsp-or-rtp-in-html5

    • Hawkeye64

      QWindow v1.0.0-beta.7 released!
      • Hawkeye64

      1
      0
      Votes
      1
      Posts
      70
      Views

      No one has replied

    • Hawkeye64

      Anyone using QCalendar might have interest in this `discussion`
      • Hawkeye64

      1
      2
      Votes
      1
      Posts
      64
      Views

      No one has replied

    • Hawkeye64

      QCalendar v3.3.1 released!
      • Hawkeye64

      1
      0
      Votes
      1
      Posts
      72
      Views

      No one has replied

    • Hawkeye64

      QMarkdown v1.4.0 released!
      • Hawkeye64

      1
      0
      Votes
      1
      Posts
      75
      Views

      No one has replied

    • Hawkeye64

      QWindow v1.0.0-beta.6 released!
      • Hawkeye64

      1
      1
      Votes
      1
      Posts
      75
      Views

      No one has replied

    • Hawkeye64

      QMarkdown v1.3.1 has been released to fix a bug with line numbers
      • Hawkeye64

      1
      0
      Votes
      1
      Posts
      58
      Views

      No one has replied

    • Hawkeye64

      QMarkdown v1.3.0 has been released! Enjoy. :)
      • Hawkeye64

      1
      1
      Votes
      1
      Posts
      53
      Views

      No one has replied

    • Hawkeye64

      QCalendar v3.3.0 has been released!
      • Hawkeye64

      1
      0
      Votes
      1
      Posts
      64
      Views

      No one has replied

    • Hawkeye64

      QWindow v1.0.0-beta.5 has been released!
      • Hawkeye64

      1
      0
      Votes
      1
      Posts
      66
      Views

      No one has replied

    • Hawkeye64

      QMediaPlayer v1.1.4 has been released!
      • Hawkeye64

      1
      0
      Votes
      1
      Posts
      61
      Views

      No one has replied

    • Hawkeye64

      QCalendar v3.2.1 has been released!
      • Hawkeye64

      2
      0
      Votes
      2
      Posts
      94
      Views

      I

      Thank you!

    • Hawkeye64

      QWindow v1.0.0-beta.4 has been released!
      • Hawkeye64

      6
      2
      Votes
      6
      Posts
      136
      Views

      S

      Thanks ! The issue is easily reproduced if the bottom of the window is lower then bottom of the main layout (i.e. window must be a little bit outside of the layout).

    • Hawkeye64

      QCalendar v3.2.0 has been released!
      • Hawkeye64

      1
      0
      Votes
      1
      Posts
      64
      Views

      No one has replied