diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b576caa..22718fc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -39,7 +39,7 @@ If you are working on the CLI, you will need: Here are some folders that worth noticing: * `package` contains the code for the web version and the browser extension. Development is done with `javascript` and `Vue`. - * `lesspass-pure` contains the core of `lesspass`. Running `yarn dev` in this folder will run a `lesspass` instance locally. + * `lesspass-pure` contains the core of `lesspass`. Running `yarn start` in this folder will run a `lesspass` instance locally. * `lesspass-web-extension` contains the code specific for the web extension. * `lesspass-render-password` contains the algorithm to generate passwords. * `cli` contains the command line version. Development is done with `python`. diff --git a/packages/lesspass-pure/cypress/integration/connectedMode.spec.js b/packages/lesspass-pure/cypress/integration/connectedMode.spec.js index e87ce66..93ad149 100644 --- a/packages/lesspass-pure/cypress/integration/connectedMode.spec.js +++ b/packages/lesspass-pure/cypress/integration/connectedMode.spec.js @@ -5,10 +5,9 @@ describe("Connected Mode", function() { cy.get(".fa-sign-in").click(); cy.get("#email").type("test@lesspass.com"); cy.get("#passwordField").type("test@lesspass.com"); - cy.get("#encryptMasterPassword__btn").click(); - cy.get("#fingerprint .fa-university").should("be.visible"); - cy.get("#fingerprint .fa-btc").should("be.visible"); + cy.get("#fingerprint .fa-cutlery").should("be.visible"); cy.get("#fingerprint .fa-subway").should("be.visible"); + cy.get("#fingerprint .fa-plane").should("be.visible"); cy.get("#signInButton").click(); cy.wait(500); cy.get("#siteField").type("lesspass.com"); @@ -22,7 +21,7 @@ describe("Connected Mode", function() { .click(); cy.get("#signOutButton").should("be.visible"); cy.get("#signOutButton").click(); - cy.get(".fa-save").should('not.exist'); + cy.get(".fa-save").should("not.exist"); }); it("can log in and log out", function() { cy.visit("/"); @@ -31,7 +30,6 @@ describe("Connected Mode", function() { cy.get("#baseURL").should("have.value", "https://lesspass.com"); cy.get("#email").type("test@lesspass.com"); cy.get("#passwordField").type("test@lesspass.com"); - cy.get("#encryptMasterPassword__btn").click(); cy.wait(1000); cy.get("#signInButton").click(); cy.get("#siteField").should("be.visible"); @@ -40,7 +38,7 @@ describe("Connected Mode", function() { .first() .click(); cy.get("#signOutButton").click(); - cy.get(".fa-key").should('not.exist'); + cy.get(".fa-key").should("not.exist"); }); it("reset password page", function() { cy.visit("/"); @@ -56,7 +54,6 @@ describe("Connected Mode", function() { cy.get("#baseURL").should("have.value", "https://lesspass.com"); cy.get("#email").type("test@lesspass.com"); cy.get("#passwordField").type("test@lesspass.com"); - cy.get("#encryptMasterPassword__btn").click(); cy.wait(500); cy.get("#signInButton").click(); cy.get(".fa-key").click(); diff --git a/packages/lesspass-pure/src/components/MasterPassword.vue b/packages/lesspass-pure/src/components/MasterPassword.vue index 417fe31..1f131c0 100644 --- a/packages/lesspass-pure/src/components/MasterPassword.vue +++ b/packages/lesspass-pure/src/components/MasterPassword.vue @@ -33,26 +33,45 @@ v-on:input="updateValue($event.target.value)" v-on:keyup.enter="$emit('keyupEnter')" /> - + - + +
+ + +
+