Esempio n. 1
0
 private void CreatePinCode(LionLockPinCode newSecret)
 {
     _browser.Link(Find.ByText("Pin Code")).Click();
     _browser.TextField(Find.ById("SecretName")).Value = newSecret.SecretName;
     _browser.TextField(Find.ById("Items_0__Value")).Value = newSecret.PinCode;
     _browser.TextField(Find.ById("Items_1__Value")).Value = newSecret.Notes;
 }
Esempio n. 2
0
 private void ConvertPin(Secret secret)
 {
     var newSecret = new LionLockPinCode(new SecretServerPin(secret));
     CreatePinCode(newSecret);
 }
Esempio n. 3
0
 private void ConvertRewardsCard(Secret secret)
 {
     var newSecret = new LionLockPinCode(new SecretServerRewardsCard(secret));
     CreatePinCode(newSecret);
 }
Esempio n. 4
0
 private void ConvertLibraryCard(Secret secret)
 {
     var newSecret = new LionLockPinCode(new SecretServerLibraryCard(secret));
     CreatePinCode(newSecret);
 }