Compare commits
2 Commits
8161e77c7a
...
39e48d11a5
Author | SHA1 | Date | |
---|---|---|---|
|
39e48d11a5 | ||
|
44450b918f |
@ -1 +1,6 @@
|
||||
{}
|
||||
{
|
||||
"baseUrl": "http://localhost:3000",
|
||||
"env" : {
|
||||
"logoutUrl": "/ok.html"
|
||||
}
|
||||
}
|
||||
|
25
cypress/fixtures/userSet.json
Normal file
25
cypress/fixtures/userSet.json
Normal file
@ -0,0 +1,25 @@
|
||||
[
|
||||
{
|
||||
"valid-admin": {
|
||||
"email": "adrian@trusk.com",
|
||||
"password": "adrian@trusk.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"invalid-admin": {
|
||||
"email": "adrian@trusk.com",
|
||||
"password": "adrian"
|
||||
}
|
||||
},
|
||||
{
|
||||
"unexisting-user": {
|
||||
"email": "adrian.pothuaud@trusk.com",
|
||||
"password": "badpassword"
|
||||
}
|
||||
},
|
||||
{
|
||||
"malformed-email": {
|
||||
"email": "adrian-trusk"
|
||||
}
|
||||
}
|
||||
]
|
@ -4,7 +4,7 @@ describe('Should allow valid user and block the rest', () => {
|
||||
|
||||
beforeEach(function() {
|
||||
// Changed theses should as required conditions to perform other tests
|
||||
cy.visit('http://localhost:3000')
|
||||
cy.visit('/')
|
||||
// title
|
||||
cy.title().should('eq', 'QA @ Trusk')
|
||||
// elements
|
||||
@ -63,6 +63,7 @@ describe('Should allow valid user and block the rest', () => {
|
||||
});
|
||||
|
||||
it.skip('Allow to disconnect a connected user', function() {
|
||||
// cy.visit("ok.html")
|
||||
// get back
|
||||
cy.contains('Retour').click()
|
||||
cy.title().should('eq', 'QA @ Trusk')
|
||||
|
Loading…
x
Reference in New Issue
Block a user