some more fixing id700747

This commit is contained in:
pavloburykh 2022-03-30 15:28:44 +03:00
parent 214ce62d4d
commit 6a31dc7aa7
No known key found for this signature in database
GPG Key ID: 11D9383A6FB7F1D8
1 changed files with 4 additions and 4 deletions

View File

@ -187,14 +187,14 @@ class TestOnboardingOneDeviceMerged(MultipleSharedDeviceTestCase):
error = "Can create multiaccount when" error = "Can create multiaccount when"
self.sign_in.just_fyi('Checking case when %s' % cases[0]) self.sign_in.just_fyi('Checking case when %s' % cases[0])
self.sign_in.create_password_input.send_keys('12345678') self.sign_in.create_password_input.send_keys('12345677')
self.sign_in.next_button.click() self.sign_in.next_button.click()
if self.sign_in.maybe_later_button.is_element_displayed(10): if self.sign_in.maybe_later_button.is_element_displayed(10):
self.driver.fail('%s %s' % (error, cases[0])) self.driver.fail('%s %s' % (error, cases[0]))
self.sign_in.just_fyi('Checking case when %s' % cases[1]) self.sign_in.just_fyi('Checking case when %s' % cases[1])
self.sign_in.create_password_input.send_keys('12345677') self.sign_in.create_password_input.send_keys('1234566')
[field.send_keys('12345677') for field in (self.sign_in.create_password_input, self.sign_in.confirm_your_password_input)] [field.send_keys('1234566') for field in (self.sign_in.create_password_input, self.sign_in.confirm_your_password_input)]
self.sign_in.confirm_your_password_input.delete_last_symbols(1) self.sign_in.confirm_your_password_input.delete_last_symbols(1)
self.sign_in.create_password_input.delete_last_symbols(1) self.sign_in.create_password_input.delete_last_symbols(1)
self.sign_in.next_button.click() self.sign_in.next_button.click()
@ -203,7 +203,7 @@ class TestOnboardingOneDeviceMerged(MultipleSharedDeviceTestCase):
self.sign_in.just_fyi("Checking case %s" % cases[2]) self.sign_in.just_fyi("Checking case %s" % cases[2])
self.sign_in.create_password_input.send_keys('12345654') self.sign_in.create_password_input.send_keys('12345654')
self.sign_in.confirm_your_password_input.send_keys('12345678') self.sign_in.confirm_your_password_input.send_keys('12345677')
if not self.sign_in.element_by_translation_id("password_error1").is_element_displayed(): if not self.sign_in.element_by_translation_id("password_error1").is_element_displayed():
self.errors.append("'%s' is not shown" % self.sign_in.get_translation_by_key("password_error1")) self.errors.append("'%s' is not shown" % self.sign_in.get_translation_by_key("password_error1"))
self.sign_in.create_password_input.set_value(common_password) self.sign_in.create_password_input.set_value(common_password)