What should I do, if I want to upload a file, when the type=button
and this button on a pop-up? Even using the xpath find by cypress helper, I can't upload a file:
cy.contains('点击上传').attachFile(filename,{ force: true })
cy.get('.el-upload > .el-button > span').attachFile(filename)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…