Get help with testing, discuss unit testing strategies etc.


Post by mats »

Put a CSS class on your views and just use CSS selector waits:
    StartTest(function(t) {

        t.chain(
            {
                waitForSelector : 'label',
                desc    : 'Should find login view on app start'
            },

            function(next) {
                t.ok();
            }
        );
    })

Post by samaro »

Thanks!

Just to confirm, the only way the write tests on 3.4 is with CSS selectors?

We can't migrate our platform to ext js 4 or higher, do you know any other alternative or testing tool that might help?

Post by mats »

Just to confirm, the only way the write tests on 3.4 is with CSS selectors?
Yes, and it'll work completely fine actually. No need for any other testing tool.
"We can't migrate our platform to ext js 4 "
Why? Why would you run your business on an unsupported platform..?

Post by samaro »

I understand what you say, and i share your thoughts, but we have a lot of custom components, built based on the panel and grid on ext js 3, and from what i ve heard, the migration to ext js 4 or higher from ext 3 is very challenging :/

the problem with css selectors, is that it becomes quite difficult with all the ext js autogenerated CSS (we have menus, submenus, grids with subpanels etc)

Post Reply