#8448 - devToTest #1254

Merged
alexm merged 365 commits from 8448-devToTest into test 2025-01-21 10:44:46 +00:00
2 changed files with 3 additions and 7 deletions
Showing only changes of commit efeb32fb28 - Show all commits

View File

@ -159,7 +159,7 @@ async function search() {
:placeholder="t(props.label)" :placeholder="t(props.label)"
dense dense
autofocus autofocus
data-cy="vnSearchBar" data-cy="vn-searchbar"
borderless borderless
> >
<template #append> <template #append>

View File

@ -250,15 +250,11 @@ Cypress.Commands.add('openLeftMenu', (element) => {
Cypress.Commands.add('clearSearchbar', (element) => { Cypress.Commands.add('clearSearchbar', (element) => {
if (element) cy.waitForElement(element); if (element) cy.waitForElement(element);
cy.get( cy.get('[data-cy="vn-searchbar"]').clear();
'#searchbar > form > div:nth-child(1) > label > div:nth-child(1) input'
).clear();
}); });
Cypress.Commands.add('writeSearchbar', (value) => { Cypress.Commands.add('writeSearchbar', (value) => {
cy.get('#searchbar > form > div:nth-child(1) > label > div:nth-child(1) input').type( cy.get('[data-cy="vn-searchbar"]').type(value);
value
);
}); });
Cypress.Commands.add('validateContent', (selector, expectedValue) => { Cypress.Commands.add('validateContent', (selector, expectedValue) => {