refactor(Cypress): Init a version of the test exam with pure cypress (no Gherkin)

This commit is contained in:
Simon Priet
2021-09-08 12:31:56 +02:00
parent 68acc2a949
commit 86a3ea7108
63 changed files with 6 additions and 4946 deletions

View File

@@ -26,25 +26,27 @@ context('The login page', () => {
});
/* describe("It send an SMS", function() {
describe("It send an SMS", function() {
it('Log the candidate user', function(){
cy.visit('/');
cy.get('#email').type("candidature-qa@example.org");
cy.get('#password').type("kHwWawhH5ADNuFb");
cy.get('#continueButton').click();
cy.mailosaurGetMessage(serverId, {
/*cy.mailosaurGetMessage(serverId, {
sentTo: smsNumber
}).as('sms');
}).as('sms'); */
cy.wait(10000).then(() => {
cy.get('#validateButton').click();
});
cy.visit("/request")
// should be on the inbox
});
});
*/
});
context("The inbox page", function() {