perf: refs #8193 e2e
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jon Elias 2025-03-18 13:48:44 +01:00
parent 9bf1f74061
commit c1964dc16e
1 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,7 @@ describe('VnNotes', () => {
beforeEach(() => { beforeEach(() => {
cy.viewport(1920, 1080); cy.viewport(1920, 1080);
cy.login('developer'); cy.login('developer');
cy.visit('#/customer/1101/notes'); cy.visit('#/customer/1102/notes');
}); });
it('should add and filter notes', () => { it('should add and filter notes', () => {
@ -15,9 +15,10 @@ describe('VnNotes', () => {
cy.get('.column.full-width') cy.get('.column.full-width')
.children() .children()
.each(($el) => { .each(($el) => {
cy.wrap($el) cy.dataCy('VnNotes-observation-type-badge').should(
.find('[data-cy="VnNotes-observation-type-badge"]') 'include.text',
.should('include.text', obervationType); obervationType,
);
}); });
}); });
}); });