#8220 created items e2e #1039

Merged
jon merged 26 commits from 8220-ItemsE2E into dev 2025-01-07 12:50:36 +00:00
6 changed files with 6 additions and 7 deletions
Showing only changes of commit a2b3a493fd - Show all commits

View File

@ -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', () => {

View File

@ -4,7 +4,7 @@ describe('Item botanical', () => {
cy.viewport(1920, 1080);
cy.login('developer');
cy.visit(`/#/item/list`);
jon marked this conversation as resolved Outdated
Outdated
Review

Pots ficar item/1/botanical i ja no cal posar cy.get('[href="#/item/1/botanical"]').click();

Pots ficar `item/1/botanical` i ja no cal posar cy.get('[href="#/item/1/botanical"]').click();
cy.get('#searchbar input').type('1{enter}');
cy.typeSearchbar('1{enter}');
});
it('should modify the botanical', () => {

View File

@ -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', () => {

View File

@ -4,7 +4,7 @@ describe('Item summary', () => {
cy.viewport(1920, 1080);
cy.login('developer');
cy.visit(`/#/item/list`);
jon marked this conversation as resolved Outdated
Outdated
Review

Aci igual pots ficar item/1/summary

Aci igual pots ficar item/1/summary
cy.get('#searchbar input').type('1{enter}');
cy.typeSearchbar('1{enter}');
});
it('should clone the item', () => {

View File

@ -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();

View File

@ -4,7 +4,7 @@ describe('Item tax', () => {
cy.viewport(1920, 1080);
cy.login('developer');
cy.visit(`/#/item/list`);
jon marked this conversation as resolved Outdated
Outdated
Review

aci item/1/tax

aci item/1/tax
cy.get('#searchbar input').type('1{enter}');
cy.typeSearchbar('1{enter}');
});
it('should modify the tax for Spain', () => {