Skip to content

Commit

Permalink
adjust selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Zasa-san committed Jan 3, 2025
1 parent 08017e9 commit 432b9e0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions cypress/e2e/entity.cy.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable max-statements */
/* eslint-disable max-lines */
import { clearCookiesAndLogin } from './helpers/login';
import { changeLanguage } from './helpers/language';
Expand Down Expand Up @@ -257,13 +258,7 @@ describe('Entities', () => {
cy.get('.fa-file', { timeout: 5000 }).then(() => {
cy.get('.fa-file').realClick();
});
cy.contains(
'.create-reference li:nth-child(1) span:nth-child(2)',
'Relacionado a'
).scrollIntoView();
cy.contains('.create-reference li:nth-child(1) span:nth-child(2)', 'Relacionado a').click({
timeout: 5000,
});
cy.contains('.multiselectItem-name', 'Relacionado a').should('be.visible').realClick();
cy.get('aside.create-reference input').type('Patrick Robinson', { timeout: 5000 });
cy.contains('Tracy Robinson', { timeout: 5000 });
cy.contains('.item-name', 'Patrick Robinson', { timeout: 5000 }).click();
Expand Down

0 comments on commit 432b9e0

Please sign in to comment.