perf: refs #8220 use searchbar selector in e2e tests
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
292171348c
commit
a2b3a493fd
|
@ -4,7 +4,7 @@ describe('Item shelving', () => {
|
|||
cy.viewport(1920, 1080);
|
||||
cy.login('developer');
|
||||
cy.visit(`/#/item/list`);
|
||||
cy.get('#searchbar input').type('1{enter}');
|
||||
cy.typeSearchbar('1{enter}');
|
||||
});
|
||||
|
||||
it('should throw an error if the barcode exists', () => {
|
||||
|
|
|
@ -4,7 +4,7 @@ describe('Item botanical', () => {
|
|||
cy.viewport(1920, 1080);
|
||||
cy.login('developer');
|
||||
cy.visit(`/#/item/list`);
|
||||
cy.get('#searchbar input').type('1{enter}');
|
||||
cy.typeSearchbar('1{enter}');
|
||||
});
|
||||
|
||||
it('should modify the botanical', () => {
|
||||
|
|
|
@ -5,7 +5,7 @@ describe('Item list', () => {
|
|||
cy.viewport(1920, 1080);
|
||||
cy.login('developer');
|
||||
cy.visit(`/#/item/list`);
|
||||
cy.get('#searchbar input').type('{enter}');
|
||||
cy.typeSearchbar('{enter}');
|
||||
});
|
||||
|
||||
it('should filter the items and redirect to the summary', () => {
|
||||
|
|
|
@ -4,7 +4,7 @@ describe('Item summary', () => {
|
|||
cy.viewport(1920, 1080);
|
||||
cy.login('developer');
|
||||
cy.visit(`/#/item/list`);
|
||||
cy.get('#searchbar input').type('1{enter}');
|
||||
cy.typeSearchbar('1{enter}');
|
||||
});
|
||||
|
||||
it('should clone the item', () => {
|
||||
|
|
|
@ -4,10 +4,9 @@ describe('Item tag', () => {
|
|||
cy.viewport(1920, 1080);
|
||||
cy.login('developer');
|
||||
cy.visit(`/#/item/list`);
|
||||
cy.get('#searchbar input').type('1{enter}');
|
||||
cy.typeSearchbar('1{enter}');
|
||||
});
|
||||
|
||||
// falla la notificacion
|
||||
it('should throw an error adding an existent tag', () => {
|
||||
cy.get('[href="#/item/1/tags"]').click();
|
||||
cy.get('.q-page-sticky > div').click();
|
||||
|
|
|
@ -4,7 +4,7 @@ describe('Item tax', () => {
|
|||
cy.viewport(1920, 1080);
|
||||
cy.login('developer');
|
||||
cy.visit(`/#/item/list`);
|
||||
cy.get('#searchbar input').type('1{enter}');
|
||||
cy.typeSearchbar('1{enter}');
|
||||
});
|
||||
|
||||
it('should modify the tax for Spain', () => {
|
||||
|
|
Loading…
Reference in New Issue