fix: refs #6695 e2e stockBought
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
cf851c3cb2
commit
95a8c0c3d0
|
@ -117,10 +117,22 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage('Up') {
|
||||
steps {
|
||||
// sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d db"
|
||||
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d back"
|
||||
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d front"
|
||||
parallel{
|
||||
stage('Database') {
|
||||
steps {
|
||||
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d vn-database"
|
||||
}
|
||||
}
|
||||
stage('Backend') {
|
||||
steps {
|
||||
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d back"
|
||||
}
|
||||
}
|
||||
stage('Frontend') {
|
||||
steps {
|
||||
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d front"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Run E2E') {
|
||||
|
|
|
@ -14,8 +14,9 @@ describe('EntryStockBought', () => {
|
|||
cy.addBtnClick();
|
||||
cy.get('input[aria-label="Reserve"]').type('1');
|
||||
cy.get('input[aria-label="Date"]').eq(1).clear();
|
||||
cy.get('input[aria-label="Date"]').eq(1).type('01-01');
|
||||
cy.get('input[aria-label="Buyer"]').type('buyerboss{downarrow}{enter}');
|
||||
cy.get('input[aria-label="Date"]').eq(1).type('01-01-2001');
|
||||
cy.selectOption('input[aria-label="Buyer"]', 'buyerboss');
|
||||
cy.get('#formModel button[title="Save"]').click();
|
||||
cy.get('.q-notification__message').should('have.text', 'Data created');
|
||||
});
|
||||
it('Should check detail for the buyer', () => {
|
||||
|
|
Loading…
Reference in New Issue