Merge branch 'dev' into 6695-fix_CHANGE_TARGET
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
This commit is contained in:
commit
073ab3a1d4
|
@ -1,5 +1,5 @@
|
||||||
/// <reference types="cypress" />
|
/// <reference types="cypress" />
|
||||||
describe('Client list', () => {
|
describe.skip('Client list', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.viewport(1280, 720);
|
cy.viewport(1280, 720);
|
||||||
cy.login('developer');
|
cy.login('developer');
|
||||||
|
|
|
@ -112,7 +112,7 @@ function selectItem(selector, option, ariaControl, hasWrite = true) {
|
||||||
.find((item) => item.innerText.includes(option));
|
.find((item) => item.innerText.includes(option));
|
||||||
if (matchingItem) return cy.wrap(matchingItem).click();
|
if (matchingItem) return cy.wrap(matchingItem).click();
|
||||||
|
|
||||||
if (hasWrite) cy.get(selector).clear().type(option, { delay: 0 });
|
if (hasWrite) cy.get(selector).clear().type(option);
|
||||||
return selectItem(selector, option, ariaControl, false);
|
return selectItem(selector, option, ariaControl, false);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue