Compare commits
No commits in common. "bc6e1bc12e11b9bd68f5da4fd0f2b1e01e75cd7a" and "d9226abf8541b316de39c8a0971fea6d7d8e300a" have entirely different histories.
bc6e1bc12e
...
d9226abf85
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -6,7 +6,7 @@
|
|||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "Test Cypress via NPM",
|
"name": "Test Cypress via NPM",
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}/cypress_app",
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"runtimeExecutable": "npm",
|
"runtimeExecutable": "npm",
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"baseUrl": "https://app.post-prod.lifen.fr"
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"login": "candidature-qa@example.org",
|
|
||||||
"mdp": "kHwWawhH5ADNuFb",
|
|
||||||
"phone": "0643779588"
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
/// <reference types="cypress" />
|
|
||||||
context('The login page', () => {
|
|
||||||
|
|
||||||
describe('Test the login page', () => {
|
|
||||||
|
|
||||||
it('Access the webpage', function() {
|
|
||||||
cy.visit('/');
|
|
||||||
cy.get('#email').should("have.attr", "type", "email");
|
|
||||||
cy.get('#password').should("have.attr", "type", "password");
|
|
||||||
//cy.get('#password').type(mdp);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('Log an invalid email', function() {
|
|
||||||
cy.visit('/');
|
|
||||||
cy.get('#email').type("not an email");
|
|
||||||
cy.get('#password').type("somepasseword {enter}");
|
|
||||||
cy.url().should('include', 'login?');
|
|
||||||
});
|
|
||||||
|
|
||||||
it('Log an unexisting user', function() {
|
|
||||||
cy.visit('/');
|
|
||||||
cy.get('#email').type("toto@yopmail.com");
|
|
||||||
cy.get('#password').type("somepasseword {enter}");
|
|
||||||
cy.get('#error-message').should("have.class", "alert alert-danger").should("be.visible");
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
describe("It send an SMS", function() {
|
|
||||||
it('Log the candidate user', function(){
|
|
||||||
cy.visit('/login');
|
|
||||||
cy.get('#email').type("candidature-qa@example.org");
|
|
||||||
cy.get('#password').type("kHwWawhH5ADNuFb");
|
|
||||||
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
context("The inbox page", function() {
|
|
||||||
describe("", function() {
|
|
||||||
|
|
||||||
it("It load the inbox page of a valid user");
|
|
||||||
|
|
||||||
it("It checks for messages in the inbox");
|
|
||||||
|
|
||||||
it("Open the message for data that has been injected previously");
|
|
||||||
|
|
||||||
});
|
|
||||||
});
|
|
5
cypress_app/cypress/fixtures/example.json
Normal file
5
cypress_app/cypress/fixtures/example.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "Using fixtures to represent data",
|
||||||
|
"email": "hello@cypress.io",
|
||||||
|
"body": "Fixtures are a great way to mock data for responses to routes"
|
||||||
|
}
|
0
node_modules/.bin/cypress → cypress_app/node_modules/.bin/cypress
generated
vendored
0
node_modules/.bin/cypress → cypress_app/node_modules/.bin/cypress
generated
vendored
0
node_modules/.bin/extract-zip → cypress_app/node_modules/.bin/extract-zip
generated
vendored
0
node_modules/.bin/extract-zip → cypress_app/node_modules/.bin/extract-zip
generated
vendored
0
node_modules/.bin/is-ci → cypress_app/node_modules/.bin/is-ci
generated
vendored
0
node_modules/.bin/is-ci → cypress_app/node_modules/.bin/is-ci
generated
vendored
0
node_modules/.bin/node-which → cypress_app/node_modules/.bin/node-which
generated
vendored
0
node_modules/.bin/node-which → cypress_app/node_modules/.bin/node-which
generated
vendored
0
node_modules/.bin/rimraf → cypress_app/node_modules/.bin/rimraf
generated
vendored
0
node_modules/.bin/rimraf → cypress_app/node_modules/.bin/rimraf
generated
vendored
0
node_modules/.bin/sshpk-conv → cypress_app/node_modules/.bin/sshpk-conv
generated
vendored
0
node_modules/.bin/sshpk-conv → cypress_app/node_modules/.bin/sshpk-conv
generated
vendored
0
node_modules/.bin/sshpk-sign → cypress_app/node_modules/.bin/sshpk-sign
generated
vendored
0
node_modules/.bin/sshpk-sign → cypress_app/node_modules/.bin/sshpk-sign
generated
vendored
0
node_modules/.bin/sshpk-verify → cypress_app/node_modules/.bin/sshpk-verify
generated
vendored
0
node_modules/.bin/sshpk-verify → cypress_app/node_modules/.bin/sshpk-verify
generated
vendored
0
node_modules/.bin/uuid → cypress_app/node_modules/.bin/uuid
generated
vendored
0
node_modules/.bin/uuid → cypress_app/node_modules/.bin/uuid
generated
vendored
0
node_modules/@cypress/xvfb/LICENSE → cypress_app/node_modules/@cypress/xvfb/LICENSE
generated
vendored
0
node_modules/@cypress/xvfb/LICENSE → cypress_app/node_modules/@cypress/xvfb/LICENSE
generated
vendored
0
node_modules/@types/node/LICENSE → cypress_app/node_modules/@types/node/LICENSE
generated
vendored
0
node_modules/@types/node/LICENSE → cypress_app/node_modules/@types/node/LICENSE
generated
vendored
0
node_modules/@types/node/README.md → cypress_app/node_modules/@types/node/README.md
generated
vendored
0
node_modules/@types/node/README.md → cypress_app/node_modules/@types/node/README.md
generated
vendored
0
node_modules/@types/node/dns.d.ts → cypress_app/node_modules/@types/node/dns.d.ts
generated
vendored
0
node_modules/@types/node/dns.d.ts → cypress_app/node_modules/@types/node/dns.d.ts
generated
vendored
0
node_modules/@types/node/fs.d.ts → cypress_app/node_modules/@types/node/fs.d.ts
generated
vendored
0
node_modules/@types/node/fs.d.ts → cypress_app/node_modules/@types/node/fs.d.ts
generated
vendored
0
node_modules/@types/node/http.d.ts → cypress_app/node_modules/@types/node/http.d.ts
generated
vendored
0
node_modules/@types/node/http.d.ts → cypress_app/node_modules/@types/node/http.d.ts
generated
vendored
0
node_modules/@types/node/net.d.ts → cypress_app/node_modules/@types/node/net.d.ts
generated
vendored
0
node_modules/@types/node/net.d.ts → cypress_app/node_modules/@types/node/net.d.ts
generated
vendored
0
node_modules/@types/node/os.d.ts → cypress_app/node_modules/@types/node/os.d.ts
generated
vendored
0
node_modules/@types/node/os.d.ts → cypress_app/node_modules/@types/node/os.d.ts
generated
vendored
0
node_modules/@types/node/path.d.ts → cypress_app/node_modules/@types/node/path.d.ts
generated
vendored
0
node_modules/@types/node/path.d.ts → cypress_app/node_modules/@types/node/path.d.ts
generated
vendored
0
node_modules/@types/node/repl.d.ts → cypress_app/node_modules/@types/node/repl.d.ts
generated
vendored
0
node_modules/@types/node/repl.d.ts → cypress_app/node_modules/@types/node/repl.d.ts
generated
vendored
0
node_modules/@types/node/tls.d.ts → cypress_app/node_modules/@types/node/tls.d.ts
generated
vendored
0
node_modules/@types/node/tls.d.ts → cypress_app/node_modules/@types/node/tls.d.ts
generated
vendored
0
node_modules/@types/node/tty.d.ts → cypress_app/node_modules/@types/node/tty.d.ts
generated
vendored
0
node_modules/@types/node/tty.d.ts → cypress_app/node_modules/@types/node/tty.d.ts
generated
vendored
0
node_modules/@types/node/url.d.ts → cypress_app/node_modules/@types/node/url.d.ts
generated
vendored
0
node_modules/@types/node/url.d.ts → cypress_app/node_modules/@types/node/url.d.ts
generated
vendored
0
node_modules/@types/node/util.d.ts → cypress_app/node_modules/@types/node/util.d.ts
generated
vendored
0
node_modules/@types/node/util.d.ts → cypress_app/node_modules/@types/node/util.d.ts
generated
vendored
0
node_modules/@types/node/v8.d.ts → cypress_app/node_modules/@types/node/v8.d.ts
generated
vendored
0
node_modules/@types/node/v8.d.ts → cypress_app/node_modules/@types/node/v8.d.ts
generated
vendored
0
node_modules/@types/node/vm.d.ts → cypress_app/node_modules/@types/node/vm.d.ts
generated
vendored
0
node_modules/@types/node/vm.d.ts → cypress_app/node_modules/@types/node/vm.d.ts
generated
vendored
0
node_modules/@types/node/wasi.d.ts → cypress_app/node_modules/@types/node/wasi.d.ts
generated
vendored
0
node_modules/@types/node/wasi.d.ts → cypress_app/node_modules/@types/node/wasi.d.ts
generated
vendored
0
node_modules/@types/node/zlib.d.ts → cypress_app/node_modules/@types/node/zlib.d.ts
generated
vendored
0
node_modules/@types/node/zlib.d.ts → cypress_app/node_modules/@types/node/zlib.d.ts
generated
vendored
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user