Skip to content

appium test for keeping public keys updated#1321

Merged
sosnovsky merged 8 commits intomasterfrom
test/issue-1301
Jan 21, 2022
Merged

appium test for keeping public keys updated#1321
sosnovsky merged 8 commits intomasterfrom
test/issue-1301

Conversation

@fcvakintos
Copy link
Contributor

@fcvakintos fcvakintos commented Jan 20, 2022

…ce versa"

This PR contains new tests for "app updates older public keys to newer", added new screen for pubkey details, added new method for datahelper - convertDateToMsec, updated tests

close #1301


Tests

  • Tests added or updated

To be filled by reviewers

I have reviewed that this PR... (tick whichever items you personally focused on during this review):

  • addresses the issue it closes (if any)
  • code is readable and understandable
  • is accompanied with tests, or tests are not needed
  • is free of vulnerabilities
  • is documented clearly and usefully, or doesn't need documentation

@fcvakintos fcvakintos requested a review from sosnovsky as a code owner January 20, 2022 08:38
Copy link
Collaborator

@sosnovsky sosnovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now, just 1 small change needed

sosnovsky
sosnovsky previously approved these changes Jan 21, 2022
Copy link
Collaborator

@sosnovsky sosnovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sosnovsky sosnovsky enabled auto-merge (squash) January 21, 2022 13:26
Copy link
Collaborator

@tomholub tomholub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improvements, can be either here or in another PR.

Else looks good.

Comment on lines +58 to +61
oldSignatureDate: 'Jan 12, 2022 at 11:16:58 AM',//time for CI runs
newSignatureDate: 'Jan 12, 2022 at 11:27:20 AM',//time for CI runs
// oldSignatureDate: 'Jan 12, 2022 at 9:16:58 PM', //- for local run
// newSignatureDate: 'Jan 12, 2022 at 9:27:20 PM', // for local run
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not good. Can you make sure that tests always run the iOS app on UTC time, both locally and in CI?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it is a timezone issue

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course it is a timezone issue. Can you set in appium runner to run the iOS simulator on UTC timezone regardless of the timezone of the host? There must be settings for it.

@tomholub tomholub changed the title added new spec for "app updates older public keys to newer but not vi… appium test for keeping public keys updated Jan 21, 2022
@sosnovsky sosnovsky merged commit 0592cb8 into master Jan 21, 2022
@sosnovsky sosnovsky deleted the test/issue-1301 branch January 21, 2022 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ui test: app updates older public keys to newer but not vice versa

4 participants