#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)"
dense
autofocus
data-cy="vnSearchBar"
data-cy="vn-searchbar"
borderless
>
<template #append>

View File

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