test
tt-app/app/Saga There was a failure building this commit

This commit is contained in:
2019-09-20 14:56:36 +02:00
parent a960426a6d
commit cf7d4fc6bc
14 changed files with 30 additions and 4 deletions
+6
View File
@@ -31,3 +31,9 @@ is a library that aims to make application side effect asynchronous things like
[Gmail-tester]
https://github.com/levz0r/gmail-tester
## Jenkins
>in case of emergency
make docker-restart ENV=dev
@@ -4,6 +4,7 @@ describe('RegisterTest', function() {
before(function(){
cy.exec('yarn dropAndCreateDB',{failOnNonZeroExit: false});
cy.exec('yarn add cypress',{failOnNonZeroExit: false});
})
it('Test if Register works', function() {
cy.viewport(375, 667)
+6 -4
View File
@@ -12,11 +12,11 @@ describe('Apply to an offer', function() {
cy.get('.cypButtonConnexion').click().wait(3000)
cy.get('.cypButtonOffers').click()
cy.get('.cypButtonOffers').click().wait(3000)
cy.url().should('contain', 'Offres')
cy.get('.cypCardOffre').first().click()
cy.get('.cypCardOffre').first().click().wait(3000)
cy.url().should('contain', 'Offre')
cy.get('.cypButtonApply').first().click()
cy.get('.cypButtonApply').first().click().wait(3000)
cy.url().should('contain', 'Reponse')
cy.fixture('cypVid.mov', 'base64').then(fileContent => {
@@ -24,6 +24,8 @@ describe('Apply to an offer', function() {
{ fileContent, fileName: 'cypVid.mov', mimeType: 'video/quicktime', encoding: 'base64' },
{ subjectType: 'input', force: true }
)}).wait(3000)
cy.get('.cypButtonSendApplication').click()
cy.get('.cypButtonSendApplication').click().wait(3000)
})
//Should verify if application is received
})
@@ -0,0 +1,17 @@
describe('test_name', function() {
it('what_it_does', function() {
cy.viewport(1536, 674)
cy.visit('http://localhost:8000/')
cy.get('.MuiList-root > div > .jss56:nth-child(1) > .MuiListItemText-root > .MuiTypography-root').click()
cy.get('.MuiList-root > div > .jss56:nth-child(2) > .MuiListItemText-root > .MuiTypography-root').click()
cy.get('.MuiList-root > div > .jss56:nth-child(3) > .MuiListItemText-root > .MuiTypography-root').click()
})
})
Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.