Skip to content

Commit

Permalink
chore: first batch of e2e fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lordrip committed Jan 10, 2025
1 parent 29087b1 commit cb2a5b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Cypress.Commands.add('editorAddText', (line, text) => {
Cypress.Commands.add('uploadFixture', (fixture) => {
cy.openSourceCode();
cy.waitForEditorToLoad();
cy.get('.pf-v6-c-code-editor__main > input').attachFile(fixture);
cy.get('.pf-v6-c-code-editor__main input[type="file"]').attachFile(fixture);

cy.get('.pf-v6-c-code-editor').should(($editor) => {
expect($editor.find('[data-uri^="inmemory://"]')).to.exist;
Expand Down

0 comments on commit cb2a5b4

Please sign in to comment.