8000 installExtensionFromFileUpload not working · Issue #17 · joomla-projects/joomla-cypress · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
installExtensionFromFileUpload not working #17
Closed
@muhme

Description

@muhme

installExtensionFromFileUpload() does not work, at least not for Joomla 4.4.5-dev on macOS

for line document.getElementById('legacy-uploader').classList.remove('hidden')

🔴 cypress error Cannot read properties of null (reading 'classList')

waiting for the element to be present, works in this environment:

cy.get('#legacy-uploader').should('exist').then(($uploader) => {
    if ($uploader) {
        cy.get('#legacy-uploader').invoke('removeClass', 'hidden');
     }
});

I will use this in manual-examples first and come back later with tested PR here

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

      0