refactor(Cypress): Init a version of the test exam with pure cypress (no Gherkin)
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user